evolutionStopConditions: Evolution stop conditions

Description Usage Arguments Details

Description

Evolution stop conditions are predicates (functions that return a single logical value) of the signature function(population, stepNumber, evaluationNumber, bestFitness, timeElapsed). They are used to decide when to finish a GP evolution run. Stop conditions must be members of the S3 class c("stopCondition", "function"). They can be combined using the functions andStopCondition, orStopCondition and notStopCondition.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13

Arguments

stepLimit

The maximum number of evolution steps for makeStepsStopCondition.

evaluationLimit

The maximum number of fitness function evaluations for makeEvaluationsStopCondition.

fitnessLimit

The minimum fitness for makeFitnessStopCondition.

timeLimit

The maximum runtime in seconds for makeTimeStopCondition.

e1

A stop condition.

e2

A stop condition.

Details

makeStepsStopCondition creates a stop condition that is fulfilled if the number of evolution steps exceeds a given limit. makeEvaluationsStopCondition creates a stop condition that is fulfilled if the number of fitness function evaluations exceeds a given limit. makeFitnessStopCondition creates a stop condition that is fulfilled if the number best fitness seen in an evaluation run undercuts a certain limit. makeTimeStopCondition creates a stop condition that is fulfilled if the run time (in seconds) of an evolution run exceeds a given limit.


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