Class TwoRoundRunoff

Hierarchy

  • RoundBallotMethod
    • TwoRoundRunoff

Constructors

Properties

ballots: Ballot[]
candidates: string[]
rounds: Round[] = []
isRandom: boolean = false
needsBallot: true = true
needsMatrix: boolean = false

Accessors

Methods

  • Parameters

    • candidates: string[]
    • idx: number

    Returns {
        eliminated: string[];
        qualified: string[];
        scores: ScoreObject;
    }

    • eliminated: string[]
    • qualified: string[]
    • scores: ScoreObject
  • Split tied candidates in a ranking.

    Parameters

    • rankingToTieBreak: string[][]

      a ranking in which ties will be attempted to be broken by the current voting system

    Returns string[][]

Generated using TypeDoc