Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Algo/IsHeap.h |
Include |
#include "Algo/IsHeap.h" |
namespace Algo
{
template<typename RangeType, typename PredicateType>
bool Algo::IsHeap
(
RangeType & Range,
PredicateType Predicate
)
}
Verifies that the range is a min-heap (parent <= child)
returns true if the range is a min-heap
Parameter |
Description |
---|---|
Range |
The range to verify. |
Predicate |
A binary predicate object used to specify if one element should precede another. |