powered by
Minimizes undesirable crossover results when parents have the same or many identical genes (Booker, 1987).
rsc(x1, x2, cxon, ...)
A vector. It contains the chromosomal information of parent-1.
A vector. It contains the chromosomal information of parent-2.
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.
Booker L.B. (1987). Improving Search in Genetic Algorithms, in Genetic Algorithms and Simulated Anneling, Morgan Kaufmann Publishing.
cross, px1, kpx, sc, 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
cross
px1
kpx
sc
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
# NOT RUN { parent1 = c(1, 0, 1, 0, 1, 1, 1, 0) parent2 = c(1, 1, 1, 0, 1, 0, 0, 1) rsc(parent1, parent2) # }
Run the code above in your browser using DataLab