SelectUniformP | R Documentation |
SelectUniformP()
implements selection
by choosing a gene with equal probability without
replacement.
Usage:
To specify mating behavior in crossover operators.
For computer experiments without selection pressure.
SelectUniformP(fit, lF, size = 1)
fit |
Fitness vector. |
lF |
Local configuration. |
size |
Number of selected genes. Default: 1. |
Selection without replacement guarantees that vectors of different indices are selected. A vector of the size of the population is a permutation of indices. This property is needed for the classic variant of differential evolution.
The index vector of the selected genes.
Price, Kenneth V., Storn, Rainer M. and Lampinen, Jouni A. (2005) The Differential Evolution Algorithm (Chapter 2), pp. 37-134. In: Differential Evolution. A Practical Approach to Global Optimization. Springer, Berlin. <doi:10.1007/3-540-31306-0>
Other Selection Functions:
SelectDuel()
,
SelectLRSelective()
,
SelectLinearRankTSR()
,
SelectPropFit()
,
SelectPropFitDiff()
,
SelectPropFitDiffM()
,
SelectPropFitDiffOnln()
,
SelectPropFitM()
,
SelectPropFitOnln()
,
SelectSTournament()
,
SelectSUS()
,
SelectTournament()
,
SelectUniform()
fit<-sample(10, 15, replace=TRUE)
SelectUniformP(fit, NewlFselectGenes())
SelectUniformP(fit, NewlFselectGenes(), length(fit))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.