Class RandomDictator

Hierarchy

  • RandomBallotMethod
    • RandomDictator

Constructors

Properties

ballots: Ballot[]
candidates: string[]
rng: (() => number)

Type declaration

    • (): number
    • Returns number

isRandom: true = true
needsBallot: true = true
needsMatrix: boolean = false

Accessors

Methods

  • 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