Description Usage Arguments Value Author(s) Examples
This function takes the representation of the current population, mutates each element with given probability and returns the resulting population.
1 |
OldChrom |
a matrix containing the chromosomes of the current population. Each row corresponds to an individuals string representation. |
Pm |
a value indicating mutation probability. Default value of Pm = 0.7/Lind, where Lind is the chromosome length. |
BaseV |
an optional vector of the same length as the chromosome structure defining the base of the individual elements of the chromosome. Default is set to binary representation. |
a matrix containing a mutated version of OldChrom.
The original matlab implementation of mutate was written by Andrew Chipperfield. The R implementation was written by David Zhao.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.