Show/Hide Toolbars

RiverSoftAVG Products Help

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

TFloatHeap.Add(TObject,Single) Method

Scroll Prev Top Next More

Adds the item to the heap based on its priority.

When an item is added to the heap. It is pushed up from the bottom of the heap (the tree) until its Priority is not bigger (according to Order ) than any of its parents.

Namespace: DataStructures

Parameters

Item

Type: TObject

Priority

Type: Single

Return Value

Type: TFloatHeapElement

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb