|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.sociology.Role
org.jscience.politics.vote.Voter
org.jscience.politics.vote.SingleChoiceRandomVoter
public class SingleChoiceRandomVoter
This class represent a person in a voting situation. The voter is selecting exactly ONE random option from EVERY choice in the ballot for BinaryBallots and ranks ONE at random for EVERY choice in the ballot for RankedBallots.
| Field Summary |
|---|
| Fields inherited from class org.jscience.sociology.Role |
|---|
CLIENT, OBSERVER, SERVER, SUPERVISOR |
| Constructor Summary | |
|---|---|
SingleChoiceRandomVoter(Individual individual,
VoteSituation situation)
Creates a new SingleChoiceRandomVoter 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 |
|---|
public SingleChoiceRandomVoter(Individual individual,
VoteSituation situation)
individual - DOCUMENT ME!situation - DOCUMENT ME!| Method Detail |
|---|
public void select()
select in class Voter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||