Learn R Programming

ecr (version 2.1.0)

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, mutPolynomial, mutSwap, mutUniform