bwbecker / electionSim

A program to simulate Canadian elections using FPTP, AV, MMP, STV, and RU-PR.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

electionSim

A program to simulate Canadian elections using FPTP, AV, MMP, STV, and RU-PR.

##Thoughts for an Overhaul

  • The Design class should focus strictly on the riding design. Keep candidates out of it.
  • Candidates:
    • Make CandidateList a separate class from Design.
    • Make explicit that there are three states for a candidate: Elected, NotElected, and NotYetDecided.
    • Perhaps make a case class with a data structure (set?, map?) for each of the three states

About

A program to simulate Canadian elections using FPTP, AV, MMP, STV, and RU-PR.


Languages

Language:Scala 94.4%Language:CSS 5.4%Language:Shell 0.2%Language:Makefile 0.1%