Description Usage Arguments Details
mutation
is to do mutation for the offspring after breeding.
1 | mutation(parent_1, parent_2, offspring, m)
|
parent_1, parent_2 |
Numeric vectors with binary 0/1 elements. Should be of same length. |
offspring |
A Numeric vector generated by |
m |
Mutation rate: a numeric value between 0 and 1. By default 0.01. |
Changes an offspring chromosome by randomly introducing one or more alleles in loci where those alleles are not seen in the corresponding loci of either parent chromosome.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.