Updated the changelog and the README version for a new version.
authorBenjamin Mako Hill <mako@atdot.cc>
Fri, 3 Mar 2006 02:46:59 +0000 (02:46 +0000)
committerBenjamin Mako Hill <mako@atdot.cc>
Fri, 3 Mar 2006 02:46:59 +0000 (02:46 +0000)
git-svn-id: svn://rubyforge.org/var/svn/rubyvote/trunk@7 1440c7f4-e209-0410-9a04-881b5eb134a8

ChangeLog
README.rst

index 87c2954411197e98960ca5285d553490e5859a6a..c269c12e1b795171ebae1e683e579555e87de2b7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-03-02  Benjamin Mako Hill  <mako@atdot.cc>
+
+       * IRV support was added. The code and the test were written by
+       Alexis Darrasse <alexis@ortsa.com>. Thanks Alexis!
+
 2006-01-27  Benjamin Mako Hill  <mako@atdot.cc>
 
        * Initial version released.
index 2d69455023b986f54fff1ebe1ad0b383bfee9769..efd0ddfff5d9f6098fea1f858ab5e56883ffb27f 100644 (file)
@@ -13,7 +13,7 @@ RubyVote: Election Methods Library in Ruby
 Overview
 ---------
 
-**Latest Version:** 0.1
+**Latest Version:** 0.2
 
 **Download Latest Version:** `here
 <http://rubyforge.org/projects/rubyvote>`__
@@ -60,15 +60,17 @@ Currently these include:
 * `Borda`__
 * `Simple Condorcet`__
 * `Condorcet with Cloneproof SSD`__
+* `Instant Runnoff Voting`__ (Thanks Alexis Darrasse!)
 
 __ http://en.wikipedia.org/wiki/Plurality_electoral_system
 __ http://en.wikipedia.org/wiki/Approval_voting
 __ http://en.wikipedia.org/wiki/Borda_count
 __ http://en.wikipedia.org/wiki/Condorcet_method
 __ http://en.wikipedia.org/wiki/Schulze_method
+__ http://en.wikipedia.org/wiki/Instant_Runoff_Voting
 
-Writing support for a currently unsupported voting method (e.g., instant
-runoff voting) is a fantastic way to to contribute to this module.
+Writing support for a currently unsupported voting method is a fantastic
+way to to contribute to this module.
 
 How To Use This Library
 -------------------------
@@ -179,6 +181,23 @@ Example::
  vote_array = [ ["A", "B"],  ["B", "A"], ["B", "A"] ]
  resultobject = CloneproofSSDVote.new(vote_array).result
 
+Instant Runnoff Voting (IRV)
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+IRV is a preferential voting system used widely for government elections
+in Australia and New Zealand and elsewhere. IRV asks voters to rank
+candidates in preference and then holds a series of "runoff" elections
+by eliminating the weakest candidate and recomputing the election
+results until there exists a candidate who has a majority of the
+remaining votes.
+
+Example::
+
+ require 'runoff'
+ vote_array = [ ["A", "B"],  ["B", "A"], ["B", "A"] ]
+ resultobject = InstantRunoffVote.new(vote_array).result
+
+
 ElectionResult Objects
 ***********************
 

Benjamin Mako Hill || Want to submit a patch?