PollAlgorithm

interface PollAlgorithm<S : ScoreMetric, V : Vote>

This interface represents the algorithm chosen to compute the final ranking.

Inheritors

Properties

Link copied to clipboard

List of parameters.

Functions

Link copied to clipboard
abstract fun computeByAlgorithmRules(votes: List<V>): Ranking<S>

Compute the final ranking, given the votes.

Link copied to clipboard
open operator fun PollAlgorithmParameter.unaryPlus()

Shortcut useful to add an element in pollAlgorithmParameters.