this is a bad stv implementation
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
akraak 86509d7db2 Update '' 4 years ago
index.js this is still a bad thing 4 years ago Update '' 4 years ago

sorry its js xx

function(candidates, ballots, seatsToFill)

  • candidates is an array i think of just the candidates
  • ballots is an array of people in order of preference
  • seats to fill is a number probably