Currently only OnePointCrossover is available. There are no CrossoverPolicy's for Ordered Chromosomes.
Implementations of CycleCrossover and OrderedCrossover.
After attaching the first patch I discovered an error in which min and max could be the same. This patch is the corrected version of OrderedCrossover.
thanks very much. Do you may also have interest in implementing the crossover variants that can be found here:
I will take a look into the ones contained in the patch.
This patch adds Cycle Crossover, N-Point Crossover, Ordered Crossover and Uniform Crossover.
sorry for the delay, but thanks for your contribution. I will take a deeper look at it this weekend.
Added the NPointCrossover policy in r1344030.
Atm, I decided not to use inheritance for the OnePointCrossover as I am not sure how this affect backwards compatibility.
Also the NPointCrossover has been adapted, and javadoc has been completed.
Added UniformCrossover in r1350391 after doing some minor changes.
Added CycleCrossover in r1369637. The original version in the patch only did one cycle, I updated the algorithm to do as many cycles as necessary.
for further explanation of the CX operator see the following links
The unit tests have been extended too.
Added OrderedCrossover policy in r1369658 with additional javadoc and performance improvements.