Learn R Programming

ecr (version 2.1.1)

mutScramble: Scramble mutator.

Description

The Scramble mutation operator selects two positions within the chromosome at random and randomly intermixes the subsequence between these positions.

Usage

mutScramble(ind)

Value

[integer]

Arguments

ind

[integer]
Permutation of integers, i.e., vector of integer values.

See Also

Other mutators: mutBitflip(), mutGauss(), mutInsertion(), mutInversion(), mutJump(), mutPolynomial(), mutSwap(), mutUniform()