com.motlin.risk.odds
Class OddsTally<E extends Probability<E>>

java.lang.Object
  extended by com.motlin.risk.odds.OddsTally<E>

public final class OddsTally<E extends Probability<E>>
extends Object


Constructor Summary
OddsTally(ProbabilityFactory<E> probabilityFactory, int numberOfCasualties, Casualties... casualties)
           
 
Method Summary
 Map<Casualties,E> getOdds()
           
 void tallyKills(Casualties casualties)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OddsTally

public OddsTally(ProbabilityFactory<E> probabilityFactory,
                 int numberOfCasualties,
                 Casualties... casualties)
Method Detail

tallyKills

public void tallyKills(Casualties casualties)

getOdds

public Map<Casualties,E> getOdds()