initECRControl: Control object generator.

View source: R/initECRControl.R

initECRControlR Documentation

Control object generator.

Description

The control object keeps information on the objective function and a set of evolutionary components, i.e., operators.

Usage

initECRControl(fitness.fun, n.objectives = NULL, minimize = NULL)

Arguments

fitness.fun

[function]
The fitness function.

n.objectives

[integer(1)]
Number of objectives of obj.fun. Optional if obj.fun is a benchmark function from package smoof.

minimize

[logical(n.objectives)]
Logical vector with ith entry TRUE if the ith objective of fitness.fun shall be minimized. If a single logical is passed, it is assumed to be valid for each objective.

Value

[ecr_control]


ecr documentation built on March 31, 2023, 10:07 p.m.