Graphviz 13.0.0~dev.20241220.2304
|
Go to the source code of this file.
Typedefs | |
typedef struct pq | pq_t |
priority queue heap | |
Functions | |
pq_t * | PQinitialize (void) |
void | PQcleanup (pq_t *pq) |
Halfedge * | PQextractmin (pq_t *pq) |
Point | PQ_min (pq_t *pq) |
bool | PQempty (const pq_t *pq) |
void | PQdelete (pq_t *pq, Halfedge *) |
void | PQinsert (pq_t *pq, Halfedge *, Site *, double) |
Definition at line 88 of file heap.c.
References Site::coord, pq::hash, pq::min, NULL, Halfedge::PQnext, Halfedge::vertex, Point::x, Point::y, and Halfedge::ystar.
Referenced by voronoi().
void PQcleanup | ( | pq_t * | pq | ) |
Definition at line 70 of file heap.c.
References pq::count, deref(), pq::hash, last, NULL, PQbucket(), Halfedge::PQnext, and Halfedge::vertex.
Referenced by voronoi().
bool PQempty | ( | const pq_t * | pq | ) |
pq_t * PQinitialize | ( | void | ) |
Definition at line 113 of file heap.c.
References gv_alloc(), gv_calloc(), pq::hash, pq::hashsize, and sqrt_nsites.
Referenced by voronoi().
Definition at line 54 of file heap.c.
References Site::coord, pq::count, gt(), pq::hash, last, NULL, offset, PQbucket(), Halfedge::PQnext, ref(), Halfedge::vertex, Point::x, Point::y, and Halfedge::ystar.
Referenced by triPath(), and voronoi().