Interface for applyinng the Divide/conquer pattern.
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 Divide/conquer pattern. 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 Divide/conquer pattern. Execution Execution type. More...
|
|
Interface for applyinng the Divide/conquer pattern.
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 Divide/conquer pattern. 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. |
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 Divide/conquer pattern. 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. |