|
Graphviz 14.1.3~dev.20260206.1255
|
snode priority queue for shortPath in sgraph More...
Go to the source code of this file.
Macros | |
| #define | N_VAL(n) (n)->n_val |
| #define | N_IDX(n) (n)->n_idx |
| #define | N_DAD(n) (n)->n_dad |
| #define | N_EDGE(n) (n)->n_edge |
| #define | E_WT(e) (e->weight) |
Functions | |
| pq_t * | PQgen (int sz) |
| void | PQfree (pq_t *pq) |
| void | PQinit (pq_t *pq) |
| int | PQ_insert (pq_t *pq, snode *np) |
| 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().
| 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().