Navigation
API > API/Runtime > API/Runtime/Core
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Algo::IsHeapBy
(
const RangeType& Range, |
Verifies that the range is a min-heap (parent <= child). | Algo/IsHeap.h | |
bool Algo::IsHeapBy
(
const RangeType& Range, |
Verifies that the range is a min-heap (parent <= child) | Algo/IsHeap.h |
Algo::IsHeapBy(const RangeType &, ProjectionType)
Description
Verifies that the range is a min-heap (parent <= child). Assumes < operator is defined for the projected element type.
| Name | Algo::IsHeapBy |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Algo/IsHeap.h |
| Include Path | #include "Algo/IsHeap.h" |
namespace Algo
{
template<typename RangeType, typename ProjectionType>
bool Algo::IsHeapBy
(
const RangeType & Range,
ProjectionType Projection
)
}
returns true if the range is a min-heap
Parameters
| Name | Remarks |
|---|---|
| Range | The range to verify. |
| Projection | The projection to apply to the elements. |
Algo::IsHeapBy(const RangeType &, ProjectionType, PredicateType)
Description
Verifies that the range is a min-heap (parent <= child)
| Name | Algo::IsHeapBy |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Algo/IsHeap.h |
| Include Path | #include "Algo/IsHeap.h" |
namespace Algo
{
template<typename RangeType, typename ProjectionType, typename PredicateType>
bool Algo::IsHeapBy
(
const RangeType & Range,
ProjectionType Projection,
PredicateType Predicate
)
}
returns true if the range is a min-heap
Parameters
| Name | Remarks |
|---|---|
| Range | The range to verify. |
| Projection | The projection to apply to the elements. |
| Predicate | A binary predicate object used to specify if one element should precede another. |