ThresholdScaleFitness {xegaSelectGene} | R Documentation |
Dispersion Ratio Based Fitness Scaling.
Description
Fitness is transformed by a power function
fit^lF$ScalingExp
.
If lF$ScalingExp
is
less than 1: Selection pressure is decreased.
1: Selection pressure remains constant.
larger than 1: Selection pressure is increased.
0: Fitness is constant. Random selection.
smaller than 1: Fitness is
1/fit^lF$ScalingExp
.
Usage
ThresholdScaleFitness(fit, lF)
Arguments
fit |
Fitness vector. |
lF |
Local configuration. |
Value
Scaled fitness vector.
See Also
Other Scaling:
ContinuousScaleFitness()
,
DispersionRatio()
,
ScaleFitness()
,
ScalingFitness()
Other Adaptive Parameter:
ContinuousScaleFitness()
Examples
lF<-list()
lF$Offset<-parm(0.0001)
lF$ScalingThreshold<-parm(0.05)
lF$RDM<-parm(1.0)
lF$ScalingExp<-parm(0.5)
lF$ScalingExp2<-parm(2)
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)
[Package xegaSelectGene version 1.0.0.0 Index]