public class SimulationImpl extends Object implements Simulation
TICK_PHASE| Constructor and Description |
|---|
SimulationImpl(long totalTicks,
List<String> phases,
List<SimulationMember> members,
Collection<SimulationEvent> events,
Map<String,SeriesProvider<?>> series,
Set<ServiceProvider<?>> services) |
| Modifier and Type | Method and Description |
|---|---|
void |
executeAndIncreaseTick() |
void |
executeCurrentTick() |
void |
executeToEnd() |
void |
executeUpToTick(long tick) |
boolean |
finishedCurrentTick() |
long |
getCurrentTick() |
<T extends Number> |
getSeries(String symbol) |
long |
getTotalTicks() |
void |
increaseTick() |
void |
increaseTickStrictly() |
void |
initialize() |
Map<Long,Map<String,List<SimulationEvent>>> |
test__getMap() |
List<String> |
test__getPhases() |
public SimulationImpl(long totalTicks,
List<String> phases,
List<SimulationMember> members,
Collection<SimulationEvent> events,
Map<String,SeriesProvider<?>> series,
Set<ServiceProvider<?>> services)
public void executeToEnd()
executeToEnd in interface Simulationpublic void executeUpToTick(long tick)
executeUpToTick in interface Simulationpublic void initialize()
initialize in interface Simulationpublic void executeCurrentTick()
executeCurrentTick in interface Simulationpublic long getCurrentTick()
getCurrentTick in interface Simulationpublic void executeAndIncreaseTick()
executeAndIncreaseTick in interface Simulationpublic void increaseTick()
increaseTick in interface Simulationpublic void increaseTickStrictly()
increaseTickStrictly in interface Simulationpublic boolean finishedCurrentTick()
finishedCurrentTick in interface Simulationpublic long getTotalTicks()
getTotalTicks in interface Simulationpublic <T extends Number> SeriesResult<T> getSeries(String symbol)
getSeries in interface SimulationCopyright © 2015. All rights reserved.