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

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

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


Constructor Summary
Odds(ProbabilityFactory<E> probabilityFactory)
           
 
Method Summary
 OddsTally<E> createOddsTally(int numberOfAttackingDice, int numberOfDefendingDice)
           
 Map<Casualties,E> get(RollKey attackerRollKey, RollKey defenderRollKey)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Odds

public Odds(ProbabilityFactory<E> probabilityFactory)
Method Detail

get

public Map<Casualties,E> get(RollKey attackerRollKey,
                             RollKey defenderRollKey)

createOddsTally

public OddsTally<E> createOddsTally(int numberOfAttackingDice,
                                    int numberOfDefendingDice)