org.bolson.vote
Class NamedSTV.WeightedVote

java.lang.Object
  extended by org.bolson.vote.NamedSTV.WeightedVote
Enclosing class:
NamedSTV

protected static class NamedSTV.WeightedVote
extends java.lang.Object


Constructor Summary
NamedSTV.WeightedVote(NameVotingSystem.NameVote[] v)
           
 
Method Summary
 void reset()
           
 double vote(java.util.HashMap they)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedSTV.WeightedVote

public NamedSTV.WeightedVote(NameVotingSystem.NameVote[] v)
Method Detail

reset

public void reset()

vote

public double vote(java.util.HashMap they)
Returns:
dead vote amount, to be removed from total for quota calculation. This might always be 1.0 or 0.0 ?