Description Usage Arguments Details Examples
CrossOverMutate()
takes a generation
and a list of index pairs
(parent.index
) representing two parents selected from generation to mate
and produce 2 children.
1 | CrossOverMutate(generation, parent.index, prob.mutate = 0.005)
|
generation |
A list of individual genomes or co-variate sets |
parent.index |
A list of paired indices representig mating pairs of parents |
prob.mutate |
A natural rate of gene mutation determined in |
CrossOverMutate() returns a two-item list of 'genomes' for each child.
Called from within Breed()
1 | \code{\link[GA]{Breed}}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.