[EM] a Schulze implementation
Árpád Magosányi
magwas at rabic.org
Sun Apr 25 08:21:25 PDT 2010
Hi!
Here is a Schulze implementation, written in python, using gtk.
Please someone confirm whether the last step of ranking candidates done
correctly. It is in class Result, function compute.
It gives correct result for the Tennessee example, but I am not sure.
It is specifically written for situations like a village meeting: lot of
people, one computer, and the result should be known instantly.
Voting is done by directly asking for relative preferences, so pairwise
matrix is entered directly.
In config tab you can give the number of candidates (default=5)
In vote tab you give the names, and the pairwise matrix. The matrix gives
the number of voters who preferred the candidate listed in the row caption
to the candidate in the row corresponding to the column.
Clicking on the result tab gives the ranking of the candidates.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.electorama.com/pipermail/election-methods-electorama.com/attachments/20100425/10563f6c/attachment-0003.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: condorcet.py
Type: text/x-python
Size: 5928 bytes
Desc: not available
URL: <http://lists.electorama.com/pipermail/election-methods-electorama.com/attachments/20100425/10563f6c/attachment-0003.py>
More information about the Election-Methods
mailing list