Class Coombs

Hierarchy

  • RoundBallotMethod
    • Coombs

Constructors

  • Parameters

    • __namedParameters: {
          ballots: Ballot[];
          candidates: string[];
      }
      • ballots: Ballot[]
      • candidates: string[]

    Returns Coombs

Properties

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

Accessors

Methods

  • Parameters

    • candidates: string[]

    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