Talk:IRV Prime: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 65: | Line 65: | ||
--[[User:Marcosb|Marcosb]] ([[User talk:Marcosb|talk]]) 17:20, 4 August 2021 (UTC) |
--[[User:Marcosb|Marcosb]] ([[User talk:Marcosb|talk]]) 17:20, 4 August 2021 (UTC) |
||
I've transposed the examples on the page you listed (elections 3-5) [[https://github.com/marcosb/vse-sim/blob/master/methods.py to code]], but not sure what I'm looking for: |
|||
>>> IrvPrime().results([[0,1,2,3,4,5]] * 12 + [[2,0,1,3,4,5]] * 11 + [[1,2,0,3,4,5]] * 10 + |
|||
... [[3,4,5]] * 27) |
|||
[1, 2, 3, 0, 4, 5] |
|||
>>> IrvPrime().results([[0,1]] * 11 + [[1]] * 7 + [[2]] * 12) |
|||
[1, 2, 0] |
|||
>>> IrvPrime().results([[0,3,2,1]] * 5 + [[1,2,0,3]] * 5 + [[2,0,1,3]] * 8 + |
|||
... [[3,0,1,2]] * 4 + [[3,1,2,0]] * 8) |
|||
[0, 3, 2, 1] |
|||
>>> IrvPrime().results([[0,2,1,3]] * 6 + [[0,3,1,2]] * 3 + [[0,3,2,1]] * 3 + |
|||
... [[1,2,0,3]] * 4 + [[2,0,1,3]] * 4 + [[3,1,2,0]] * 5) |
|||
[2, 0, 3, 1] |
|||
(0=A,1=B...; inputs are in >>> & ... lines, outputs are immediately following) |
|||
--[[User:Marcosb|Marcosb]] ([[User talk:Marcosb|talk]]) 20:42, 4 August 2021 (UTC) |
|||
== Arrow/IIA == |
== Arrow/IIA == |