Majority Votes Algorithm
class MajorityVotesAlgorithm<S : ScoreMetric>(var pollAlgorithmParameters: List<PollAlgorithmParameter> = listOf()) : PollAlgorithm<S, SinglePreferenceVote<S>>
Represents an algorithm which orders intermediate ranking by descending number of votes.
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.