Description Usage Arguments Details
Evolution restart strategies are functions of the signature function(fitnessFunction,
population, populationSize, functionSet, inputVariables, constantSet)
that return a list of
two obtjects: First, a population that replace the run's current population. Second, a list
of elite individuals to keep.
1 2 3 | makeLocalRestartStrategy(populationType = NULL,
extinctionPrevention = FALSE, breedingFitness = function(individual) TRUE,
breedingTries = 50)
|
populationType |
The sType of the replacement individuals, defaults to |
extinctionPrevention |
Whether to surpress duplicate individuals in newly initialized
populations. See |
breedingFitness |
A breeding function. See the documentation for
|
breedingTries |
The number of breeding steps. |
makeLocalRestartStrategy
creates a restart strategy that replaces all individuals with
new individuals. The single best individual is returned as the elite. When using a
multi-criterial fitness function, only the first component counts in the fitness sorting.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.