SelectLRSelective | R Documentation |
SelectLRSelective()
implements selection
by Whitley's linear rank selection with selective pressure
for the GENITOR algorithm.
See Whitley, Darrell (1989), p. 121.
SelectLRSelective(fit, lF, size = 1)
fit |
Fitness vector. |
lF |
Local configuration. |
size |
Size of return vector (default: 1). |
The selection pressure is configured by the constant function
lF$SelectionBias()
. Its values should be strictly larger
than 1 and preferably below 2. The default is set to 1.5.
A value of 1.0 means uniform random selection.
The index vector of selected genes.
Whitley, Darrell (1989): The GENITOR Algorithm and Selection Pressure. Why Rank-Based Allocation of Reproductive Trials is Best. In Schaffer, J. David (Ed.) Proceedings of the Third International Conference on Genetic Algorithms on Genetic Algorithms, pp. 116-121. (ISBN:1-55860-066-3)
Other Selection Functions:
SelectDuel()
,
SelectLinearRankTSR()
,
SelectPropFit()
,
SelectPropFitDiff()
,
SelectPropFitDiffM()
,
SelectPropFitDiffOnln()
,
SelectPropFitM()
,
SelectPropFitOnln()
,
SelectSTournament()
,
SelectSUS()
,
SelectTournament()
,
SelectUniform()
,
SelectUniformP()
fit<-sample(10, 15, replace=TRUE)
SelectLRSelective(fit, NewlFselectGenes())
SelectLRSelective(fit, NewlFselectGenes(), length(fit))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.