public abstract class Simulation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected MultiNotificationHandler |
batchHandler
the handler of the end of a batch
|
protected MultiNotificationHandler |
transientPhaseHandler
the handler of the end of the transient phase
|
Constructor and Description |
---|
Simulation() |
Modifier and Type | Method and Description |
---|---|
void |
cleanup() |
MultiNotificationHandler |
getBatchNotifier() |
MultiNotificationHandler |
getTransientPhaseNotifier() |
abstract void |
handleEndOfCurrentBatch() |
abstract void |
handleEndOfTransientPhase() |
void |
initSimulation() |
abstract void |
printResults() |
void |
run() |
abstract void |
runSimulation() |
void |
startSimulation() |
protected MultiNotificationHandler transientPhaseHandler
protected MultiNotificationHandler batchHandler
public void run()
public void initSimulation()
public void startSimulation()
public abstract void runSimulation()
public abstract void printResults()
public void cleanup()
public MultiNotificationHandler getTransientPhaseNotifier()
public MultiNotificationHandler getBatchNotifier()
public abstract void handleEndOfTransientPhase()
public abstract void handleEndOfCurrentBatch()