Description Usage Arguments Details
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
.
1 2 3 4 5 6 7 8 9 10 11 12 13 | makeStepsStopCondition(stepLimit)
makeEvaluationsStopCondition(evaluationLimit)
makeFitnessStopCondition(fitnessLimit)
makeTimeStopCondition(timeLimit)
andStopCondition(e1, e2)
orStopCondition(e1, e2)
notStopCondition(e1)
|
stepLimit |
The maximum number of evolution steps for |
evaluationLimit |
The maximum number of fitness function evaluations for
|
fitnessLimit |
The minimum fitness for |
timeLimit |
The maximum runtime in seconds for |
e1 |
A stop condition. |
e2 |
A stop condition. |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.