FibonacciHeapTElement Properties |
The FibonacciHeapTElement generic type exposes the following members.
Name | Description | |
---|---|---|
Count |
Gets the number of elements in the heap.
(Overrides HeapBaseTElementCount.) | |
ElementCompareFunc |
Gets the element compare func, which is the func to compare two elements based on the heap type: the function returns true if the first element
is indeed the correct parent of the second element or false if not.
(Inherited from HeapBaseTElement.) | |
IsMinHeap |
Gets a value indicating whether this instance is a min heap (true) or a max heap (false)
(Inherited from HeapBaseTElement.) | |
KeyCompareFunc |
Gets the key compare func to compare elements based on key.
(Inherited from HeapBaseTElement.) | |
Root |
Gets the root of the heap. Depending on the fact if this is a min or max heap, it returns the element with the minimum key (min heap) or the element
with the maximum key (max heap). If the heap is empty, null / default is returned
(Overrides HeapBaseTElementRoot.) |