#include <pqueue.h>
成员变量 | |
size_t | size |
size_t | avail |
size_t | step |
pqueue_cmp_pri_f | cmppri |
pqueue_get_pri_f | getpri |
pqueue_set_pri_f | setpri |
pqueue_get_pos_f | getpos |
pqueue_set_pos_f | setpos |
void ** | d |
the priority queue handle
size_t pqueue_t::avail |
slots available in this queue
pqueue_cmp_pri_f pqueue_t::cmppri |
callback to compare nodes
void** pqueue_t::d |
The actualy queue in binary heap form
pqueue_get_pos_f pqueue_t::getpos |
callback to get position of a node
pqueue_get_pri_f pqueue_t::getpri |
callback to get priority of a node
pqueue_set_pos_f pqueue_t::setpos |
callback to set position of a node
pqueue_set_pri_f pqueue_t::setpri |
callback to set priority of a node
size_t pqueue_t::size |
number of elements in this queue
size_t pqueue_t::step |
growth stepping setting