Majority Votes And Highest Score Algorithm
class MajorityVotesAndHighestScoreAlgorithm<S : ScoreMetrics>(var pollAlgorithmParameters: List<PollAlgorithmParameter> = listOf()) : PollAlgorithm<S, SinglePreferenceVote<S>>
Represents an algorithm which orders intermediate ranking by descending number of votes, then by highest score (about ties).
Properties
Functions
Link copied to clipboard
Compute the final ranking, given the votes.
Link copied to clipboard
Shortcut useful to add an element in pollAlgorithmParameters.