class PriorityQueue
|
Tentative nodes in a priority queue. More... |
|
|
Public Methods
- void add (typename Node<A>::NodeRef n, int weight)
- typename Node<A>::NodeRef pop ()
- bool empty ()
Tentative nodes in a priority queue.
void add (typename Node<A>::NodeRef n, int weight)
| add |
Add or Update the weight of a node.
typename Node<A>::NodeRef pop ()
| pop |
Pop the node with lowest weight.
Generated by: pavlin on possum.icir.org on Wed Apr 13 21:52:51 2005, using kdoc $.