HeapBaseTElementRoot Property |
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
Namespace: SD.Tools.Algorithmia.HeapsAssembly: SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.2.0.0 (1.2.14.1118)
Syntax public abstract TElement Root { get; }
Public MustOverride ReadOnly Property Root As TElement
Get
Property Value
Type:
TElementSee Also