|
|||||||||
| 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.MultipleChoicesRandomVoter
public class MultipleChoicesRandomVoter
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 |
|---|
public MultipleChoicesRandomVoter(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 | ||||||||