votes
    Preparing search index...

    Class Schulze<C>

    Type Parameters

    • C extends string

    Hierarchy

    • MatrixScoreMethod<C>
      • Schulze
    Index

    Constructors

    Properties

    candidates: C[]
    isRandom: boolean = false
    needsBallot: boolean = false
    needsMatrix: true

    Accessors

    Methods

    • Returns C[][]

    • Result of the vote. The first item lists the winners of the vote.

      For example this ranking means that Bear wins, Sheep is second and Lion third [ [ 'Bear' ], [ 'Sheep' ], [ 'Lion' ] ]

      Returns C[][]

    • Type Parameters

      • D extends string

      Parameters

      • candidates: D[]

      Returns MatrixScoreMethod<D>

    • Type Parameters

      • D extends string

      Parameters

      • candidates: D[]

      Returns D[][]