Poll Simulation
This class allows to create a poll with its mandatory members.
Properties
Functions
DSL-function which initializes a Competition.
Computes the final ranking.
DSL-function which initializes MyCondorcetAlgorithm.
DSL-function which initializes MajorityVotesAlgorithm.
DSL-function which initializes MajorityVotesThenHighestScoreAlgorithm.
DSL-function which initializes MajorityVotesThenLowestScoreAlgorithm.
Shortcut which assigns the value to competition.
Shortcut which assigns the value to pollAlgorithm.
This function allows a shortcut to create a SinglePreferenceVote, given the name of Competitor voted by a Voter, distinguished by its identifier.
This function allows a shortcut to create a ListOfPreferencesVote, given the name list of Competitor voted by a Voter, distinguished by its identifier.