Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ReduceByIndex< Key >::Result Struct Reference

Detailed Description

template<typename Key>
struct thrill::core::ReduceByIndex< Key >::Result

Definition at line 87 of file reduce_functional.hpp.

#include <reduce_functional.hpp>

Public Member Functions

size_t local_index (size_t size) const
 

Public Attributes

size_t global_index
 index of the item among all local partition More...
 
size_t num_buckets_per_partition
 saved parameter More...
 
size_t partition_id
 which partition number the item belongs to. More...
 

Member Function Documentation

size_t local_index ( size_t  size) const
inline

calculate local index into a partition containing a hash table of smaller size

Definition at line 97 of file reduce_functional.hpp.

References ReduceByIndex< Key >::Result::global_index, and ReduceByIndex< Key >::Result::num_buckets_per_partition.

Member Data Documentation

size_t global_index

index of the item among all local partition

Definition at line 91 of file reduce_functional.hpp.

Referenced by ReduceByIndex< Key >::Result::local_index().

size_t num_buckets_per_partition

saved parameter

Definition at line 93 of file reduce_functional.hpp.

Referenced by ReduceByIndex< Key >::Result::local_index().

size_t partition_id

which partition number the item belongs to.

Definition at line 89 of file reduce_functional.hpp.


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