org.chorem.pollen.votecounting.business
Class CondorcetMethod
java.lang.Object
org.chorem.pollen.votecounting.business.CondorcetMethod
- All Implemented Interfaces:
- Method
public class CondorcetMethod
- extends Object
- implements Method
Méthode de dépouillement Condorcet.
- Version:
- $Id: CondorcetMethod.java 3122 2012-01-30 20:43:30Z tchemit $
- Author:
- rannou
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CondorcetMethod
public CondorcetMethod()
executeCounting
public void executeCounting(List<Choice> choices,
boolean byGroup)
- Description copied from interface:
Method
- Execute le dépouillement de l'ensemble des choix spécifiés.
- Specified by:
executeCounting in interface Method
- Parameters:
choices - l'ensemble des choix à dépouillerbyGroup - si le dépouillement doit être groupé
executeStats
public void executeStats(List<Choice> choices,
boolean groupCounting,
Choice choice,
ChoiceDTO choiceDTO)
- Description copied from interface:
Method
- Effectue des statistiques sur le
choice specifié.
La fonction executeCounting doit avoir été
executée avant d'appeler cette fonction.
- Specified by:
executeStats in interface Method
- Parameters:
choices - l'ensemble des choix du dépouillementgroupCounting - si le dépouillement doit être groupéchoice - le choix sur lequel effectuer des statistiqueschoiceDTO - le choix contenant les resultats statistiques
Copyright © 2009-2012 CodeLutin. All Rights Reserved.