|
Graphviz 14.0.3~dev.20251024.0124
|
Go to the source code of this file.
Functions | |
| void | PQgen (int sz) |
| void | PQfree (void) |
| void | PQinit (void) |
| void | PQcheck (void) |
| void | PQupheap (int k) |
| int | PQ_insert (snode *np) |
| void | PQdownheap (int k) |
| snode * | PQremove (void) |
| void | PQupdate (snode *n, int d) |
| void | PQprint (void) |
Variables | |
| static snode ** | pq |
| static int | PQcnt |
| static snode | guard |
| static int | PQsize |
| 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().
|
static |
Definition at line 21 of file fPQ.c.
Referenced by addCase(), mkStmts(), parseCase(), parseProg(), and PQgen().
|
static |
Definition at line 20 of file fPQ.c.
Referenced by PQ_insert(), PQcheck(), PQdownheap(), PQfree(), PQgen(), PQinit(), PQprint(), and PQremove().
|
static |
Definition at line 22 of file fPQ.c.
Referenced by PQ_insert(), and PQgen().