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

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

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


Nested Class Summary
static class BattleSimulation.Builder<E extends Probability<E>>
           
 
Constructor Summary
BattleSimulation(E initialProbability, IntermediateBattleState<E> intermediateBattleState, int numberOfAttackers, int numberOfDefenders)
           
 
Method Summary
 Collection<FinalStep<E>> run()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BattleSimulation

public BattleSimulation(E initialProbability,
                        IntermediateBattleState<E> intermediateBattleState,
                        int numberOfAttackers,
                        int numberOfDefenders)
Method Detail

run

public Collection<FinalStep<E>> run()

toString

public String toString()
Overrides:
toString in class Object