Geogram
Version 1.9.1
A programming library of geometric algorithms
|
Wrappers around parallel implementation of STL. More...
#include <geogram/basic/common.h>
#include <parallel/algorithm>
#include <algorithm>
#include <random>
Go to the source code of this file.
Namespaces | |
GEO | |
Global Vorpaline namespace. | |
Functions | |
bool | GEO::uses_parallel_algorithm () |
Checks whether parallel algorithms are used. More... | |
template<typename ITERATOR > | |
void | GEO::sort (const ITERATOR &begin, const ITERATOR &end) |
Sorts elements in parallel. More... | |
template<typename ITERATOR , typename CMP > | |
void | GEO::sort (const ITERATOR &begin, const ITERATOR &end, const CMP &cmp) |
Sorts elements in parallel. More... | |
template<typename VECTOR > | |
void | GEO::sort_unique (VECTOR &v) |
Sorts a vector and suppresses all duplicated elements. More... | |
template<typename ITERATOR > | |
void | GEO::sort_3 (ITERATOR items) |
Specialized sort routine for 3 elements. More... | |
template<typename ITERATOR > | |
void | GEO::sort_4 (ITERATOR items) |
Specialized sort routine for 4 elements. More... | |
template<typename ITERATOR > | |
void | GEO::random_shuffle (const ITERATOR &begin, const ITERATOR &end) |
Applies a random permutation to a sequence. More... | |
Wrappers around parallel implementation of STL.
Definition in file algorithm.h.