The full results of this election ranked the candidates in order of preference (from most preferred to least preferred):

    <% @election.ssd_result.ranked_candidates.each do |place| %>
  1. <%= h(place.collect {|c| @names[c].capitalize}.join( " and " )) %> <%= "(TIE)" if place.length > 1 %>
  2. <% end %>

About the Schulze Method

The <%= link_to "Schulze method", "http://en.wikipedia.org/wiki/Schulze_method" %> is a preferential voting system. It is based on the Condorcet method but includes a set of methods for resolving "circular" defeats.

The Schulze method is also known as Schwartz Sequential Dropping (SSD), Cloneproof Schwartz Sequential Dropping (CSSD), Beatpath Method, Beatpath Winner, Path Voting, and Path Winner.

<% candidates = @election.ssd_result.ranked_candidates.flatten -%> <% if candidates.size <= 7 -%> <%= render_partial 'common/pref_tables' %> <% else %> There are too many candidates in your elections to show the result tables. <%= link_to "Click here", { :action => 'pref_tables', :id => @voter.password }, :popup => [] %> to view details. <% end -%>