Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
examples::select Namespace Reference

Functions

template<typename ValueType , typename InStack , typename Compare = std::less<ValueType>>
std::pair< ValueType, ValueType > PickPivots (const DIA< ValueType, InStack > &data, size_t size, size_t rank, const Compare &compare=Compare())
 
template<typename ValueType , typename InStack , typename Compare = std::less<ValueType>>
ValueType Select (const DIA< ValueType, InStack > &data, size_t rank, const Compare &compare=Compare())
 

Variables

static constexpr size_t base_case_size = 1024
 
static constexpr bool debug = false
 
static constexpr double delta = 0.1
 

Function Documentation

std::pair<ValueType, ValueType> examples::select::PickPivots ( const DIA< ValueType, InStack > &  data,
size_t  size,
size_t  rank,
const Compare &  compare = Compare() 
)
ValueType examples::select::Select ( const DIA< ValueType, InStack > &  data,
size_t  rank,
const Compare &  compare = Compare() 
)

Variable Documentation

constexpr size_t base_case_size = 1024
static

Definition at line 37 of file select.hpp.

Referenced by Select().

constexpr bool debug = false
static

Definition at line 33 of file select.hpp.

constexpr double delta = 0.1
static