Learn R Programming

adana (version 1.1.0)

atc: Asymmetric Two-Point Crossover (ATC)

Description

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.

Usage

atc(x1, x2, cxon, ...)

Arguments

x1

A vector. It contains the chromosomal information of parent-1.

x2

A vector. It contains the chromosomal information of parent-2.

cxon

Number of offspring to be generated as a result of crossover

Further arguments passed to or from other methods.

Value

A matrix containing the generated offsprings.

References

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.

See Also

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

Examples

Run this code
# 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