Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSCommon > DataStructures > Classes > TFloatHeap > Methods

TFloatHeap.Delete(Integer) Method

Scroll Prev Top Next More

Deletes the node or heap element at the specified index in the heap. The item at the specified node is returned.

If the item to delete is the last one, delete it and shrink the tree, the tree will still be a heap. Otherwise, delete replace the item with the lowest, rightmost item in the heap and "reheapify".

Namespace: DataStructures

Parameters

Index

Type: Integer

Return Value

Type: TObject

Overrides

TCustomHeap.Delete(Integer)
 

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb