Function File: expection = fitscalingrank (scores, nParents)

Default fitness scaling function

fitscalingrank provides scaling based on rank instead of score.

Inputs

scores

A vector of scalars for each member of the population

nParents

The number of parents needs from the population

Outputs

expectation

Column vector of same size as scores giving scaled values of each member of the population.

See also: ga.

Package: ga