Show/Hide Toolbars

RiverSoftAVG Products Help

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

TCustomHeap.PushDown(Integer) Method

Scroll Prev Top Next More

Push the Parent down the tree if it is smaller (according to    Order) than one of its children

The DataStructures.TCustomHeap.PushUp(Integer) and DataStructures.TCustomHeap.PushDown(Integer) methods maintain the sort order of the heap. These methods are O(n) in efficiency.

Namespace: DataStructures



Type: Integer

Return Value

Type: THeapElement

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb