44static bool gt(
double a_y,
double a_x,
double b_y,
double b_x) {
61 while ((next =
last->PQnext) !=
NULL &&
75 while (
last->PQnext != he)
static agxbuf last
last message
Memory allocation wrappers that exit on failure.
static void * gv_calloc(size_t nmemb, size_t size)
static void * gv_alloc(size_t size)
static Agobj_t * deref(Expr_t *pgm, Exnode_t *x, Exref_t *ref, Agobj_t *objp, Gpr_t *state)
swig_ptr_object_handlers offset
static bool gt(double a_y, double a_x, double b_y, double b_x)
a > b?
static int PQbucket(pq_t *pq, Halfedge *he)
bool PQempty(const pq_t *pq)
void PQdelete(pq_t *pq, Halfedge *he)
pq_t * PQinitialize(void)
Halfedge * PQextractmin(pq_t *pq)
void PQinsert(pq_t *pq, Halfedge *he, Site *v, double offset)
int hashsize
total allocated backing storage elements
Halfedge * hash
backing storage
int min
index of minimum element