Description Usage Arguments Details Value Examples
Calculate a relative fitness based on the rankscore of each chromosome.
1 | Fitness(scores)
|
scores |
A vector of the score for each chromosome, as calculated from scoreFunc(). |
This function calculates a relative fitness for each chromosome
based on the output of scoreFunc(). It follows the formula from
Givens_Hoeting_CH3 section 3.4.2.1, providing a better optimization than
the scoreFunc() alone.
WARNING: This function scores the same way as
scoreFunc(), ie, if AIC() is the scoreFunc(), then lower scores are better,
and this function will follow that convention.
A vector of the relative fitness of each chromosome.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.