Description Usage Arguments Value Author(s) Examples
This function performs selection with STOCHASTIC UNIVERSAL SAMPLING.
1 | sus(FitnV, Nsel)
|
FitnV |
a vector containing the fitness values of the individuals in the population. |
Nsel |
a number indicating individuals to be selected |
a vector containing the indexes of the selected individuals relative to the original population, shuffled. The new population, ready for mating, can be obtained by calculating OldChrom[NewChrIx,].
The original matlab implementation of mutate was written by Hartmut Pohlheim and Carlos Fonseca. The R implementation was written by David Zhao.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.