recOX {ecr}R Documentation

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)

Arguments

inds

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

Value

[list]

See Also

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


[Package ecr version 2.1.0 Index]