mutInsertion: Insertion mutator.

mutInsertionR Documentation

Insertion mutator.

Description

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

Usage

mutInsertion(ind)

Arguments

ind

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

Value

[integer]

See Also

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


ecr documentation built on March 31, 2023, 10:07 p.m.