Show/Hide Toolbars

RiverSoftAVG Products Help

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

TIntHeap.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

Parameters

Parent

Type: Integer

Return Value

Type: THeapElement

Overrides

TCustomHeap.PushDown(Integer)
 

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb