Learn R Programming

ecr (version 1.0)

setupGaussMutator: Generator of the Gaussian mutation operator.

Description

Default Gaussian mutation operator known from Evolutionary Algorithms. This mutator is applicable only for representation="float". Given an individual $\mathbf{x} \in R^l$ this mutator adds a Gaussian distributed random value to each component of $\mathbf{x}$, i.~e., $\tilde{\mathbf{x}}_i = \mathbf{x}_i + \sigma \mathcal{N}(0, 1)$.

Usage

setupGaussMutator(p = 1L, sdev = 0.05)

Arguments

p
[numeric(1)] Probability of mutation for the gauss mutation operator.
sdev
[numeric(1) Standard deviance of the Gauss mutation, i. e., the mutation strength.

Value

[ecr_mutator]

See Also

Other mutators: setupBitFlipMutator, setupInsertionMutator, setupPolynomialMutator, setupScrambleMutator, setupSwapMutator, setupUniformMutator