Navigation
API > API/Runtime > API/Runtime/Core
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Algo::HeapifyBy
(
RangeType&& Range, |
Builds an implicit min-heap from a range of elements. | Algo/Heapify.h | |
void Algo::HeapifyBy
(
RangeType&& Range, |
Builds an implicit min-heap from a range of elements. | Algo/Heapify.h |
Algo::HeapifyBy(RangeType &&, ProjectionType)
Description
Builds an implicit min-heap from a range of elements. Assumes < operator is defined for the projected element type.
| Name | Algo::HeapifyBy |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Algo/Heapify.h |
| Include Path | #include "Algo/Heapify.h" |
namespace Algo
{
template<typename RangeType, typename ProjectionType, typename PredicateType>
void Algo::HeapifyBy
(
RangeType && Range,
ProjectionType Projection
)
}
Parameters
| Name | Remarks |
|---|---|
| Range | The range to heapify. |
| Projection | The projection to apply to the elements. |
Algo::HeapifyBy(RangeType &&, ProjectionType, PredicateType)
Description
Builds an implicit min-heap from a range of elements.
| Name | Algo::HeapifyBy |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Algo/Heapify.h |
| Include Path | #include "Algo/Heapify.h" |
namespace Algo
{
template<typename RangeType, typename ProjectionType, typename PredicateType>
void Algo::HeapifyBy
(
RangeType && Range,
ProjectionType Projection,
PredicateType Predicate
)
}
Parameters
| Name | Remarks |
|---|---|
| Range | The range to heapify. |
| Projection | The projection to apply to the elements. |
| Predicate | A binary predicate object used to specify if one element should precede another. |