#include <pr_queue.h>
Classes | |
struct | pq_node |
Public Member Functions | |
ANNpr_queue (int max) | |
ANNbool | empty () |
void | extr_min (PQkey &kv, PQinfo &inf) |
void | insert (PQkey kv, PQinfo inf) |
ANNbool | non_empty () |
void | reset () |
~ANNpr_queue () | |
Private Attributes | |
int | max_size |
int | n |
pq_node * | pq |
Definition at line 54 of file pr_queue.h.
ANNpr_queue::ANNpr_queue | ( | int | max | ) | [inline] |
Definition at line 65 of file pr_queue.h.
ANNpr_queue::~ANNpr_queue | ( | ) | [inline] |
Definition at line 72 of file pr_queue.h.
ANNbool ANNpr_queue::empty | ( | ) | [inline] |
Definition at line 75 of file pr_queue.h.
Definition at line 102 of file pr_queue.h.
Definition at line 84 of file pr_queue.h.
ANNbool ANNpr_queue::non_empty | ( | ) | [inline] |
Definition at line 78 of file pr_queue.h.
void ANNpr_queue::reset | ( | ) | [inline] |
Definition at line 81 of file pr_queue.h.
int ANNpr_queue::max_size [private] |
Definition at line 61 of file pr_queue.h.
int ANNpr_queue::n [private] |
Definition at line 60 of file pr_queue.h.
pq_node* ANNpr_queue::pq [private] |
Definition at line 62 of file pr_queue.h.