|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uchicago.src.sim.engine.ActionQueue
Priority Queue for Action objects.
| Constructor Summary | |
ActionQueue()
|
|
ActionQueue(int size)
|
|
| Method Summary | |
void |
clear()
|
void |
fixHeap()
|
void |
insert(BasicAction action)
Insert the specified action into the heap. |
boolean |
isEmpty()
|
BasicAction |
peekMin()
|
BasicAction |
popMin()
|
int |
size()
|
void |
toss(BasicAction action)
|
String |
toString()
|
boolean |
voidAction(BasicAction action)
Find the specified Action in the queue and void it. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ActionQueue()
public ActionQueue(int size)
| Method Detail |
public boolean voidAction(BasicAction action)
public void insert(BasicAction action)
public BasicAction peekMin()
public BasicAction popMin()
public void toss(BasicAction action)
public void clear()
public void fixHeap()
public boolean isEmpty()
public int size()
public String toString()
toString in class Object
|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||