sellrs3 {adana} | R Documentation |
Linear Ranking Selection 3
Description
The LRS operator selects through probabilities obtained using ordered numbers according to their fitness values. In this algorithm, the selection pressure can be adjusted with the s parameter.
Usage
sellrs3(fitvals, ns, sels, ...)
Arguments
fitvals |
Vector of fitness values belonging to individuals |
ns |
Number of individuals to be selected |
sels |
Selection pressure, ( |
... |
Further arguments passed to or from other methods. |
Value
The indices of randomly selected individuals are returned.
Author(s)
Zeynel Cebeci & Erkut Tekeli
See Also
select
,
selrand
,
selrswrp
,
selrws
,
selrws2
,
selrss
,
selsus
,
seldet
,
selwscale
,
selsscale
,
selsscale2
,
sellscale
,
selrscale
,
selrscale2
,
selpscale
,
selescale
,
seltour
,
seltour2
,
selboltour
,
sellrs
,
sellrs2
Examples
fitvals = c(6.1, 3.5, 6.2, 4.4, 5.2)
cnames = paste0("C",1:length(fitvals))
matpool = sellrs3(fitvals)
cat(cnames[matpool],"\n")
matpool = sellrs3(fitvals, sels=2)
cat(cnames[matpool],"\n")
[Package adana version 1.1.0 Index]