Module: compute/socialChoiceMethods/randomVoter

(require("compute/socialChoiceMethods/randomVoter"))(votes) → {types.typesSocialChoice.socialChoiceResults}

pick a random voter to select the winner
Parameters:
Name Type Description
votes types.typesVotes.votes The object for vote data.
Source:
Returns:
- the results returned from a social choice function.
Type
types.typesSocialChoice.socialChoiceResults

Members

(static, constant) randomVoterMetadata :object

an object: this function and descriptions of its name, input, and output
Type:
  • object
Source: