|
template<class random_it_t > |
bool | qx::sort_required (random_it_t begin, random_it_t end) |
| Check if sort really needed. More...
|
|
template<class random_it_t , class compare_t = std::less<>> |
void | qx::sort_insertion (random_it_t begin, random_it_t end, compare_t compare=compare_t()) |
| Insertion sort. More...
|
|
template<class container_t , class compare_t = std::less<>> |
void | qx::sort_insertion (container_t &cont, compare_t compare=compare_t()) |
| Insertion sort. More...
|
|
template<class random_it_t , class compare_t = std::less<>> |
void | qx::sort_selection (random_it_t begin, random_it_t end, compare_t compare=compare_t()) |
| Selection sort. More...
|
|
template<class container_t , class compare_t = std::less<>> |
void | qx::sort_selection (container_t &cont, compare_t compare=compare_t()) |
| Selection sort. More...
|
|
template<class random_it_t , class compare_t = std::less<>> |
void | qx::sort_bubble (random_it_t begin, random_it_t end, compare_t compare=compare_t()) |
| Bubble sort. More...
|
|
template<class container_t , class compare_t = std::less<>> |
void | qx::sort_bubble (container_t &cont, compare_t compare=compare_t()) |
| Bubble sort. More...
|
|
template<class random_it_t , class compare_t > |
void | qx::adjust_heap (random_it_t begin, size_t nHeapSize, size_t nPosition, compare_t compare=compare_t()) |
| Adjust heap. More...
|
|
template<class random_it_t , class compare_t > |
void | qx::make_heap (random_it_t begin, random_it_t end, compare_t compare=compare_t()) |
| Make heap at range. More...
|
|
template<class random_it_t , class compare_t = std::less<>> |
void | qx::sort_heap (random_it_t begin, random_it_t end, compare_t compare=compare_t()) |
| Heap sort. More...
|
|
template<class container_t , class compare_t = std::less<>> |
void | qx::sort_heap (container_t &cont, compare_t compare=compare_t()) |
| Heap sort. More...
|
|
template<class random_it_t , class compare_t = std::less<>> |
void | qx::sort_quick_hoare (random_it_t begin, random_it_t end, compare_t compare=compare_t()) |
| Quick sort based on Hoare partitioning. More...
|
|
template<class container_t , class compare_t = std::less<>> |
void | qx::sort_quick_hoare (container_t &cont, compare_t compare=compare_t()) |
| Quick sort based on Hoare partitioning. More...
|
|
template<class random_it_t , class compare_t = std::less<>> |
void | qx::sort_quick_three_way (random_it_t begin, random_it_t end, compare_t compare=compare_t()) |
| Quick sort based on three-way partitioning. More...
|
|
template<class container_t , class compare_t = std::less<>> |
void | qx::sort_quick_three_way (container_t &cont, compare_t compare=compare_t()) |
| Quick sort based on three-way partitioning. More...
|
|
template<class random_it_t , class compare_t = std::less<>> |
void | qx::sort_quick_dual_pivot (random_it_t begin, random_it_t end, compare_t compare=compare_t()) |
| Quick sort based on dual-pivot partitioning. More...
|
|
template<class container_t , class compare_t = std::less<>> |
void | qx::sort_quick_dual_pivot (container_t &cont, compare_t compare=compare_t()) |
| Quick sort based on dual-pivot partitioning. More...
|
|
template<class random_it_t , class compare_t = std::less<>> |
void | qx::merge (random_it_t begin, random_it_t end, compare_t compare=compare_t(), vector_of_values< random_it_t > *pPreallocatedBuffer=nullptr) |
| Merge with temp vector. More...
|
|
template<class random_it_t , class compare_t = std::less<>> |
void | qx::sort_merge (random_it_t begin, random_it_t end, compare_t compare=compare_t(), vector_of_values< random_it_t > *pPreallocatedBuffer=nullptr) |
| Merge sort based on merge with temp vector. More...
|
|
template<class container_t , class compare_t = std::less<>> |
void | qx::sort_merge (container_t &cont, compare_t compare=compare_t(), vector_of_values< typename container_t::iterator > *pPreallocatedBuffer=nullptr) |
| Merge sort based on merge with temp vector. More...
|
|
template<class random_it_t , class compare_t = std::less<>> |
bool | qx::sort_counting (random_it_t begin, random_it_t end, compare_t compare=compare_t(), size_t nMaxBufferSize=SORT_COUNTING_MAX_BUFFER_SIZE) |
| Counting sort for integral values. More...
|
|
template<class container_t , class compare_t = std::less<>> |
bool | qx::sort_counting (container_t &cont, compare_t compare=compare_t(), size_t nMaxBufferSize=SORT_COUNTING_MAX_BUFFER_SIZE) |
| Counting sort for integral values. More...
|
|
template<class random_it_t , class compare_t = std::less<>> |
void | qx::sort (random_it_t begin, random_it_t end, compare_t compare=compare_t()) |
| Sort by the most suitable algorithm. More...
|
|
template<class container_t , class compare_t = std::less<>> |
void | qx::sort (container_t &cont, compare_t compare=compare_t()) |
| Sort by the most suitable algorithm. More...
|
|
- Author
- Khrapov
- Date
- 1.03.2020
- Copyright
- © Nick Khrapov, 2021. All right reserved.
Definition in file sort.h.