Learn R Programming

ecr (version 2.1.1)

recPMX: 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)

Value

[ecr_recombinator]

Arguments

inds

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

See Also

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