Arma Reforger Script API
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
SCR_Sorting< Class T, SCR_SortCompare TCompare > Interface Template Reference

Static Public Member Functions

static void HeapSort (array< T > a, bool inverse=false)
 Heapsort implementation Example usage: SCR_Sorting<MyClass>.HeapSort(myArray, myCompare, false);.
 
static int Heap_IdParent (int nodeId)
 
static int Heap_IdLeftChild (int nodeId)
 
static void Heap_SiftDown (array< T > a, int startId, int endId, bool inverse)
 
static void Heap_Init (array< T > a, bool inverse)
 Creates a heap in provided array.
 

Member Function Documentation

◆ Heap_IdLeftChild()

static int SCR_Sorting< Class T, SCR_SortCompare TCompare >.Heap_IdLeftChild ( int  nodeId)
static

◆ Heap_IdParent()

static int SCR_Sorting< Class T, SCR_SortCompare TCompare >.Heap_IdParent ( int  nodeId)
static

◆ Heap_Init()

static void SCR_Sorting< Class T, SCR_SortCompare TCompare >.Heap_Init ( array< T >  a,
bool  inverse 
)
static

Creates a heap in provided array.

◆ Heap_SiftDown()

static void SCR_Sorting< Class T, SCR_SortCompare TCompare >.Heap_SiftDown ( array< T >  a,
int  startId,
int  endId,
bool  inverse 
)
static

◆ HeapSort()

static void SCR_Sorting< Class T, SCR_SortCompare TCompare >.HeapSort ( array< T >  a,
bool  inverse = false 
)
static

Heapsort implementation Example usage: SCR_Sorting<MyClass>.HeapSort(myArray, myCompare, false);.


The documentation for this interface was generated from the following file: