Learn R Programming

ecr (version 2.1.1)

mutInsertion: Insertion mutator.

Description

The Insertion mutation operator selects a position random and inserts it at a random position.

Usage

mutInsertion(ind)

Value

[integer]

Arguments

ind

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

See Also

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