#include "pqueue.h"
#include "helper.h"
Go to the source code of this file.
Function Documentation
TEMPLATE
- Parameters:
-
- Returns:
Definition at line 29 of file pqueue.c.
pop the data with highest priority in the PQ. if you need access to the priority as well, use pq_pop_node(). The corresponding node is removed from the PQ;
- Parameters:
-
Definition at line 91 of file pqueue.c.
pop a node in the PQ. use it if you need access to the priority value as well. You will need to free the node after usage yourself;
- Parameters:
-
Definition at line 74 of file pqueue.c.
PQnode* pqnode_init |
( |
void * |
c, |
|
|
double |
priority | |
|
) |
| | |