Class VotingMethod
java.lang.Object
org.episteme.core.util.ExtensibleEnum
org.episteme.social.politics.VotingMethod
- All Implemented Interfaces:
Serializable, Comparable<ExtensibleEnum>
An extensible enumeration for voting methods and election algorithms.
Supporting standard social choice methods and dynamic custom algorithms.
- Since:
- 2.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final VotingMethodstatic final VotingMethodstatic final VotingMethodstatic final VotingMethodstatic final VotingMethodstatic final VotingMethodstatic final VotingMethodstatic final VotingMethodstatic final VotingMethodstatic final VotingMethodstatic final VotingMethodstatic final VotingMethodstatic final VotingMethodstatic final VotingMethodstatic final VotingMethodstatic final VotingMethodstatic final VotingMethodstatic final VotingMethodstatic final VotingMethodstatic final VotingMethodstatic final VotingMethodstatic final VotingMethodstatic final VotingMethodstatic final EnumRegistry<VotingMethod> static final VotingMethodstatic final VotingMethodstatic final VotingMethodstatic final VotingMethodstatic final VotingMethodstatic final VotingMethodstatic final VotingMethod -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if this is a built-in (predefined) value.static VotingMethodvalueOf(int ordinal) static VotingMethodMethods inherited from class ExtensibleEnum
compareTo, description, equals, getDeclaringClass, hashCode, name, ordinal, toString
-
Field Details
-
REGISTRY
-
FIRST_PAST_THE_POST
-
TWO_ROUND
-
ANTI_PLURALITY
-
INSTANT_RUNOFF
-
CONDORCET
-
BORDA
-
SCHULZE
-
COPELAND
-
RANKED_PAIRS
-
MINIMAX
-
KEMENY_YOUNG
-
DODGSON
-
BUCKLIN
-
COOMBS
-
STV
-
APPROVAL
-
RANGE
-
STAR
-
MAJORITY_JUDGMENT
-
PROPORTIONAL
-
DHONDT
-
SAINTE_LAGUE
-
MODIFIED_SAINTE_LAGUE
-
HUNTINGTON_HILL
-
LARGEST_REMAINDER_HARE
-
LARGEST_REMAINDER_DROOP
-
SNTV
-
CUMULATIVE
-
OTHER
-
UNKNOWN
-
-
Method Details
-
valueOf
-
valueOf
-
isBuiltIn
public boolean isBuiltIn()Description copied from class:ExtensibleEnumChecks if this is a built-in (predefined) value. Default implementation returns true to mimic standard Enum behavior unless explicitly overridden.- Overrides:
isBuiltInin classExtensibleEnum
-