Learn R Programming

ecr (version 1.0)

makeOperator: Construct evolutionary operator.

Description

Helper function which constructs an evolutionary operator.

Usage

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.