Description Usage Arguments Details Value
Make a chromosome with fixed probability 0.01 to mutate.
1 | mutation(chr)
|
chr |
a boolean vector representing an individual chromosome. |
This function makes a chromosome have a 1 in each locale. If mutation happens at one locale, it will make the value in that locale from T to F or from F to T.
Return a mutated chromosome vector with the same length as input.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.