com.motlin.risk.simulation
Class IntermediateBattleState<E extends Probability<E>>

java.lang.Object
  extended by com.motlin.risk.simulation.IntermediateBattleState<E>

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


Nested Class Summary
static class IntermediateBattleState.Builder<E extends Probability<E>>
           
 
Method Summary
 void add(IntermediateStep<E> step)
           
 Map<Casualties,E> getCasualtyOdds(IntermediateStep<E> intermediateStep)
           
 FinalBattleState<E> getFinalBattleState()
           
 IntermediateStep<E> getFirst()
           
 Step<E> getIntermediateStep(StepKey key)
           
 boolean isEmpty()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

isEmpty

public boolean isEmpty()

getFirst

public IntermediateStep<E> getFirst()

getIntermediateStep

public Step<E> getIntermediateStep(StepKey key)

add

public void add(IntermediateStep<E> step)

getFinalBattleState

public FinalBattleState<E> getFinalBattleState()

getCasualtyOdds

public Map<Casualties,E> getCasualtyOdds(IntermediateStep<E> intermediateStep)

toString

public String toString()
Overrides:
toString in class Object