RankingByDescendingVotes

Class which orders intermediate ranking by descending number of votes.

Inheritors

Constructors

Link copied to clipboard
constructor(unorderedRanking: Map<Competitor<S>, Int>)

Properties

Link copied to clipboard
open override val ranking: Map<Set<Competitor<S>>, Int?>

Map of competitors and relative votes. Set allows to manage ties of votes and/or score.

Functions

Link copied to clipboard
open override fun printRanking()

Prints the ranking.