Graphviz 12.0.1~dev.20240716.0800
|
#include <cgraph/alloc.h>
#include <common/render.h>
#include <stdbool.h>
#include <neatogen/mem.h>
#include <neatogen/hedges.h>
#include <neatogen/heap.h>
Go to the source code of this file.
Functions | |
static int | PQbucket (Halfedge *he) |
void | PQinsert (Halfedge *he, Site *v, double offset) |
void | PQdelete (Halfedge *he) |
bool | PQempty (void) |
Point | PQ_min (void) |
Halfedge * | PQextractmin (void) |
void | PQcleanup (void) |
void | PQinitialize (void) |
Variables | |
static Halfedge * | PQhash |
static int | PQhashsize |
static int | PQcount |
static int | PQmin |
Point PQ_min | ( | void | ) |
Definition at line 83 of file heap.c.
References Site::coord, NULL, PQhash, PQmin, Halfedge::PQnext, Halfedge::vertex, Point::x, Point::y, and Halfedge::ystar.
Referenced by voronoi().
|
static |
Definition at line 25 of file heap.c.
References deltay, PQhashsize, PQmin, ymin, and Halfedge::ystar.
Referenced by PQdelete(), and PQinsert().
void PQcleanup | ( | void | ) |
void PQdelete | ( | Halfedge * | he | ) |
Definition at line 61 of file heap.c.
References deref(), last, NULL, PQbucket(), PQcount, PQhash, Halfedge::PQnext, and Halfedge::vertex.
Referenced by voronoi().
bool PQempty | ( | void | ) |
Halfedge * PQextractmin | ( | void | ) |
void PQinitialize | ( | void | ) |
Definition at line 111 of file heap.c.
References gv_calloc(), NULL, PQcount, PQhash, PQhashsize, PQmin, and sqrt_nsites.
Referenced by voronoi().
Definition at line 42 of file heap.c.
References Site::coord, last, NULL, offset, PQbucket(), PQcount, PQhash, Halfedge::PQnext, ref(), Halfedge::vertex, Point::x, Point::y, and Halfedge::ystar.
Referenced by triPath(), and voronoi().
|
static |
Definition at line 22 of file heap.c.
Referenced by PQdelete(), PQempty(), PQextractmin(), PQinitialize(), and PQinsert().
|
static |
Definition at line 20 of file heap.c.
Referenced by PQ_min(), PQcleanup(), PQdelete(), PQextractmin(), PQinitialize(), and PQinsert().
|
static |
Definition at line 21 of file heap.c.
Referenced by PQbucket(), and PQinitialize().
|
static |
Definition at line 23 of file heap.c.
Referenced by PQ_min(), PQbucket(), PQextractmin(), and PQinitialize().