Package-level declarations

Types

Link copied to clipboard

This class allows to define and execute multiple polls.

Link copied to clipboard

This class represents a list of candidate, inserted by most preferred first.

Link copied to clipboard
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.

Link copied to clipboard

Represents an algorithm which orders intermediate ranking by descending number of votes, then by highest score (about ties).

Link copied to clipboard

Represents an algorithm which orders intermediate ranking by descending number of votes, then by lowest score (about ties).

Link copied to clipboard
class MyCondorcetAlgorithm<S : ScoreMetric>(var pollAlgorithmParameters: List<PollAlgorithmParameter> = listOf()) : PollAlgorithm<S, ListOfPreferencesVote<S>>

Represents an algorithm implementing Condorcet logic.

Link copied to clipboard

Represents a ranking, without associated number of votes.

Link copied to clipboard

This class allows to create a poll with its mandatory members.

Link copied to clipboard
open class RankingByDescendingVotes<S : ScoreMetric>(unorderedRanking: Map<Competitor<S>, Int>) : RankingAbstraction<S>

Class which orders intermediate ranking by descending number of votes.

Link copied to clipboard

Class which orders intermediate ranking by descending number of votes, then by highest score.

Link copied to clipboard

Class which orders intermediate ranking by descending number of votes, then by lowest score.