|
Graphviz 14.0.3~dev.20251025.1733
|
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 | |
| void | PQgen (int sz) |
| void | PQfree (void) |
| void | PQinit (void) |
| void | PQcheck (void) |
| void | PQupheap (int) |
| int | PQ_insert (snode *np) |
| void | PQdownheap (int k) |
| snode * | PQremove (void) |
| void | PQupdate (snode *n, int d) |
| void | PQprint (void) |
| int PQ_insert | ( | snode * | np | ) |
Definition at line 80 of file fPQ.c.
References agerrorf(), PQcheck(), PQcnt, PQsize, and PQupheap().
Referenced by shortPath().
| void PQcheck | ( | void | ) |
Definition at line 50 of file fPQ.c.
Referenced by PQ_insert(), PQremove(), and PQupdate().
| void PQdownheap | ( | int | k | ) |
| void PQfree | ( | void | ) |
Definition at line 36 of file fPQ.c.
References free(), NULL, and PQcnt.
Referenced by makeMultiSpline(), and orthoEdges().
| void PQgen | ( | int | sz | ) |
Definition at line 25 of file fPQ.c.
References guard, gv_calloc(), PQcnt, and PQsize.
Referenced by makeMultiSpline(), and orthoEdges().
| void PQinit | ( | void | ) |
Definition at line 44 of file fPQ.c.
References PQcnt.
Referenced by shortPath(), and triPath().
| void PQprint | ( | void | ) |
| snode * PQremove | ( | void | ) |
Definition at line 121 of file fPQ.c.
References PQcheck(), PQcnt, and PQdownheap().
Referenced by shortPath(), and triPath().
| void PQupdate | ( | snode * | n, |
| int | d | ||
| ) |
Definition at line 137 of file fPQ.c.
References snode::n_idx, N_VAL, PQcheck(), and PQupheap().
Referenced by shortPath(), and triPath().
| void PQupheap | ( | int | k | ) |
Definition at line 62 of file fPQ.c.
References N_IDX, N_VAL, and snode::n_val.
Referenced by PQ_insert(), and PQupdate().