SelectLRSelective {xegaSelectGene} | R Documentation |
Linear rank selection with selective pressure.
Description
SelectLRSelective
implements selection
by Whitley's linear rank selection with selective pressure
for the GENITOR algorithm.
See Whitley, Darrell (1989), p. 121.
Usage
SelectLRSelective(fit, lF, size = 1)
Arguments
fit |
Fitness vector. |
lF |
Local configuration. |
size |
Size of return vector (default: 1). |
Details
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.
Value
The index vector of selected genes.
References
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)
See Also
Other Selection Functions:
SelectDuel()
,
SelectLinearRankTSR()
,
SelectPropFitDiffM()
,
SelectPropFitDiffOnln()
,
SelectPropFitDiff()
,
SelectPropFitM()
,
SelectPropFitOnln()
,
SelectPropFit()
,
SelectSTournament()
,
SelectSUS()
,
SelectTournament()
,
SelectUniformP()
,
SelectUniform()
Examples
fit<-sample(10, 15, replace=TRUE)
SelectLRSelective(fit, NewlFselectGenes())
SelectLRSelective(fit, NewlFselectGenes(), length(fit))