Defines a heap which uses a user passed Compare function to sort the object items in the heap.
A heap is a complete binary tree where every node's value is guaranteed to be greater (or lesser depending on Order and its comparison function) than its children's values. The Count is 0 to Max-1.
Namespace: DataStructures
TPersistent |
Delphi |
type |
|
|
|