
Last chance! 50% off unlimited learning
Sale ends in
The Asymmetric Two-Point Crossover (ATC) operator relies on the two-point crossover being implemented differently for Parent1 and Parent2 (Yuan, 2002). Offspring2 is generated by a standard two-point crossover. However, in the generation of Offspring1, the part between the cut points is taken from Parent2, while the other parts are completed from Parent1.
atc(x1, x2, cxon, ...)
A vector. It contains the chromosomal information of parent-1.
A vector. It contains the chromosomal information of parent-2.
Number of offspring to be generated as a result of crossover
Further arguments passed to or from other methods.
A matrix containing the generated offsprings.
Yuan B. (2002). Deterministic crowding, recombination and self-similarity. In Proc. of the 2002 Cong. on Evolutionary Computation (Cat. No. 02TH8600) (Vol. 2, pp. 1516-1521). IEEE.
cross
,
px1
,
kpx
,
sc
,
rsc
,
hux
,
ux
,
ux2
,
mx
,
rrc
,
disc
,
cpc
,
eclc
,
raoc
,
dc
,
ax
,
hc
,
sax
,
wax
,
lax
,
bx
,
ebx
,
blxa
,
blxab
,
lapx
,
elx
,
geomx
,
spherex
,
pmx
,
mpmx
,
upmx
,
ox
,
ox2
,
mpx
,
erx
,
pbx
,
pbx2
,
cx
,
icx
,
smc
# NOT RUN {
parent1 = c(1, 0, 1, 0, 1, 1, 1, 0)
parent2 = c(1, 1, 1, 0, 1, 0, 0, 1)
atc(parent1, parent2)
# }
Run the code above in your browser using DataLab