]> projects.mako.cc - rubyvote/commit
Added matrix to condorcet to draw a table of winners vs losers. Also added "points...
authorJustin Sharps <jlsharps@alum.mit.edu>
Wed, 15 Aug 2007 22:12:45 +0000 (22:12 +0000)
committerJustin Sharps <jlsharps@alum.mit.edu>
Wed, 15 Aug 2007 22:12:45 +0000 (22:12 +0000)
commitaf3fdc3766e13c5e7b0aa01023285b25303d901f
tree910d6eb720dcaea2cedb56db8670d28300a986a4
parentad05e67f416f8e1c9fb5de1d015fc057ee85961d
Added matrix to condorcet to draw a table of winners vs losers. Also added "points" attr_readers and instance variables to BordaResults and PluralityResults so that they will be availabel directly from the result objects.

git-svn-id: svn://rubyforge.org/var/svn/rubyvote/trunk@38 1440c7f4-e209-0410-9a04-881b5eb134a8
lib/rubyvote/condorcet.rb
lib/rubyvote/election.rb
lib/rubyvote/positional.rb

Benjamin Mako Hill || Want to submit a patch?