-
- All Implemented Interfaces:
-
it.unibo.alchemist.core.interfaces.Scheduler
public final class ArrayIndexedPriorityQueue<T> implements Scheduler<T>
This class implements the indexed priority queue through an Array.
-
-
Method Summary
Modifier and Type Method Description voidaddReaction(Reaction<T> r)Reaction<T>getNext()voidremoveReaction(Reaction<T> r)StringtoString()voidupdateReaction(Reaction<T> r)-
-
Method Detail
-
addReaction
void addReaction(Reaction<T> r)
-
removeReaction
void removeReaction(Reaction<T> r)
-
updateReaction
void updateReaction(Reaction<T> r)
-
-
-
-