Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Algo
Classes
| Type | Name | Description | |
|---|---|---|---|
| TRangePointerType | Traits class whose Type member is the pointer type to an element of the range. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| IndexType | AlgoImpl::HeapGetLeftChildIndex
(
IndexType Index |
Gets the index of the left child of node at Index. | |
| IndexType | AlgoImpl::HeapGetParentIndex
(
IndexType Index |
Gets the parent index for node at Index. | |
| void | AlgoImpl::HeapifyInternal
(
RangeValueType* First, |
Builds an implicit min-heap from a range of elements. | |
| bool | AlgoImpl::HeapIsLeaf
(
IndexType Index, |
Checks if node located at Index is a leaf or not. | |
| void | AlgoImpl::HeapSiftDown
(
RangeValueType* Heap, |
Fixes a possible violation of order property between node at Index and a child. | |
| IndexType | AlgoImpl::HeapSiftUp
(
RangeValueType* Heap, |
Fixes a possible violation of order property between node at NodeIndex and a parent. | |
| void | AlgoImpl::HeapSortInternal
(
RangeValueType* First, |
Performs heap sort on the elements. |