Interface IEndCriterionModel
-
- All Known Implementing Classes:
EndCriterionConjunction
,EndCriterionDisjunction
,EndCriterionNegation
,TimeBasedEndCriterion
public interface IEndCriterionModel
Models the ending criterion used in the simulation.- Author:
- Yoann Kubera
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isFinalTimeOrAfter(SimulationTimeStamp currentTime, ISimulationEngine engine)
Tells if a time stamp is greater or equal to the final time stamp.
-
-
-
Method Detail
-
isFinalTimeOrAfter
boolean isFinalTimeOrAfter(SimulationTimeStamp currentTime, ISimulationEngine engine)
Tells if a time stamp is greater or equal to the final time stamp.- Parameters:
currentTime
- The last time the dynamic state of the simulation was in a partly consistent state.engine
- The simulation engine containing information about the currently running simulation.- Returns:
true
if the final time of the level was reached.
-
-