Package repast.simphony.engine.schedule
Interface PriorityQueueAction
-
public interface PriorityQueueAction
Interface for classes that can be queued in the action priority queue.- Author:
- Nick Collier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getNextTime()
Gets the next time this PriorityQueueAction should be executed.boolean
isNonModelAction()
Gets whether or not this PriorityQueueAction is a non-model action.
-
-
-
Method Detail
-
getNextTime
double getNextTime()
Gets the next time this PriorityQueueAction should be executed.- Returns:
- the next time this PriorityQueueAction should be executed.
-
isNonModelAction
boolean isNonModelAction()
Gets whether or not this PriorityQueueAction is a non-model action.- Returns:
- true if this
PriorityQueueAction
is not a model action, otherwise false.
-
-