Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Algo/Heapify.h |
Include |
#include "Algo/Heapify.h" |
namespace Algo
{
template<typename RangeType, typename ProjectionType, typename PredicateType>
void Algo::HeapifyBy
(
RangeType & Range,
ProjectionType Projection
)
}
Builds an implicit min-heap from a range of elements. Assumes < operator is defined for the projected element type.
Parameter |
Description |
---|---|
Range |
The range to heapify. |
Projection |
The projection to apply to the elements. |