Search results
3 packages found
Zero-dependency and extensible set of highest averages methods for allocating seats in a parliament. ### Install ```shell npm i highest-averages ``` ### Pure Example - Define the candidates with their vote ```typescript const a = new Candidate('A', 200) c
published 1.0.3 a year ago
M
Q
P
Run a spatial election model. Input geometry. Cast votes. Use a social choice function. Collect results. Also combine multiple elections across geography, districts, samplings, and polling.
- voting
- voting-methods
- social-choice
- computational-social-choice
- elections
- strategy
- electoral-methods
- plurality
- approval
- condorcet
- instant-runoff
- score
- star
- proportional
- View more
published 0.0.5 2 months ago
M
Q
P
Collection of apportionment methods.
- apportionment
- math
- fair distribution
- remainder
- voting
- proportional representation
- Hamilton
- Vinton
- Hare-Niemeyer
- Largest Remainder
- Jefferson
- D'Hondt
- Adams
- Webster
published 2.0.3 2 years ago
M
Q
P