| Package | Description |
|---|---|
| org.chorem.pollen.votecounting.model | |
| org.chorem.pollen.votecounting.strategy |
| Modifier and Type | Class and Description |
|---|---|
class |
GroupOfVoter
Group of voters.
|
class |
SimpleVoter
Physical voter.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Voter> |
GroupOfVoter.getVoters() |
Set<Voter> |
VoterBuilder.getVoters() |
| Modifier and Type | Method and Description |
|---|---|
static GroupOfVoter |
GroupOfVoter.newVoter(String voterId,
double weight,
Set<VoteForChoice> voteForChoices,
Set<Voter> voters) |
void |
GroupOfVoter.setVoters(Set<Voter> voters) |
| Modifier and Type | Method and Description |
|---|---|
Map<Voter,List<Set<String>>> |
AbstractVoteCountingStrategy.buildVoterSortedChoices(Set<Voter> voters) |
| Modifier and Type | Method and Description |
|---|---|
Map<Voter,List<Set<String>>> |
AbstractVoteCountingStrategy.buildVoterSortedChoices(Set<Voter> voters) |
Set<String> |
AbstractVoteCountingStrategy.getAllChoiceIds(Set<Voter> voters) |
VoteCountingResult |
VoteCountingStrategy.votecount(Set<Voter> voter)
Vote count for the given
voter and return the result of it. |
SortedMap<String,ChoiceScore> |
AbstractVoteCountingStrategy.votersToResult(Set<Voter> voters) |
Copyright © 2009-2012 CodeLutin. All Rights Reserved.