X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/538c52ea43285fc1ae40e3c3ff5ee78befa1c142..da6c29f53b3598a6d2d9959df277b0340bc54cee:/app/views/common/_methodinfo_ssd.rhtml diff --git a/app/views/common/_methodinfo_ssd.rhtml b/app/views/common/_methodinfo_ssd.rhtml new file mode 100644 index 0000000..0c8dc95 --- /dev/null +++ b/app/views/common/_methodinfo_ssd.rhtml @@ -0,0 +1,36 @@ +

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 -%> +