org.jscience.politics.vote
Interface BallotsProcessor

All Known Implementing Classes:
BinaryApprovalBallotsProcessor, BinaryRandomBallotsProcessor, BinarySingleChoiceApprovalBallotsProcessor, BinarySingleChoiceRandomBallotsProcessor

public interface BallotsProcessor

This class represents a way by which you compute results.


Method Summary
 Ballot getResults()
          DOCUMENT ME!
 boolean shouldProceedToNextRound()
          DOCUMENT ME!
 java.util.Set validateBallots(java.util.Set voters, int round)
          DOCUMENT ME!
 

Method Detail

validateBallots

java.util.Set validateBallots(java.util.Set voters,
                              int round)
DOCUMENT ME!

Parameters:
voters - DOCUMENT ME!
round - DOCUMENT ME!
Returns:
DOCUMENT ME!

getResults

Ballot getResults()
DOCUMENT ME!

Returns:
DOCUMENT ME!

shouldProceedToNextRound

boolean shouldProceedToNextRound()
DOCUMENT ME!

Returns:
DOCUMENT ME!