| ThresholdScaleFitness | R Documentation | 
Fitness is transformed by a power function with a scaling exponent. The choice of the scaling exponent depends on the ratio of the dispersion measures of the current and the previous population fitness.
ThresholdScaleFitness(fit, lF)
| fit | Fitness vector. | 
| lF | Local configuration. | 
The scaling exponent is selected by the following rule:
 If lF$RDM()>1+lF$ScalingThreshold() 
then choose the scaling exponent lF$ScalingExp().   
The scaling exponent should be larger than 1 to increase 
the selection pressure.
 If lF$RDM()<1+lF$SCalingThreshold
and lF$RDM()>1-lF$SCalingThreshold, the fitness is not scaled.
 If lF$RDM()<1-lF$SCalingThreshold
then choose the scaling exponent lF$ScalingExp2().   
The scaling exponent should be smaller than 1 to decrease 
the selection pressure.
Scaled fitness vector.
Other Scaling: 
ContinuousScaleFitness(),
DispersionRatio(),
ScaleFitness(),
ScalingFitness()
Other Adaptive Parameter: 
ContinuousScaleFitness()
lF<-list()
lF$Offset<-parm(0.0001)
lF$ScalingThreshold<-parm(0.05)
lF$RDM<-parm(1.0)
lF$ScalingExp<-parm(2.0)
lF$ScalingExp2<-parm(0.5)
fit<-sample(10, 20, replace=TRUE)
fit
ThresholdScaleFitness(fit, lF)
lF$RDM<-parm(1.2)
ThresholdScaleFitness(fit, lF)
lF$RDM<-parm(0.8)
ThresholdScaleFitness(fit, lF)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.