21 #ifndef GRPPI_SEQ_MAPREDUCE_H 22 #define GRPPI_SEQ_MAPREDUCE_H 51 template <
typename InputIt,
typename Result,
typename Transformer,
54 InputIt first, InputIt last,
56 Transformer && transform_op, Combiner && combine_op)
58 Result out = identity;
63 auto x = transform_op(*first);
64 out = combine_op(out,x);
Definition: callable_traits.h:24
Result map_reduce(parallel_execution_native &ex, InputIt first, InputIt last, Result identity, Transformer &&transform_op, Combiner &&combine_op)
Invoke Map/reduce pattern on a data sequence with native parallel execution.
Definition: native/mapreduce.h:53
Sequential execution policy.
Definition: sequential_execution.h:31