Class Minimax

Hierarchy (view full)

Constructors

Properties

candidates: string[]
excludeTies: boolean
minimaxVariant: MinimaxVariant
Variants: typeof MinimaxVariant = MinimaxVariant
isRandom: boolean = false
needsBallot: boolean = false
needsMatrix: true = true

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