int n
number of elements in pq
void * minpq_extract_min(struct min_pq *min_pq)
Removes and returns the element of a minimizing priority queue with the smallest key.
a minimizing priority queue
GLsizei GLsizei GLenum GLenum const GLvoid * data
int minpq_insert(struct min_pq *min_pq, void *data, int key)
Inserts an element into a minimizing priority queue.
void * minpq_get_min(struct min_pq *min_pq)
Returns the element of a minimizing priority queue with the smallest key without removing it from the...
struct pq_node * pq_array
an element in a minimizing priority queue
struct min_pq * minpq_init()
Creates a new minimizing priority queue.
void minpq_release(struct min_pq **min_pq)
De-allocates the memory held by a minimizing priorioty queue.
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST | |