Thrill  0.1
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

◆ PickPivots()

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

◆ Select()

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

Variable Documentation

◆ base_case_size

constexpr size_t base_case_size = 1024
static

Definition at line 37 of file select.hpp.

◆ debug

constexpr bool debug = false
static

Definition at line 33 of file select.hpp.

◆ delta