Overview | Group | Tree | Graph | Index | Concepts |
This function creates an operator which executes the supplied goal
goal
and will store solutions according to the prototype
prototype
passed. It is
most useful for creating a set of solutions at the head of a processor
chain where no input solutions are present to be used as prototypes.
name
, if provided, becomes the name of the new operator.
IloPoolOperator op = IloSource(goal.getEnv(), goal, prototype)
is short for:
IloPoolOperator op(goal); op.setPrototype(prototype);
goal
should be
non-deterministic, either by nature or by intentionally perturbing
using, for example,
IloRandomPerturbation
.See Also:
IloPoolOperator::IloPoolOperator, IloPoolOperator::setPrototype, IloRandomPerturbation