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.
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