MajorityJudgmentResolver class

Implemented types

Constructors

MajorityJudgmentResolver()

Properties

favorContestation bool
When both adhesion and contestation groups are of equal size, which one will define the second median grade ? We favor contestation by default, for a bunch of reasons: precaution, conservatism, emotional investment, default grade as the "worst" grade… Set this to false to favor adhesion instead. Note that this rule is important in low-participation polls, cit. needed but quickly wanes as participation rises.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

computeScore(ProposalTally tally) String
Score = Complete Majority Value
countDigits(int amount) int
Count the digits (base 10) of the provided integer.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(PollTally tally) PollResult
override
toString() String
A string representation of this object.
inherited

Operators

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