public class StdSimulation extends Simulation
Modifier and Type | Field and Description |
---|---|
protected Model |
model |
protected SimulationEnvironment |
simEnv |
batchHandler, transientPhaseHandler
Constructor and Description |
---|
StdSimulation(Model model,
SimulationEnvironment simEnv) |
Modifier and Type | Method and Description |
---|---|
void |
cleanup() |
void |
handleEndOfCurrentBatch() |
void |
handleEndOfTransientPhase() |
void |
initSimulation() |
protected void |
printBatchResults(int batchNumber) |
void |
printResults() |
void |
runSimulation() |
getBatchNotifier, getTransientPhaseNotifier, run, startSimulation
protected final Model model
protected final SimulationEnvironment simEnv
public StdSimulation(Model model, SimulationEnvironment simEnv)
protected void printBatchResults(int batchNumber)
public void cleanup()
cleanup
in class Simulation
public void handleEndOfCurrentBatch()
handleEndOfCurrentBatch
in class Simulation
public void handleEndOfTransientPhase()
handleEndOfTransientPhase
in class Simulation
public void initSimulation()
initSimulation
in class Simulation
public void printResults()
printResults
in class Simulation
public void runSimulation()
runSimulation
in class Simulation