(require("compute/socialChoiceMethods/sntv"))(votes, socialChoiceOptions) → {types.typesSocialChoice.socialChoiceResults}
Single Non-Transferable Vote
Parameters:
Name | Type | Description |
---|---|---|
votes |
types.typesVotes.votes | The object for vote data. |
socialChoiceOptions |
types.typesSocialChoice.socialChoiceOptions | options to specify a social choice function. |
Returns:
- the results returned from a social choice function.
- Type
- types.typesSocialChoice.socialChoiceResults
Members
(static, constant) sntvMetadata :object
an object: this function and descriptions of its name, input, and output
Type:
- object