ox2 | R Documentation |
Order-based crossover (OX2) is a crossover operator for permutation encoded chromosomes. It is an operator that forces the order of several randomly selected positions in one parent to the other parent (Syswerda, 1991).
ox2(x1, x2, cxon, cxoxk, ...)
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 |
cxoxk |
Number of genes to be changed |
... |
Further arguments passed to or from other methods. |
A matrix containing the generated offsprings.
Zeynel Cebeci & Erkut Tekeli
Sysweda, G. (1991). Schedule optimization using genetic algorithms. Handbook of Genetic Algorithms.
cross
,
px1
,
kpx
,
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
,
mpx
,
erx
,
pbx
,
pbx2
,
cx
,
icx
,
smc
parent1 = c(1, 2, 3, 4, 5, 6, 7, 8) parent2 = c(4, 2, 5, 1, 6, 8, 3, 7) ox2(parent1, parent2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.