Sequential proportional approval voting: Difference between revisions

Added flow chart
(Added code example. This is useful as it can be harder to follow the 'pure math' example provided.)
(Added flow chart)
Line 3:
 
==Description==
[[File:SPAV Flow Chart.png|thumb|Flow chart of SPAV]]
This system converts AV into a multi-round rule,<ref name="Kilgour2010">{{cite book |last=Kilgour |first=D. Marc |editor1=Jean-François Laslier |editor2=M. Remzi Sanver |title=Handbook on Approval Voting |url=https://books.google.com/books?id=mQBEAAAAQBAJ&pg=PA114 |date=2010 |publisher=Springer |isbn=978-3-642-02839-7 |pages=105–124 |chapter=Approval Balloting for Multi-winner Elections}}</ref> selecting a candidate in each round and then reweighing the approvals for the subsequent rounds. The first candidate elected is the AV winner (''w<sub>1</sub>''). The value of all ballots that approve of ''w<sub>1</sub>'' are reduced in value from 1 to 1/2 and the approval scores recalculated. Next, the unelected candidate who has the highest approval score is elected (''w<sub>2</sub>''). Then the value of ballots that approve of both ''w<sub>1</sub>'' and ''w<sub>2</sub>'' are reduced in value to 1/3, and the value of all ballots that approve of either ''w<sub>1</sub>'' or ''w<sub>2</sub>'' but not both are reduced in value to 1/2.<ref>Steven J. Brams, D. Marc Kilgour (2009): "Satisfaction Approval Voting": p4 [http://www2.eco.uva.es/presad/SSEAC/documents/Tilburg09-Brams-Kilgour.pdf]</ref>
 
Line 12 ⟶ 13:
 
== Example Code==
<syntaxhighlight lang="python" line>
import pandas
29

edits