+<% candidates = @election.candidates.sort.collect {|candidate| candidate.id}-%>
+<% voters = @election.voters.size %>
+<% matrix = @election.condorcet_result.matrix %>
+<% names = Hash.new -%>
+<% candidates.each do |candidate| -%>
+ <%names[candidate] = Candidate.find(candidate).name -%>
+<% end -%>