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;HeapifyInternal
&40;
RangeValueType &42; First,
IndexType Num,
ProjectionType Projection,
PredicateType Predicate
&41;
}
Remarks
Builds an implicit min-heap from a range of elements. This is the internal function used by Heapify overrides.
Parameters
| Name | Description |
|---|---|
| First | pointer to the first element to heapify |
| Num | the number of items to heapify |
| Projection | The projection to apply to the elements. |
| Predicate | A binary predicate object used to specify if one element should precede another. |