View source: R/xegaDfScaleFactor.R
| xegaDfScaleFactorFactory | R Documentation |
xegaDfScaleFactorFactory() implements the selection
of one of the scale factor functions in this
package by specifying a text string.
The selection fails ungracefully (produces
a runtime error) if the label does not match.
The functions are specified locally.
Current support:
"Const" returns ConstScaleFactor().
"Uniform" returns UniformRandomScaleFactor().
"DERSF" returns UniformRandomScaleFactorDERSF().
"DEVSF" returns DEVSF().
"CauchySF" returns CauchySF().
"FBSASF" returns FitnessBasedSelfAdaptiveSF().
"RGSF" returns RandomGaussianSF().
xegaDfScaleFactorFactory(method = "Const")
method |
A string specifying the scale factor function. |
In the literature, several approaches have been suggested. For a review see Sharma et al. (2019).
A scale factor function for genes.
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)
Other Configuration:
lFxegaDfGene,
xegaDfCrossoverFactory(),
xegaDfGeneMapFactory(),
xegaDfMutationFactory(),
xegaDfReplicationFactory()
f<-xegaDfScaleFactorFactory("Const")
f(lFxegaDfGene)
f<-xegaDfScaleFactorFactory("Uniform")
f(lFxegaDfGene)
f(lFxegaDfGene)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.