|
Geogram Version 1.9.7
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 | |
| namespace | GEO |
| Global Vorpaline namespace. | |
Functions | |
| bool | GEO::uses_parallel_algorithm () |
| Checks whether parallel algorithms are used. | |
| template<typename ITERATOR > | |
| void | GEO::sort (const ITERATOR &begin, const ITERATOR &end) |
| Sorts elements in parallel. | |
| template<typename ITERATOR , typename CMP > | |
| void | GEO::sort (const ITERATOR &begin, const ITERATOR &end, const CMP &cmp) |
| Sorts elements in parallel. | |
| template<typename VECTOR > | |
| void | GEO::sort_unique (VECTOR &v) |
| Sorts a vector and suppresses all duplicated elements. | |
| template<typename ITERATOR > | |
| void | GEO::sort_3 (ITERATOR items) |
| Specialized sort routine for 3 elements. | |
| template<typename ITERATOR > | |
| void | GEO::sort_4 (ITERATOR items) |
| Specialized sort routine for 4 elements. | |
| template<typename ITERATOR > | |
| void | GEO::random_shuffle (const ITERATOR &begin, const ITERATOR &end) |
| Applies a random permutation to a sequence. | |
Wrappers around parallel implementation of STL.
Definition in file algorithm.h.
| #define GEO_USE_GCC_PARALLEL_STL |
Definition at line 48 of file algorithm.h.