UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
HeapSort.h File Reference

Go to the source code of this file.

Namespaces

namespace  uLang
 
namespace  uLang::AlgoImpl
 
namespace  uLang::Algo
 

Functions

ULANG_FORCEINLINE int32_t uLang::AlgoImpl::HeapGetLeftChildIndex (int32_t Index)
 
ULANG_FORCEINLINE bool uLang::AlgoImpl::HeapIsLeaf (int32_t Index, int32_t Count)
 
ULANG_FORCEINLINE int32_t uLang::AlgoImpl::HeapGetParentIndex (int32_t Index)
 
template<typename RangeValueType , typename ProjectionType , typename PredicateType >
ULANG_FORCEINLINE void uLang::AlgoImpl::HeapSiftDown (RangeValueType *Heap, int32_t Index, const int32_t Count, const ProjectionType &Projection, const PredicateType &Predicate)
 
template<class RangeValueType , typename ProjectionType , class PredicateType >
ULANG_FORCEINLINE int32_t uLang::AlgoImpl::HeapSiftUp (RangeValueType *Heap, int32_t RootIndex, int32_t NodeIndex, const ProjectionType &Projection, const PredicateType &Predicate)
 
template<typename RangeValueType , typename ProjectionType , typename PredicateType >
ULANG_FORCEINLINE void uLang::AlgoImpl::HeapifyInternal (RangeValueType *First, int32_t Num, ProjectionType Projection, PredicateType Predicate)
 
template<typename RangeValueType , typename ProjectionType , class PredicateType >
void uLang::AlgoImpl::HeapSortInternal (RangeValueType *First, int32_t Num, ProjectionType Projection, PredicateType Predicate)
 
template<typename RangeType >
ULANG_FORCEINLINE void uLang::Algo::HeapSort (RangeType &Range)
 
template<typename RangeType , typename PredicateType >
ULANG_FORCEINLINE void uLang::Algo::HeapSort (RangeType &Range, PredicateType Predicate)
 
template<typename RangeType , typename ProjectionType >
ULANG_FORCEINLINE void uLang::Algo::HeapSortBy (RangeType &Range, ProjectionType Projection)
 
template<typename RangeType , typename ProjectionType , typename PredicateType >
ULANG_FORCEINLINE void uLang::Algo::HeapSortBy (RangeType &Range, ProjectionType Projection, PredicateType Predicate)