|
|
Theap Struct ReferenceA generic binary heap. More...
Collaboration diagram for Theap:
Detailed DescriptionA generic binary heap. Definition at line 88 of file heap.h. Field DocumentationThe binary heap stored as a vector Definition at line 90 of file heap.h. Referenced by AddElement2Heap(), CopyHeap(), DeleteHeap(), ExtractMinElement(), GetHeapElement(), HeapDown(), HeapUp(), InitHeap(), and ResetHeap(). TRUE if elements have associated identifiers. Definition at line 91 of file heap.h. Referenced by AddElement2Heap(), CopyHeap(), DeleteHeap(), ExtractMinElement(), GetHeapElementWithID(), GetHeapPosition(), HeapDown(), HeapUp(), InitHeap(), ResetHeap(), and UpdateHeapElement(). Used to efficiently retrive the position in the heap of an object given its identifier Definition at line 92 of file heap.h. Referenced by AddElement2Heap(), CopyHeap(), DeleteHeap(), ExtractMinElement(), GetHeapPosition(), HeapDown(), HeapUp(), InitHeap(), and ResetHeap(). Used to efficiently retrive the identifier of the object given its position in the heap Definition at line 94 of file heap.h. Referenced by AddElement2Heap(), CopyHeap(), DeleteHeap(), ExtractMinElement(), HeapDown(), HeapUp(), InitHeap(), and ResetHeap().
Last vector position used so far. Definition at line 96 of file heap.h. Referenced by AddElement2Heap(), CopyHeap(), ExtractMinElement(), HeapEmpty(), HeapSize(), InitHeap(), and ResetHeap().
The comparison operator to sort the elements in the heap. Definition at line 97 of file heap.h. Referenced by CopyHeap(), HeapDown(), HeapUp(), and InitHeap().
Pointer to a user defined block of data that is passed to the LessThan operator as a third parameter. This allows to define complex LessThan operators such as comparision with a prototype and not just direct comparison between the two elements in the heap. Definition at line 99 of file heap.h. Referenced by CopyHeap(), HeapDown(), HeapUp(), and InitHeap(). The documentation for this struct was generated from the following file:
|