expection =
fitscalingrank (scores, nParents)
¶Default fitness scaling function
fitscalingrank provides scaling based on rank instead of score.
Inputs
A vector of scalars for each member of the population
The number of parents needs from the population
Outputs
Column vector of same size as scores giving scaled values of each member of the population.
See also: ga.
Package: ga