|
template<typename Execution , typename ... InputIterators, typename Identity , typename Transformer , typename Combiner , requires_iterators< InputIterators... > = 0> |
auto | grppi::map_reduce (const Execution &ex, std::tuple< InputIterators... > firsts, std::size_t size, Identity &&identity, Transformer &&transform_op, Combiner &&combine_op) |
| Invoke md_map-reduce on a data sequence. More...
|
|
template<typename Execution , typename ... InputIterators, typename InputIt , typename Identity , typename Transformer , typename Combiner , requires_iterators< InputIterators... > = 0, requires_iterator< InputIt > = 0> |
auto | grppi::map_reduce (const Execution &ex, std::tuple< InputIterators... > firsts, InputIt last, Identity &&identity, Transformer &&transform_op, Combiner &&combine_op) |
| Invoke md_map-reduce on a data sequence. More...
|
|
template<typename Execution , typename InputIterator , typename Identity , typename Transformer , typename Combiner , requires_iterator< InputIterator > = 0> |
auto | grppi::map_reduce (const Execution &ex, InputIterator first, InputIterator last, Identity &&identity, Transformer &&transform_op, Combiner &&combine_op) |
| Invoke md_map-reduce on a data sequence. More...
|
|
template<typename Execution , typename InputIterator , typename Identity , typename Transformer , typename Combiner , typename ... OtherInputIterators, requires_iterator< InputIterator > = 0> |
auto | grppi::map_reduce (const Execution &ex, InputIterator first, InputIterator last, Identity &&identity, Transformer &&transform_op, Combiner &&combine_op, OtherInputIterators ... other_firsts) |
| Invoke md_map-reduce on multiple data sequences. More...
|
|
template<typename Execution , typename InputIterator , typename Identity , typename Transformer , typename Combiner , requires_iterator< InputIterator > = 0>
auto grppi::map_reduce |
( |
const Execution & |
ex, |
|
|
InputIterator |
first, |
|
|
InputIterator |
last, |
|
|
Identity && |
identity, |
|
|
Transformer && |
transform_op, |
|
|
Combiner && |
combine_op |
|
) |
| |
Invoke md_map-reduce on a data sequence.
- Template Parameters
-
Execution | Execution type. |
InputIterator | Iterator type used for the input sequence. |
Identity | Type for the identity value. |
Transformer | Callable type for the transformation operation. |
Combiner | Callable type for the combination operation of the reduction. |
- Parameters
-
ex | Execution policy object. |
first | Iterator to the first element in the input sequence. |
last | Iterator to one past the end of the input sequence. |
identity | Identity value for the combination operation. |
transf_op | Transformation operation. |
combine_op | Combination operation. |
- Returns
- Result of the map/reduce operation.
template<typename Execution , typename InputIterator , typename Identity , typename Transformer , typename Combiner , typename ... OtherInputIterators, requires_iterator< InputIterator > = 0>
auto grppi::map_reduce |
( |
const Execution & |
ex, |
|
|
InputIterator |
first, |
|
|
InputIterator |
last, |
|
|
Identity && |
identity, |
|
|
Transformer && |
transform_op, |
|
|
Combiner && |
combine_op, |
|
|
OtherInputIterators ... |
other_firsts |
|
) |
| |
Invoke md_map-reduce on multiple data sequences.
- Template Parameters
-
Execution | Execution type. |
InputIterator | Iterator type used for the input sequence. |
Identity | Type for the identity value. |
Transformer | Callable type for the transformation operation. |
Combiner | Callable type for the combination operation of the reduction. |
- Parameters
-
ex | Execution policy object. |
first | Iterator to the first element in the input sequence. |
last | Iterator to one past the end of the input sequence. |
identity | Identity value for the combination operation. |
transf_op | Transformation operation. |
combine_op | Combination operation. |
- Returns
- Result of the map/reduce operation.
template<typename Execution , typename ... InputIterators, typename InputIt , typename Identity , typename Transformer , typename Combiner , requires_iterators< InputIterators... > = 0, requires_iterator< InputIt > = 0>
auto grppi::map_reduce |
( |
const Execution & |
ex, |
|
|
std::tuple< InputIterators... > |
firsts, |
|
|
InputIt |
last, |
|
|
Identity && |
identity, |
|
|
Transformer && |
transform_op, |
|
|
Combiner && |
combine_op |
|
) |
| |
Invoke md_map-reduce on a data sequence.
- Template Parameters
-
Execution | Execution type. |
InputIterators | Iterators types used for the input sequences. |
InputIt | Iterator type used for the fisrt input sequence. |
Identity | Type for the identity value. |
Transformer | Callable type for the transformation operation. |
Combiner | Callable type for the combination operation of the reduction. |
- Parameters
-
ex | Execution policy object. |
firsts | Tuple of iterators to the first elements in the input sequences. |
last | Iterator to one past the end of the input sequence. |
identity | Identity value for the combination operation. |
transf_op | Transformation operation. |
combine_op | Combination operation. |
- Returns
- Result of the map/reduce operation.
template<typename Execution , typename ... InputIterators, typename Identity , typename Transformer , typename Combiner , requires_iterators< InputIterators... > = 0>
auto grppi::map_reduce |
( |
const Execution & |
ex, |
|
|
std::tuple< InputIterators... > |
firsts, |
|
|
std::size_t |
size, |
|
|
Identity && |
identity, |
|
|
Transformer && |
transform_op, |
|
|
Combiner && |
combine_op |
|
) |
| |
Invoke md_map-reduce on a data sequence.
- Template Parameters
-
Execution | Execution type. |
InputIterators | Iterators types used for the input sequences. |
Identity | Type for the identity value. |
Transformer | Callable type for the transformation operation. |
Combiner | Callable type for the combination operation of the reduction. |
- Parameters
-
ex | Execution policy object. |
firsts | Tuple of iterators to the first elements in the input sequences. |
size | Size of the input sequence to be process. |
identity | Identity value for the combination operation. |
transf_op | Transformation operation. |
combine_op | Combination operation. |
- Returns
- Result of the map/reduce operation.