MapReduceBase Class

(Utils::Internal::MapReduceBase)

Public Functions

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

Protected Functions

void cancelAll()
void mapFinished(int *watcher)
virtual void reduce(int *watcher, int index) = 0
bool schedule()
void updateProgress()

Member Function Documentation

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

Default constructs an instance of MapReduceBase.

[protected] void MapReduceBase::cancelAll()

void MapReduceBase::exec()

[protected] void MapReduceBase::mapFinished(int *watcher)

[pure virtual protected] void MapReduceBase::reduce(int *watcher, int index)

[protected] bool MapReduceBase::schedule()

[protected] void MapReduceBase::updateProgress()