Description Usage Arguments Details Examples
Breed()
takes a generation
and its associated fitness data
in fitness.vec
as input and produces a number of children equal to the number
of parents in generation
. This function allows for a natural rate of
genetic mutation as set by prob.mutate
.
1 | Breed(generation, fitness.vec, prob.mutate)
|
generation |
A list of individual genomes or co-variate sets |
fitness.vec |
A vector of the fitness values for the input |
prob.mutate |
A natural rate of gene mutation determined in |
Breed() returns a list of 'genomes' for each child.
Called from within Select()
1 | \code{\link[GA]{CrossOverMutate}}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.