<html>
<head>
<title>topology</title>
<link rel="stylesheet" type="text/css" href="../style.css">
</head>
<body>
<div class="section"><h1>topology</h1></div>

<div class="section">
  <code>
    Usage: ./selsuccess &lt;run&gt; [&lt;filename&gt; &lt;combos&gt; &lt;host&gt; &lt;user&gt; &lt;pass&gt; &lt;db&gt; &lt;outputdb&gt;]
  </code>
  <p>
    This tool creates a graph in a PostScript file as part of a PLUM run. The graph is a bar graph, with bars for each rack that was selectable. The height of the bars is proportional to the number of successful combinations the rack was selected in, at the 50% point (the 50% point is the point where closest to half of the combinations were successful).
  </p>
  <p>
    Also in this graph, on a second page, is a table with data detailing what percentage of each resource was used by each international partner, as well as a list of all the racks that could not be selected in this run.
  </p>
  <p>
    The program will generate a second file containing all the combinations selected at the 50% point for this run, in a tab-separated values format, if you ask it to.
  </p>
  <p>
    Parameters:
    <ul>
      <li>
	<b>filename:</b>
	The filename to put the graph in.
      </li>
      <li>
	<b>combos:</b>
	The filename to put the selected combos in.
      </li>
      <li>
	<b>host:</b>
	The machine the database server is running on.
      </li>
      <li>
	<b>user:</b>
	The username for the database server.
      </li>
      <li>
	<b>pass:</b>
	The password for the database server.
      </li>
      <li>
	<b>db:</b>
	The name of the database containing the rack data.
      </li>
      <li>
	<b>outputdb:</b>
	The name of the database that is being used for PLUM run output.
      </li>
    </ul>
  </p>

</div>

<div class="section">
<img src="../img/nasa.jpg">
</div>
</body>
</html>
