eclc | R Documentation |
Linkage Crossover (LC) is an operator based on the repositioning of a randomly selected fragment from one of the parents, starting from a randomly selected location in the offspring chromosome (Harik & Goldberg, 1997). It is also called Exchange Crossover (EC).
eclc(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
Harik, G.D. and Goldberg, D.E. (1997). Learning linkage. Foundation of Genetic Algorithms Ch. 4, Morgan-Kaufmann. pp. 247-262.
cross
,
px1
,
kpx
,
sc
,
rsc
,
hux
,
ux
,
ux2
,
mx
,
rrc
,
disc
,
atc
,
cpc
,
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) eclc(parent1, parent2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.