recPMX: Partially-Mapped-Crossover (PMX) recombinator.

recPMXR Documentation

Partially-Mapped-Crossover (PMX) recombinator.

Description

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.

Usage

recPMX(inds)

Arguments

inds

[numeric]
Parents, i.e., list of exactly two permutations of equal length.

Value

[ecr_recombinator]

See Also

Other recombinators: recCrossover(), recIntermediate(), recOX(), recSBX(), recUnifCrossover()


jakobbossek/ecr2 documentation built on Sept. 23, 2023, 12:33 p.m.