makeOperator {ecr}R Documentation

Construct evolutionary operator.

Description

Helper function which constructs an evolutionary operator.

Usage

makeOperator(operator, supported = getAvailableRepresentations())

Arguments

operator

[function]
Actual operator.

supported

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

Value

[ecr_operator] Operator object.

Note

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


[Package ecr version 2.1.0 Index]