Module: compute/socialChoiceMethods/divisorGeneral

(require("compute/socialChoiceMethods/divisorGeneral"))(votes, socialChoiceOptions) → {types.typesSocialChoice.socialChoiceResults}

Run a general divisor method of apportionment and return an allocation of seats.
Parameters:
Name Type Description
votes types.typesVotes.votes The object for vote data.
socialChoiceOptions types.typesSocialChoice.socialChoiceOptions options to specify a social choice function.
Source:
Returns:
- the results returned from a social choice function.
Type
types.typesSocialChoice.socialChoiceResults