class PriorityQueue

Tentative nodes in a priority queue. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

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.

bool  empty ()

empty


Generated by: pavlin on possum.icir.org on Wed Aug 2 15:36:02 2006, using kdoc $.