This recombination operator is specifically designed for permutations. The operators chooses two cut-points at random and generates two offspring as follows: a) copy the subsequence of one parent and b) fill the remaining positions while preserving the order and position of as many genes as possible.
recPMX(inds)
Arguments
inds: [numeric]
Parents, i.e., list of exactly two permutations of equal length.
Returns
[ecr_recombinator]
See Also
Other recombinators: recCrossover(), recIntermediate(), recOX(), recSBX(), recUnifCrossover()