Uses of Class
org.episteme.social.politics.VotingMethod
Packages that use VotingMethod
Package
Description
- historical events, timelines, and chronology.
Provides the
org.episteme.social.politics module.- social structures, persons, and cultural modeling.
-
Uses of VotingMethod in org.episteme.social.history
Methods in org.episteme.social.history with parameters of type VotingMethodModifier and TypeMethodDescriptionCounterfactualHistoryRunner.runDivergenceAnalysis(String electionTitle, List<String> candidates, VotingMethod method) Executes the simulation on the society and returns a combined report. -
Uses of VotingMethod in org.episteme.social.politics
Fields in org.episteme.social.politics declared as VotingMethodModifier and TypeFieldDescriptionstatic final VotingMethodVotingMethod.ANTI_PLURALITYstatic final VotingMethodVotingMethod.APPROVALstatic final VotingMethodVotingMethod.BORDAstatic final VotingMethodVotingMethod.BUCKLINstatic final VotingMethodVotingMethod.CONDORCETstatic final VotingMethodVotingMethod.COOMBSstatic final VotingMethodVotingMethod.COPELANDstatic final VotingMethodVotingMethod.CUMULATIVEstatic final VotingMethodVotingMethod.DHONDTstatic final VotingMethodVotingMethod.DODGSONstatic final VotingMethodVotingMethod.FIRST_PAST_THE_POSTstatic final VotingMethodVotingMethod.HUNTINGTON_HILLstatic final VotingMethodVotingMethod.INSTANT_RUNOFFstatic final VotingMethodVotingMethod.KEMENY_YOUNGstatic final VotingMethodVotingMethod.LARGEST_REMAINDER_DROOPstatic final VotingMethodVotingMethod.LARGEST_REMAINDER_HAREstatic final VotingMethodVotingMethod.MAJORITY_JUDGMENTstatic final VotingMethodVotingMethod.MINIMAXstatic final VotingMethodVotingMethod.MODIFIED_SAINTE_LAGUEstatic final VotingMethodVotingMethod.OTHERstatic final VotingMethodVotingMethod.PROPORTIONALstatic final VotingMethodVotingMethod.RANGEstatic final VotingMethodVotingMethod.RANKED_PAIRSstatic final VotingMethodVotingMethod.SAINTE_LAGUEstatic final VotingMethodVotingMethod.SCHULZEstatic final VotingMethodVotingMethod.SNTVstatic final VotingMethodVotingMethod.STARstatic final VotingMethodVotingMethod.STVstatic final VotingMethodVotingMethod.TWO_ROUNDstatic final VotingMethodVotingMethod.UNKNOWNFields in org.episteme.social.politics with type parameters of type VotingMethodMethods in org.episteme.social.politics that return VotingMethodModifier and TypeMethodDescriptionstatic VotingMethodVotingMethod.valueOf(int ordinal) static VotingMethodMethods in org.episteme.social.politics with parameters of type VotingMethodModifier and TypeMethodDescriptionElection.calculateWinners(VotingMethod method, int seats) Determines the winner(s) using a specific method and all cast ballots.VotingSystem.determineWinners(Map<String, Long> votes, VotingMethod method, int seatsAvailable) Determines winner(s) based on aggregated vote counts and the specified method.VotingSystem.determineWinnersFromBallots(List<List<String>> ballots, VotingMethod method, int seatsAvailable) Determines winner(s) based on full ranked ballots and the specified method.VotingSystem.determineWinnersFromCardinalData(List<Map<String, Integer>> data, VotingMethod method) Determines winner(s) based on cardinal scores/grades and the specified method.VotingEngine.resolve(List<Ballot> ballots, String electionId, VotingMethod method, int seats) Resolves an election using the specified method and list of cast ballots. -
Uses of VotingMethod in org.episteme.social.sociology
Methods in org.episteme.social.sociology with parameters of type VotingMethodModifier and TypeMethodDescriptionSocietySimulation.holdElection(String title, List<String> candidates, VotingMethod method) Simulates an election based on the current opinions of the society members.