class PriorityQueue
|
Tentative nodes in a priority queue. More... |
|
|
Public Methods
- bool add (typename Node<A>::NodeRef n, int weight)
- typename Node<A>::NodeRef pop ()
- bool empty ()
Tentative nodes in a priority queue.
bool add (typename Node<A>::NodeRef n, int weight)
| add |
Add or Update the weight of a node.
Returns: true if the weight was used.
typename Node<A>::NodeRef pop ()
| pop |
Pop the node with lowest weight.
Generated by: bms on anglepoise.lon.incunabulum.net on Wed Jul 23 10:05:37 2008, using kdoc 2.0a54+XORP.