Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Algo > API/Runtime/Core/Algo/Impl
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Algo/Impl/BinaryHeap.h |
| Include | #include "Algo/Impl/BinaryHeap.h" |
namespace AlgoImpl
{
template<typename RangeValueType, typename IndexType, typename ProjectionType, typename PredicateType>
void AlgoImpl&58;&58;HeapSiftDown
&40;
RangeValueType &42; Heap,
IndexType Index,
const IndexType Count,
const ProjectionType & Projection,
const PredicateType & Predicate
&41;
}
Remarks
Fixes a possible violation of order property between node at Index and a child.
Parameters
| Name | Description |
|---|---|
| Heap | Pointer to the first element of a binary heap. |
| Index | Node index. |
| Count | Size of the heap. |
| Projection | The projection to apply to the elements. |
| Predicate | A binary predicate object used to specify if one element should precede another. |