Helper function which constructs a mutator, i. e., a mutation operator.

makeMutator(mutator, supported = getAvailableRepresentations())

Arguments

mutator

[function] Actual mutation operator.

supported

[character] Vector of strings/names of supported parameter representations. Possible choices: “permutation”, “float”, “binary” or “custom”.

Value

[ecr_mutator] Mutator object.