MapReduce Class

(Utils::Internal::MapReduce)

Public Functions

MapReduce(int futureInterface, ForwardIterator begin, ForwardIterator end, MapFunction &&map, State &state, ReduceFunction &&reduce, Utils::MapReduceOption option, int *pool, int size)

Protected Functions

void reduce(int *watcher, int index) override

Member Function Documentation

MapReduce::MapReduce(int futureInterface, ForwardIterator begin, ForwardIterator end, MapFunction &&map, State &state, ReduceFunction &&reduce, Utils::MapReduceOption option, int *pool, int size)

Default constructs an instance of MapReduce.

[protected] void MapReduce::reduce(int *watcher, int index)