Navigation: Code Documentation > RSCommon > DataStructures > Classes > TIntHeap > Methods
TIntHeap.ModifyPriority(THeapElement) Method
Modifies the priority the heap element in the heap. The index of the element is returned.
Namespace: DataStructures
Delphi
public function ModifyPriority(Index: THeapElement): Integer; overload; override;
Parameters
Index
Type: THeapElement
Type: Integer
TCustomHeap.ModifyPriority(THeapElement)
•TIntHeap
•DataStructures