| selescale | R Documentation |
The Exponent Scaling operator is the selection operator in which the fitness values are scaled by the simulated annealing method.
selescale(fitvals, ns, selb, ...)
fitvals |
Vector of fitness values belonging to individuals |
ns |
Number of individuals to be selected |
selb |
Exponent coefficent, ( |
... |
Further arguments passed to or from other methods. |
The indices of randomly selected individuals are returned.
Zeynel Cebeci & Erkut Tekeli
select,
selrand,
selrswrp,
selrws,
selrws2,
selrss,
selsus,
seldet,
selwscale,
selsscale,
selsscale2,
sellscale,
selrscale,
selrscale2,
selpscale,
seltour,
seltour2
fitvals = c(6.1, 3.5, 6.2, 4.4, 5.2)
cnames = paste0("C",1:length(fitvals))
matpool = selescale(fitvals, selb=0.1)
cat(cnames[matpool],"\n")
matpool = selescale(fitvals, selb=2)
cat(cnames[matpool],"\n")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.