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
.
makeStepsStopCondition(stepLimit)
makeEvaluationsStopCondition(evaluationLimit)
makeFitnessStopCondition(fitnessLimit)
makeTimeStopCondition(timeLimit)
andStopCondition(e1, e2)
orStopCondition(e1, e2)
notStopCondition(e1)
makeStepsStopCondition
.makeEvaluationsStopCondition
.makeFitnessStopCondition
.makeTimeStopCondition
.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.