Description Usage Arguments Value Author(s) Examples
This function takes a matrix OldChrom containing the representation of the individuals in the current population, mutates the individuals and returns the resulting population.
The function handles multiple populations and calls the low-level mutation function for the actual mutation process.
1 |
MUT_F |
character string containing the name of the mutation function. |
OldChrom |
matrix containing the chromosomes of the old population. Each line corresponds to one individual. |
FieldDR |
matrix describing the boundaries of each variable (real-values) or defining the base of the variables of each individual (discrete values). Optional for (binary) discrete values |
MutOpt |
an optional vector containing mutation rate and shrink value:
|
SUBPOP |
an optional number of subpopulations. Default is set to 1. |
... |
ohter aurguments passed on to mutation function. |
a matrix containing the chromosomes of the population after mutation in the same format as OldChrom.
The original matlab implementation of mutate was written by Hartmut Pohlheim. 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.