| .ga_crossover_mutation | R Documentation |
With probability ga_crossover_rate the parents are recombined
(uniform crossover by default); otherwise the children are empty genomes.
Mutation flips each bit with probability ga_mutation_rate.
.ga_crossover_mutation(p1, p2, params, crossover_type = "UNIFORM")
p1, p2 |
Parent genomes (logical vectors). |
params |
A list of run parameters. |
crossover_type |
One of |
A list of two child genomes (logical vectors).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.