SelectSUS {xegaSelectGene} | R Documentation |
Stochastic universal sampling.
Description
SelectSUS
implements selection
by Baker's stochastic universal sampling method.
SUS is a strictly sequential algorithm
which has zero bias and minimal spread.
SUS uses a single random number for each generation.
See Baker, James E. (1987), p. 16.
Usage
SelectSUS(fit, lF, size = 1)
Arguments
fit |
Fitness vector. |
lF |
Local configuration. |
size |
Number of selected genes. Default: 1. |
Value
The index vector of the selected genes.
References
Baker, James E. (1987): Reducing Bias and Inefficiency in the Selection Algorithm. In Grefenstette, John J.(Ed.) Proceedings of the Second International Conference on Genetic Algorithms on Genetic Algorithms, pp. 14-21. (ISBN:978-08058-0158-8)
See Also
Other Selection Functions:
SelectDuel()
,
SelectLRSelective()
,
SelectLinearRankTSR()
,
SelectPropFitDiffM()
,
SelectPropFitDiffOnln()
,
SelectPropFitDiff()
,
SelectPropFitM()
,
SelectPropFitOnln()
,
SelectPropFit()
,
SelectSTournament()
,
SelectTournament()
,
SelectUniformP()
,
SelectUniform()
Examples
fit<-sample(10, 15, replace=TRUE)
SelectSUS(fit, NewlFselectGenes())
SelectSUS(fit, NewlFselectGenes(), length(fit))