Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
select.hpp File Reference
#include <thrill/api/bernoulli_sample.hpp>
#include <thrill/api/collapse.hpp>
#include <thrill/api/dia.hpp>
#include <thrill/api/gather.hpp>
#include <thrill/api/size.hpp>
#include <thrill/api/sum.hpp>
#include <thrill/common/logger.hpp>
#include <algorithm>
#include <cmath>
#include <functional>
#include <utility>
+ Include dependency graph for select.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 examples
 
 examples::select
 

Macros

#define LOGM   LOGC(debug && ctx.my_rank() == 0)
 
#define THRILL_EXAMPLES_SELECT_SELECT_HEADER
 

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
 

Macro Definition Documentation

#define LOGM   LOGC(debug && ctx.my_rank() == 0)

Definition at line 39 of file select.hpp.

Referenced by examples::select::PickPivots(), and examples::select::Select().

#define THRILL_EXAMPLES_SELECT_SELECT_HEADER

Definition at line 13 of file select.hpp.