IrvRound<TCandidate extends Comparable> class

Annotations
  • @immutable

Constructors

IrvRound(int roundNumber, List<RankedBallot<TCandidate>> ballots, Iterable<TCandidate> eliminatedCandidates)
factory

Properties

candidates Iterable<TCandidate>
no setter
eliminatedCandidates Iterable<TCandidate>
no setter
eliminations List<IrvElimination<TCandidate>>
final
hashCode int
The hash code for this object.
no setterinherited
isFinal bool
no setter
number int
1-indexed number of the round.
final
places List<PluralityElectionPlace<TCandidate>>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

eliminationForCandidate(TCandidate candidate) IrvElimination<TCandidate>?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited