VoteCasters: Votes are cast.
- Parent Page: Election
VoteCasters
- Voters cast their ballots.
- A distribution of a population of voters is sampled. A 2D spatial model is used to make the decision of how to vote or who to vote for.
- The vote is aggregated into a set that only contains the information needed to elect winners and to visualize.
- There are two ways to cast.
- By voter.
- By regions of voters. This is more complicated.
- The “votes” data structure is described below.
Votes
Some of the following is output from a vote caster.
- for socialChoiceMethods
- votePop - the fraction of the population that voted as listed.
- List of votes:
- scoreVotes - a list of votes. Each vote has a score for each candidate.
- rankingVotes - a list of votes. Each vote has a rank for each candidate.
- cansByRank - a list of votes. Each vote is a list indexed by ranking. A list of candidates is at each ranking.
- preComputedTallies:
- tallyFractions - a number for each candidate.
- pairwiseTallyFractions - a fraction for each pair of candidates.
- for viz
- cellData:
- {ranking, cells}
- {ranking, intervalBorders}
- gridData: { grid, voteSet, voterGeom }
- cellData: