Local crossover#

local_crossover() draws a random weight for each variable and sets the two offspring to the two weighted averages of the parents. Only DESDEO (LocalCrossover) provides this operator.

KS test results#

moocore

desdeo

moocore

0.496

desdeo

0.496

Both implementations produce the same distribution of offspring.

Performance over number of parents#

../../_images/crossover_bench-local-nparents-time.png

DESDEO takes 39 to 70 times as long as moocore.

Performance over number of variables#

../../_images/crossover_bench-local-nvars-time.png

DESDEO takes 28 to 71 times as long as moocore.