[EM] My Ranked Pairs

Eric Gorr eric at ericgorr.net
Sun Aug 10 04:45:01 PDT 2003


Just wanted to thank Rob L. for spotting a bug in my code when 
computing the winner based on the RP algorithm at my site with the 
following example:

4:A>B>C>D>E>F
2:A>B>F>D>E>C
4:A>E>B>F>C>D
2:A>E>F>B>C>D
2:B>F>A>C>D>E
2:C>D>B>E>F>A
4:C>D>B>F>E>A
12:D>E>C>A>B>F
8:E>C>D>B>F>A
10:F>A>B>C>D>E
6:F>A>B>D>E>C
4:F>E>D>B>C>A
3:A>E>F>C>B>D  - the three extra votes.

I now properly compute A as the sole winner when the three extra 
votes were added.
Without the three extra votes, there is still a tie between A & D


-- 
== Eric Gorr ========= http://www.ericgorr.net ========= ICQ:9293199 ===
"Therefore the considerations of the intelligent always include both
benefit and harm." - Sun Tzu
== Insults, like violence, are the last refuge of the incompetent... ===



More information about the Election-Methods mailing list