skidooesy / stv

Automatically exported from code.google.com/p/stv
0 stars 0 forks source link

Try using a VoteGroup class for storing votes #45

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
A VoteGroup would have a list of votes (or partial votes) that are all treated 
identically for a particular round of the count.  
-- At round 0, all votes would be in the same group
-- At round 1, there would one vote group for each candidate containing first 
choices for the candidate
-- At later rounds, more vote groups would be created as votes are transferred.

A VoteGroup would contain a list of ballots and each ballot might be associated 
with a fraction.  Counting could be done by summing the contents of the group.  
Might make sense to have vote groups be heirarchical.

Not sure how/if this would work with Meek/Warren.

Original issue reported on code.google.com by jeff.oneill on 6 Jul 2010 at 11:45