![]() |
Leptonica 1.85.0
Image processing and image analysis suite
|
#include <heap.h>
Data Fields | |
| l_int32 | nalloc |
| l_int32 | n |
| void ** | array |
| l_int32 | direction |
| void** L_Heap::array |
ptr array
Definition at line 81 of file heap.h.
Referenced by lheapAdd(), lheapCreate(), lheapDestroy(), lheapExtendArray(), lheapGetElement(), lheapPrint(), lheapRemove(), lheapSwapDown(), and lheapSwapUp().
| l_int32 L_Heap::direction |
L_SORT_INCREASING or L_SORT_DECREASING
Definition at line 82 of file heap.h.
Referenced by lheapCreate(), lheapSwapDown(), and lheapSwapUp().
| l_int32 L_Heap::n |
number of elements stored in the heap
Definition at line 80 of file heap.h.
Referenced by lheapAdd(), lheapCreate(), lheapDestroy(), lheapGetCount(), lheapGetElement(), lheapPrint(), lheapRemove(), lheapSort(), lheapSortStrictOrder(), lheapSwapDown(), lheapSwapUp(), and pixMedianCutQuantGeneral().
| l_int32 L_Heap::nalloc |
size of allocated ptr array
Definition at line 79 of file heap.h.
Referenced by lheapAdd(), lheapCreate(), lheapExtendArray(), and lheapPrint().