| kpx | R Documentation |
In the k-PX cross, the parent chromosomes are cut from two or more points and transferred to the offspring, providing more diversity.
kpx(x1, x2, cxon, cxk, ...)
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 |
cxk |
Number of cut points |
... |
Further arguments passed to or from other methods. |
A matrix containing the generated offsprings.
Zeynel Cebeci & Erkut Tekeli
cross,
px1,
sc,
rsc,
hux,
ux,
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
parent1 = c(1, 0, 1, 0, 1, 1, 1, 0) parent2 = c(1, 1, 1, 0, 1, 0, 0, 1) kpx(parent1, parent2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.