View source: R/xegaDfScaleFactor.R
FitnessBasedSelfAdaptiveSF | R Documentation |
The scale factor is a product of a relative fitness based term times a uniform random number.
FitnessBasedSelfAdaptiveSF(lF)
lF |
Local configuration. |
The parameters are:
fit: fitness of gene0.
max fit: the best fitness given by lF$CBestFitness().
The scale factor is in the interval of [-1.05, 1.05]
.
For details, see section 4 of Sharma et al. (2019), p. 931 or Sharma et al. (2013).
If the optimal fitness value is 0
,
the quotient for computing the relative fitness is
Inf
or -Inf
. In this case,
SF=0.1
.
A scale factor.
Sharma, Prashant; Sharma, Harish; Kumar, Sandeep; Bansal, Jagdish Chand (2019): A Review on Scale Factor Strategies in Differential Evolution Algorithm. pp. 925-934. In: Bansal, Jagdish Chand et al. (2019) Soft Computing for Problem Solving. Advances in Intelligent Systems and Computing, Vol. 817. Springer, Singapore, 2019. (ISBN:978-981-13-1594-7)
Sharma, Harish; Shrivastava, Pragati; Bansal, Jagdish Chand; Tiwari, Ritu (2013) Fitness Based Self Adaptive Diļ¬erential Evolution pp. 71-94. In: Terrazas et al. (2013) Nature Inspired Cooperative Strategies for Optimization (NICSO 2013) Springer, Heidelberg. (doi:10.1007/978-3-319-01692-4_6)
Other Scale Factor:
CauchySF()
,
ConstScaleFactor()
,
DETVSF()
,
RandomGaussianSF()
,
UniformRandomScaleFactor()
,
UniformRandomScaleFactorDERSF()
parm<-function(x){function() {return(x)}}
lFxegaDfGene$CBestFitness<-parm(35)
pop3<-lapply(rep(0,3), function(x) xegaDfGene::xegaDfInitGene(lFxegaDfGene))
lFxegaDfGene$gene0<-pop3[[1]]
FitnessBasedSelfAdaptiveSF(lFxegaDfGene)
lFxegaDfGene$gene0<-pop3[[2]]
FitnessBasedSelfAdaptiveSF(lFxegaDfGene)
lFxegaDfGene$gene0<-pop3[[3]]
FitnessBasedSelfAdaptiveSF(lFxegaDfGene)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.