Description Usage Arguments Value Note
Define the toolbox of all the evolutionary operators you wish to operate on your problem.
1 2 3 4 5 6 7 8 9 10 11 | setupEvolutionaryOperators(control,
parent.selector = getDefaultEvolutionaryOperators(control$representation,
"parent.selector"),
survival.selector = getDefaultEvolutionaryOperators(control$representation,
"survival.selector"),
generator = getDefaultEvolutionaryOperators(control$representation,
"generator"),
mutator = getDefaultEvolutionaryOperators(control$representation,
"mutator"),
recombinator = getDefaultEvolutionaryOperators(control$representation,
"recombinator"))
|
control |
[ |
parent.selector |
[ |
survival.selector |
[ |
generator |
[ |
mutator |
[ |
recombinator |
[ |
[ecr_control
] Modified control object.
Keep in mind, that all of the provided operators need to be compatible
with the “representation” stored in the control
object.
There are reasonable default operators in almost any cases. Only in the
case of a “custom” representation, mutator, recombintor and generator
need to be set explicitly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.