ux {adana}R Documentation

Uniform crossover 1

Description

In a uniform crossover, the number of crossover points is not fixed and evaluates each gene independently (De Jong & Spears, 1991). In other words, it generalizes multi-point crossover as each gene locus is viewed as a potential crossover point.

Usage

ux(x1, x2, cxon, cxps, ...)

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

cxps

It determines the rate of gene exchange between the chromosomes of the parents.

...

Further arguments passed to or from other methods.

Value

A matrix containing the generated offsprings.

Author(s)

Zeynel Cebeci & Erkut Tekeli

References

De Jong, K.A. and Spears, W. (1991). On the virtues of parameterized uniform crossover. In Proc. of the 4th Int. Conf. on Genetic Algorithms. Morgan Kaufman Publishers.

See Also

cross, px1, kpx, sc, rsc, hux, ux2, mx, rrc, disc, atc, 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

parent1 = c(1, 0, 1, 0, 1, 1, 1, 0)
parent2 = c(1, 1, 1, 0, 1, 0, 0, 1)
ux(parent1, parent2, cxon=3)

[Package adana version 1.1.0 Index]