mutation | R Documentation |
This function receives input from the output of crossover function, and do mutation on offsprings. By default, Mutation_rate is set to 1/C where C is the gene length.
mutation(genes, mutation_rate = NULL)
genes |
n by P matrix; P columns of genes with length n (composed of 1s and 0s) |
mutation_rate |
double; indicate the mutation rate |
Fernando Machado, Jiayang Nie
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.