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.