![]() |
Prusa Slicer 2.6.0
|
#include <stddef.h>#include <assert.h>#include "priorityq-heap.h"#include "memalloc.h"#include "geom.h"
Include dependency graph for priorityq-heap.c:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | INIT_SIZE 32 |
| #define | TRUE 1 |
| #define | FALSE 0 |
| #define | LEQ(x, y) VertLeq((GLUvertex *)x, (GLUvertex *)y) |
Functions | |
| PriorityQ * | pqNewPriorityQ (int(*leq)(PQkey key1, PQkey key2)) |
| void | pqDeletePriorityQ (PriorityQ *pq) |
| static void | FloatDown (PriorityQ *pq, long curr) |
| static void | FloatUp (PriorityQ *pq, long curr) |
| void | pqInit (PriorityQ *pq) |
| PQhandle | pqInsert (PriorityQ *pq, PQkey keyNew) |
| PQkey | pqExtractMin (PriorityQ *pq) |
| void | pqDelete (PriorityQ *pq, PQhandle hCurr) |
| #define FALSE 0 |
| #define INIT_SIZE 32 |
| #define TRUE 1 |
References PQnode::handle, PriorityQ::handles, LEQ, PQhandleElem::node, PriorityQ::nodes, and PriorityQ::size.
Referenced by pqDelete(), pqExtractMin(), and pqInit().
Here is the caller graph for this function:References PQnode::handle, PriorityQ::handles, LEQ, PQhandleElem::node, and PriorityQ::nodes.
Referenced by pqDelete(), and pqInsert().
Here is the caller graph for this function:References FloatDown(), FloatUp(), PriorityQ::freeList, PQnode::handle, PriorityQ::handles, PQhandleElem::key, LEQ, PQhandleElem::node, PriorityQ::nodes, and PriorityQ::size.
Here is the call graph for this function:References PriorityQ::handles, memFree, and PriorityQ::nodes.
References FloatDown(), PriorityQ::freeList, PQnode::handle, PriorityQ::handles, PQhandleElem::key, PQhandleElem::node, PriorityQ::nodes, and PriorityQ::size.
Here is the call graph for this function:References FloatDown(), PriorityQ::initialized, PriorityQ::size, and TRUE.
Here is the call graph for this function:References FloatUp(), PriorityQ::freeList, PQnode::handle, PriorityQ::handles, PriorityQ::initialized, PQhandleElem::key, PriorityQ::max, memRealloc, PQhandleElem::node, PriorityQ::nodes, and PriorityQ::size.
Here is the call graph for this function:References FALSE, PriorityQ::freeList, PQnode::handle, PriorityQ::handles, INIT_SIZE, PriorityQ::initialized, PQhandleElem::key, PriorityQ::leq, PriorityQ::max, memAlloc, memFree, PriorityQ::nodes, and PriorityQ::size.