View source: R/xegaDfCrossover.R
xegaDfCrossGene | R Documentation |
xegaDfCrossGene()
randomly determines a cut point.
It combines the parameters before the cut point of the first gene
with the parameters after the cut point from the second gene (kid 1).
xegaDfCrossGene(gg1, gg2, lF)
gg1 |
Real-coded gene. |
gg2 |
Real-coded gene. |
lF |
Local configuration of the genetic algorithm. |
Real-coded gene.
Other Crossover (Returns 1 Kid):
xegaDfUCrossGene()
,
xegaDfUPCrossGene()
gene1<-xegaDfInitGene(lFxegaDfGene)
gene2<-xegaDfInitGene(lFxegaDfGene)
gene3<-xegaDfCrossGene(gene1, gene2, lFxegaDfGene)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.