<div id="api_guide">
  <h1>Kidney allocation server builds</h1>

  <ul id="versions">
    <li class="release">
      <h2>Version 0.0.9</h2>

      <h3 class="build_subheader">Changes</h3>
      <ol class="numbered">
        <li>Updated to new optimality criteria for altruistic donors - i.e. we no longer maximise the number of
        altruistic donors, see <%= link_to("optimality criteria", {:controller => :api, :action => :optimality}) %> for
        more details</li>
        <li>Edges from recipients to altruistic donors will have total weight of 0, that is, the age points score
        and the tie-breaker score will now both be 0 on an edge of this type
        e.g. for such an edge the xml will now be <code>&lt;tb&gt;0.00000&lt;/tb&gt;&lt;dif&gt;0&lt;/dif&gt;</code></li>
        <li>Group ids now start from 1 rather than 0</li>
        <li>Version of the server running is now displayed on the bottom right of each page of the web UI</li>
        <li>About link at the top of the page now points to these release notes</li>
      </ol>

      <h3 class="build_subheader">Downloads</h3>
      <ul>
        <li><%= link_to "Solaris", url_for("/builds/kidney-solaris-0.0.9.tar.gz") %></li>
        <li><%= link_to "Linux", url_for("/builds/kidney-linux-0.0.9.tgz") %></li>
        <li><%= link_to "Windows", url_for("/builds/kidney-windows-0.0.9.zip") %></li>
      </ul>
    </li>

    <li class="release">
      <h2>Version 0.0.8</h2>

      <h3 class="build_subheader">Changes</h3>
      <ol class="numbered">
        <li>Update to force the altruistic donor in the altruistic chain to appear first in the list</li>
      </ol>

      <h3 class="build_subheader">Downloads</h3>
      <ul>
        <li><%= link_to "Solaris", url_for("/builds/kidney-solaris-0.0.8.tar.gz") %></li>
        <li><%= link_to "Linux", url_for("/builds/kidney-linux-0.0.8.tgz") %></li>
        <li><%= link_to "Windows", url_for("/builds/kidney-windows-0.0.8.zip") %></li>
      </ul>
    </li>

    <li class="release">
      <h2>Version 0.0.7</h2>

      <h3 class="build_subheader">Changes</h3>
      <ol class="numbered">
        <li>Replaced donor-to-donor age difference with donor-to-donor age difference points in the output data</li>
        <li>Added the score passed into the algorithms back out with the output data</li>
      </ol>

      <h3 class="build_subheader">Downloads</h3>
      <ul>
        <li><%= link_to "Solaris", url_for("/builds/kidney-solaris-0.0.7.tar.gz") %></li>
        <li><%= link_to "Linux", url_for("/builds/kidney-linux-0.0.7.tgz") %></li>
        <li><%= link_to "Windows", url_for("/builds/kidney-windows-0.0.7.zip") %></li>
      </ul>
    </li>

    <li class="release">
      <h2>Version 0.0.6</h2>

      <h3 class="build_subheader">Changes</h3>
      <ol class="numbered">
        <li>Added tie breaker calculation and donor-to-donor age difference to output data</li>
        <li>Added documentation for deploying to Solaris 10 -- <%= link_to "deployment guide", {:controller => "build", :action => "deploy"} %></li>
      </ol>

      <h3 class="build_subheader">Downloads</h3>
      <ul>
        <li><%= link_to "Solaris", url_for("/builds/kidney-solaris-0.0.6.tar.gz") %></li>
        <li><%= link_to "Linux", url_for("/builds/kidney-linux-0.0.6.tgz") %></li>
        <li><%= link_to "Windows", url_for("/builds/kidney-windows-0.0.6.zip") %></li>
      </ul>
    </li>

    <li class="release">
      <h2>Version 0.0.5</h2>

      <h3 class="build_subheader">Changes</h3>
      <ol class="numbered">
        <li>Added config file to allow setting log file location, log level and maximum execution time</li>
        <li>Added config file documentation to API Docs</li>
        <li>Server should now be able to start up using <code>ruby scripts/start -d</code> option</li>
        <li>Significant performance enhancements for larger sized instances</li>
      </ol>

      <h3 class="build_subheader">Downloads</h3>
      <ul>
        <li><%= link_to "Solaris", url_for("/builds/kidney-solaris-0.0.5.tar.gz") %></li>
        <li><%= link_to "Linux", url_for("/builds/kidney-linux-0.0.5.tgz") %></li>
        <li><%= link_to "Windows", url_for("/builds/kidney-windows-0.0.5.zip") %></li>
      </ul>
    </li>
    
    <li class="release">
      <h2>Version 0.0.4</h2>

      <h3 class="build_subheader">Changes</h3>
      <ol class="numbered">
        <li>The &lt;b/&gt; elements in the XML output now contains the group id of the embedded pairwise.</li>
        <li>The documentation has been updated to include details of (1) and also contains other minor changes.</li>
        <li>The maxcard optimality criteria has now been changed and now only tries to maximize the number
          of transplants and subject to this maximize the score.</li>
      </ol>

      <h3 class="build_subheader">Downloads</h3>
      <ul>
        <li><%= link_to "Solaris", url_for("/builds/kidney-solaris-0.0.4.tar.gz") %></li>
        <li><%= link_to "Linux", url_for("/builds/kidney-linux-0.0.4.tgz") %></li>
      </ul>
    </li>
  </ul>

</div>