public class ControlTimer extends SimNotifier
ControlTimer is an class which is able to look upon the system
time and calls the
EndOfTransientPhaseEndOfBatchEndOfSimulation
member functions of the SimNotifier to indicate that the desired
times of the transient and batch phase or the desired number of batches are
reached.
The Constructor needs
ControlTimerParser to parse and create
objects of type ControlTimer.endOfBatchNotifier, endOfTransientPhaseNotifier| Constructor and Description |
|---|
ControlTimer(double transientPhaseTime,
double batchPhaseTime) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleProcessEvent(double eventTime) |
void |
handleStartBatch(int batchNumber) |
void |
handleStartSimulation(Simulation sim) |
void |
handleStartTransientPhase() |
deregisterSimNotifier, endOfBatch, endOfTransientPhase, registerSimNotifierpublic ControlTimer(double transientPhaseTime,
double batchPhaseTime)
public void handleProcessEvent(double eventTime)
public void handleStartSimulation(Simulation sim)
handleStartSimulation in class SimNotifierpublic void handleStartTransientPhase()
handleStartTransientPhase in class SimNotifierpublic void handleStartBatch(int batchNumber)
handleStartBatch in class SimNotifier