Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MergeNode< ValueType, Comparator, kNumInputs >::ReducePivots Class Reference

Detailed Description

template<typename ValueType, typename Comparator, size_t kNumInputs>
class thrill::api::MergeNode< ValueType, Comparator, kNumInputs >::ReducePivots

Reduce functor that returns the pivot originating from the biggest range. That removes some nasty corner cases, like selecting the same pivot over and over again from a tiny range.

Definition at line 231 of file merge.hpp.

Public Member Functions

Pivot operator() (const Pivot &a, const Pivot &b) const

Member Function Documentation

Pivot operator() ( const Pivot a,
const Pivot b 
) const

The documentation for this class was generated from the following file: