makeOperator: Construct evolutionary operator.

Description Usage Arguments Value Note

Description

Helper function which constructs an evolutionary operator.

Usage

1
2
makeOperator(operator, name, description = NULL,
  supported = getAvailableRepresentations(), params = list())

Arguments

operator

[function]
Actual mutation operator.

name

[character(1)]
Name of the operator.

description

[character(1)]
Short description of how the mutator works. Default is NULL which means no description at all.

supported

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

params

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

Value

[ecr_operator] Operator object.

Note

In general you will not need this function, but rather one of its deriviatives like makeMutator or makeSelector.


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