box_heap.c
Go to the documentation of this file.
Definition of the boolean type. void First(Titerator *i) Moves an iterator to the first position of its associated list. Definition: list.c:356 Collection of methods to work on Theap of boxes. double HeapOfBoxesVolume(boolean *used, Theap *h) Computes the volume of a heap. Definition: box_heap.c:31 double HeapOfBoxesMaxSize(boolean *used, Theap *h) Computes the maximum size for all boxes in a heap. Definition: box_heap.c:63 void AddElement2Heap(unsigned int id, void *e, Theap *heap) Adds an element to the heap. Definition: heap.c:294 void AddLastElement(void *Info, Tlist *list) Adds an element at the tail of the list. Definition: list.c:206 void * GetHeapElement(unsigned int i, Theap *heap) Returns a pointer to a heap element. Definition: heap.c:331 boolean EndOfList(Titerator *i) Checks if an iterator is pointing at the end of the list. Definition: list.c:445 Definitions of constants and macros used in several parts of the cuik library. double GetBoxDiagonal(boolean *used, Tbox *b) Computes the diagonal of a (sub-)box. Definition: box.c:654 void InitHeap(unsigned int ele_size, void(*Copy)(void *, void *), void(*Delete)(void *), boolean(*LessThan)(void *, void *, void *), void *userData, boolean hasIDs, unsigned int max_ele, Theap *heap) Constructor. Definition: heap.c:237 void PrintHeapOfBoxes(FILE *f, boolean *used, char *heading, Theap *h) Prints a heap of boxes. Definition: box_heap.c:110 #define NO_UINT Used to denote an identifier that has not been initialized. Definition: defines.h:435 void PrintBoxSubset(FILE *f, boolean *used, char **varNames, Tbox *b) Prints a (sub-)box. Definition: box.c:1138 double HeapOfBoxesMaxDiagonal(boolean *used, Theap *h) Computes the maximum diagonal for all boxes in a heap. Definition: box_heap.c:45 void InitHeapOfBoxes(boolean(*LessThan)(void *, void *, void *), void *userData, Theap *h) Constructor. Definition: box_heap.c:21 boolean Advance(Titerator *i) Moves an iterator to the next position of its associated list. Definition: list.c:373 Definition of the Tinterval type and the associated functions. |
Follow us!