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()


ecr documentation built on March 31, 2023, 10:07 p.m.