makeMutator: Construct a mutation operator.

Description Usage Arguments Value

Description

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

Usage

1
2
makeMutator(mutator, name, description,
  supported = getAvailableRepresentations(), params = list())

Arguments

mutator

[function]
Actual mutation operator.

name

[character(1)]
Name of the mutator.

description

[character(1)]
Short description of how the mutator works.

supported

[character]
Vector of strings/names of supported parameter representations. For example 'permutation', 'float', 'binary'.

params

[list]
Named list of the parameters the operator has been initialized with. Default is the empty list.

Value

[ecr_mutator] Mutator object.


jakobbossek/ecr documentation built on May 18, 2019, 9:09 a.m.