makeSelector: Construct a selection operator.

Description Usage Arguments Value

Description

Helper function which defines a selector method, i. e., an operator which takes the population and returns a part of it for mating or survival.

Usage

1
2
3
makeSelector(selector, name, description,
  supported = getAvailableRepresentations(), supported.objectives,
  supported.opt.direction = "minimize")

Arguments

selector

[function]
Actual selection operator.

name

[character(1)]
Name of the selector.

description

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

supported

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

supported.objectives

[character]
At least one of “single-objective” or “multi-objective”.

supported.opt.direction

[character(1-2)]
Does the selector work for maximization tasks xor minimization tasks or both? Default is “minimize”, which means that the selector selects in favour of low fitness values.

Value

[ecr_selector] Selector object.


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