|
Graphviz 14.1.3~dev.20260204.1019
|
Go to the source code of this file.
Data Structures | |
| struct | pq |
Functions | |
| pq_t * | PQgen (int sz) |
| void | PQfree (pq_t *pq) |
| void | PQinit (pq_t *pq) |
| static void | PQcheck (const pq_t *pq) |
| static void | PQupheap (pq_t *pq, int k) |
| int | PQ_insert (pq_t *pq, snode *np) |
| static void | PQdownheap (pq_t *pq, int k) |
| snode * | PQremove (pq_t *pq) |
| void | PQupdate (pq_t *pq, snode *n, int d) |
| pq | Priority queue to insert into |
Definition at line 66 of file fPQ.c.
References agerrorf(), pq::cnt, pq::pq, PQcheck(), PQupheap(), and pq::size.
Referenced by shortPath().
|
static |
Definition at line 44 of file fPQ.c.
References pq::cnt, N_IDX, and pq::pq.
Referenced by PQ_insert(), PQremove(), and PQupdate().
|
static |
| void PQfree | ( | pq_t * | pq | ) |
| pq | Priority queue to deallocate |
Definition at line 35 of file fPQ.c.
References free(), NULL, and pq::pq.
Referenced by makeMultiSpline(), and orthoEdges().
| pq_t * PQgen | ( | int | sz | ) |
Definition at line 26 of file fPQ.c.
References pq::cnt, pq::guard, gv_alloc(), gv_calloc(), pq::pq, and pq::size.
Referenced by makeMultiSpline(), and orthoEdges().
| void PQinit | ( | pq_t * | pq | ) |
| pq | Priority queue to initialize |
Definition at line 42 of file fPQ.c.
References pq::cnt.
Referenced by shortPath(), and triPath().
| pq | Priority queue to pop |
Definition at line 102 of file fPQ.c.
References pq::cnt, pq::pq, PQcheck(), and PQdownheap().
Referenced by shortPath(), and triPath().
| pq | Priority queue to update |
Definition at line 115 of file fPQ.c.
References snode::n_idx, N_VAL, PQcheck(), and PQupheap().
Referenced by shortPath(), and triPath().
|
static |
Definition at line 50 of file fPQ.c.
References N_IDX, N_VAL, snode::n_val, and pq::pq.
Referenced by PQ_insert(), and PQupdate().