Functions | |
template<class ARRAY_TYPE, class TYPE> | |
void | ReverseOrder (ARRAY_TYPE &Array) |
Reverses the order of an array. | |
template<class ARRAY_TYPE, class TYPE, typename COMPTYPE> | |
void | FQuickSort (ARRAY_TYPE &Array, COMPTYPE(TYPE::*pFunctionCall)(void) const) |
Wrapper for the function call sort. | |
template<class ARRAY_TYPE, class TYPE, typename COMPTYPE> | |
void | FQuickSort (ARRAY_TYPE &Array, COMPTYPE(TYPE::*pFunctionCall)(void) const , int lo0, int hi0) |
Sorts an array by calling a function for each object in the array e.g. GetLength(). | |
template<class ARRAY_TYPE, class TYPE> | |
void | FQuickSort (ARRAY_TYPE &Array, bool(*pSwitchIfTrue)(TYPE &, TYPE &)) |
Wrapper for the function based sort. | |
template<class ARRAY_TYPE, class TYPE> | |
void | FQuickSort (ARRAY_TYPE &Array, bool(*pSwitchIfTrue)(TYPE &, TYPE &), int lo0, int hi0) |
Sorts an array by calling a function which takes 2 objects in the array and returns true if the first should be ordered after the second. | |
template<class ARRAY_TYPE, class TYPE> | |
void | SQuickSort (ARRAY_TYPE &Array) |
Wrapper for a simple quicksort. | |
template<class ARRAY_TYPE, class TYPE> | |
void | SQuickSort (ARRAY_TYPE &Array, int lo0, int hi0) |
Straight forward quicksort. | |
template<class ARRAY_TYPE, class TYPE, class PARRAY_TYPE, class PTYPE> | |
void | PQuickSort (ARRAY_TYPE &Array, PARRAY_TYPE &ParallelArray) |
Wrapper for a Parallel quicksort. | |
template<class ARRAY_TYPE, class TYPE, class PARRAY_TYPE, class PTYPE> | |
void | PQuickSort (ARRAY_TYPE &Array, PARRAY_TYPE &ParArray, int lo0, int hi0) |
Parallel quicksort which sorts the first array by its elements whilst also sorting the second in the same way. |
--------------------------------------------------------------------------
---------------------------------------------------------------------------
|
Sorts an array by calling a function which takes 2 objects in the array and returns true if the first should be ordered after the second.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Wrapper for the function based sort.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Sorts an array by calling a function for each object in the array e.g. GetLength().
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Wrapper for the function call sort.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Parallel quicksort which sorts the first array by its elements whilst also sorting the second in the same way.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Wrapper for a Parallel quicksort.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Reverses the order of an array.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Straight forward quicksort.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Wrapper for a simple quicksort.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |