Geogram  Version 1.9.0
A programming library of geometric algorithms
algorithm.h File Reference

Wrappers around parallel implementation of STL. More...

#include <geogram/basic/common.h>
#include <parallel/algorithm>
#include <algorithm>

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...
 

Detailed Description

Wrappers around parallel implementation of STL.

Definition in file algorithm.h.