Interface SimCondition
-
- Type Parameters:
M
- the type of the simulation model
public interface SimCondition
A condition which is continuously checked over the course of a simulation run. Whenever the condition is satisfied, thecheck
method performs a specific action, such as stopping the simulation run, for example.A common use of this class is the implementation of a stop condition, which causes the simulation run to stop whenever the
check
method evaluates totrue
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
check()
Checks whether this condition is satisfied.
-