Interface for applyinng the md_divide-conquer.
More...
|
template<typename Execution , typename Input , typename Divider , typename Solver , typename Combiner > |
auto | grppi::divide_conquer (const Execution &ex, Input &&input, Divider &÷r_op, Solver &&solver_op, Combiner &&combiner_op) |
| Invoke md_divide-conquer. \parapm Execution Execution type. More...
|
|
template<typename Execution , typename Input , typename Divider , typename Predicate , typename Solver , typename Combiner > |
auto | grppi::divide_conquer (const Execution &ex, Input &&input, Divider &÷r_op, Predicate &&predicate_op, Solver &&solver_op, Combiner &&combiner_op) |
| Invoke md_divide-conquer. \parapm Execution Execution type. More...
|
|
Interface for applyinng the md_divide-conquer.
◆ divide_conquer() [1/2]
template<typename Execution , typename Input , typename Divider , typename Predicate , typename Solver , typename Combiner >
auto grppi::divide_conquer |
( |
const Execution & |
ex, |
|
|
Input && |
input, |
|
|
Divider && |
divider_op, |
|
|
Predicate && |
predicate_op, |
|
|
Solver && |
solver_op, |
|
|
Combiner && |
combiner_op |
|
) |
| |
Invoke md_divide-conquer. \parapm Execution Execution type.
- Template Parameters
-
Input | Type used for the input problem. |
Divider | Callable type for the divider operation. |
Predicate | Callable type for the stop condition predicate. |
Solver | Callable type for the solver operation. |
Combiner | Callable type for the combiner operation. |
- Parameters
-
ex | Execution policy object. |
input | Input problem to be solved. |
divider_op | Divider operation. |
predicate_op | Predicate operation. |
solver_op | Solver operation. |
combiner_op | Combiner operation. |
◆ divide_conquer() [2/2]
template<typename Execution , typename Input , typename Divider , typename Solver , typename Combiner >
auto grppi::divide_conquer |
( |
const Execution & |
ex, |
|
|
Input && |
input, |
|
|
Divider && |
divider_op, |
|
|
Solver && |
solver_op, |
|
|
Combiner && |
combiner_op |
|
) |
| |
Invoke md_divide-conquer. \parapm Execution Execution type.
- Template Parameters
-
Input | Type used for the input problem. |
Divider | Callable type for the divider operation. |
Solver | Callable type for the solver operation. |
Combiner | Callable type for the combiner operation. |
- Parameters
-
ex | Execution policy object. |
input | Input problem to be solved. |
divider_op | Divider operation. |
solver_op | Solver operation. |
combiner_op | Combiner operation. |