Uses of Record Class
org.episteme.social.politics.ApportionmentMethods.Party
Packages that use ApportionmentMethods.Party
-
Uses of ApportionmentMethods.Party in org.episteme.social.politics
Method parameters in org.episteme.social.politics with type arguments of type ApportionmentMethods.PartyModifier and TypeMethodDescriptionstatic doubleApportionmentMethods.calculateGallagher(List<ApportionmentMethods.Party> parties, Map<String, Integer> seats, int totalSeats) Calculates the Gallagher index of disproportionality.ApportionmentMethods.compareAllMethods(List<ApportionmentMethods.Party> parties, int totalSeats) Compares all implemented methods for a given set of data.ApportionmentMethods.dHondt(List<ApportionmentMethods.Party> parties, int totalSeats) D'Hondt method - tends to favor larger parties.ApportionmentMethods.hamilton(List<ApportionmentMethods.Party> parties, int totalSeats) Hamilton (Largest Remainder) method with Hare quota.ApportionmentMethods.huntingtonHill(List<ApportionmentMethods.Party> parties, int totalSeats, int minimumPerParty) Huntington-Hill method, used for the US House of Representatives.ApportionmentMethods.sainteLague(List<ApportionmentMethods.Party> parties, int totalSeats) Sainte-Laguë method - generally considered more proportional than D'Hondt.