| ax | R Documentation |
The AX operator calculates the simple arithmetic mean of the parental chromosomes. Therefore, it is a single-output operator and generates a single offspring (Gwiazda, 2006).
ax(x1, x2, cxon, ...)
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. |
A matrix containing the generated offsprings.
Zeynel Cebeci & Erkut Tekeli
Gwiazda T.D. (2006). Genetic Algorithms Reference. Vol. I: Crossover for Single-Objective Numerical Optimization Problems. Tomaszgwiadze E-books, Poland.
cross,
px1,
kpx,
sc,
rsc,
hux,
ux,
ux2,
mx,
rrc,
disc,
atc,
cpc,
eclc,
raoc,
dc,
hc,
sax,
wax,
lax,
bx,
ebx,
blxa,
blxab,
lapx,
elx,
geomx,
spherex,
pmx,
mpmx,
upmx,
ox,
ox2,
mpx,
erx,
pbx,
pbx2,
cx,
icx,
smc
parent1 = c(1.1, 1.6, 0.0, 1.1, 1.4, 1.2) parent2 = c(1.2, 0.0, 0.0, 1.5, 1.2, 1.4) ax(parent1, parent2, cxon=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.