Learn R Programming

ecr (version 2.1.1)

recOX: Ordered-Crossover (OX) 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) remove the copied node indizes from the entire sequence of the second parent from the sescond cut point and b) fill the remaining gaps with this trimmed sequence.

Usage

recOX(inds)

Value

[list]

Arguments

inds

[list]
Parents, i.e., list of exactly two permutations (vectors of integer values) of equal length.

See Also

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