xegaDfCrossGene {xegaDfGene} | R Documentation |
CrossGene
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 (1):
xegaDfUCrossGene()
,
xegaDfUPCrossGene()
gene1<-xegaDfInitGene(lFxegaDfGene)
gene2<-xegaDfInitGene(lFxegaDfGene)
gene3<-xegaDfCrossGene(gene1, gene2, lFxegaDfGene)