terminateLEQ | R Documentation |
terminateLEQ()
returns TRUE
if the value of the current solution
is less or equal lF$TerminationThreshold()
.
terminateLEQ(solution, lF)
solution |
A named list with at least the following elements: $name, $fitness, $value, $numberOfSolutions, $genotype, $phenotype, $phenotypeValue. |
lF |
Local function configuration. It must contain
|
Boolean.
Other Termination Condition:
terminateAbsoluteError()
,
terminateGEQ()
,
terminatePAC()
,
terminateRelativeError()
,
terminateRelativeErrorZero()
,
terminatedFalse()
parm<-function(x){function() {return(x)}}
lF<-list(); lF$TerminationThreshold<-parm(9.2)
solution<-list(); solution$phenotypeValue<-8.0
terminateLEQ(solution, lF)
solution<-list(); solution$phenotypeValue<-9.6
terminateLEQ(solution, lF)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.