selsscale | R Documentation |
Sigma Scaling is based on the mean rather than the worst fitness value as in Window Scaling. In Sigma Scaling, an individual's fitness is a function of the population mean and population standard deviation (Forrest, 1985; Goldberg, 1989).
selsscale(fitvals, ns, selc, ...)
fitvals |
Vector of fitness values belonging to individuals |
ns |
Number of individuals to be selected |
selc |
Scaling parameter |
... |
Further arguments passed to or from other methods. |
The indices of randomly selected individuals are returned.
Zeynel Cebeci & Erkut Tekeli
Forrest, S. (1985). Documentation of prisoner's dilemma and norms programs that use the genetic algorithm. Technical report, University of Michigan.
select
,
selrand
,
selrswrp
,
selrws
,
selrws2
,
selrss
,
selsus
,
seldet
,
selwscale
,
selsscale2
,
sellscale
,
selrscale
,
selrscale2
,
selpscale
,
selescale
,
seltour
,
seltour2
fitvals = c(6.1, 3.5, 6.2, 4.4, 5.2) cnames = paste0("C",1:length(fitvals)) matpool = selsscale(fitvals, selc=2) cat(cnames[matpool],"\n")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.