evolutionRestartStrategies: Evolution restart strategies

Description Usage Arguments Details

Description

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.

Usage

1
2
3
makeLocalRestartStrategy(populationType = NULL,
  extinctionPrevention = FALSE, breedingFitness = function(individual) TRUE,
  breedingTries = 50)

Arguments

populationType

The sType of the replacement individuals, defaults to NULL for creating untyped populations.

extinctionPrevention

Whether to surpress duplicate individuals in newly initialized populations. See geneticProgramming for details.

breedingFitness

A breeding function. See the documentation for geneticProgramming for details.

breedingTries

The number of breeding steps.

Details

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.


rgp documentation built on May 30, 2017, 12:45 a.m.