org.jscience.politics.vote
Class MultipleChoicesRandomVoter

java.lang.Object
  extended by org.jscience.sociology.Role
      extended by org.jscience.politics.vote.Voter
          extended by org.jscience.politics.vote.MultipleChoicesRandomVoter
All Implemented Interfaces:
Named

public class MultipleChoicesRandomVoter
extends Voter

This class represent a person in a voting situation. The voter is selecting a random number of options from EVERY choice in the ballot for BinaryBallots and ranks ALL the options for EVERY choice in the ballot for RankedBallots.


Field Summary
 
Fields inherited from class org.jscience.sociology.Role
CLIENT, OBSERVER, SERVER, SUPERVISOR
 
Constructor Summary
MultipleChoicesRandomVoter(Individual individual, VoteSituation situation)
          Creates a new MultipleChoicesRandomVoter object.
 
Method Summary
 void select()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.politics.vote.Voter
getBallotForRoundI, getBallots, getCurrentBallot, getCurrentRoundForVoter, getNumBallots, hasVotedAtRoundI, setBallotForCurrentRound, vote
 
Methods inherited from class org.jscience.sociology.Role
getIndividual, getKind, getName, getSituation, setSituation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultipleChoicesRandomVoter

public MultipleChoicesRandomVoter(Individual individual,
                                  VoteSituation situation)
Creates a new MultipleChoicesRandomVoter object.

Parameters:
individual - DOCUMENT ME!
situation - DOCUMENT ME!
Method Detail

select

public void select()
DOCUMENT ME!

Specified by:
select in class Voter