Control object generator.
The control object keeps information on the objective function and a set of evolutionary components, i.e., operators.
initECRControl(fitness.fun, n.objectives = NULL, minimize = NULL)
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.
[ecr_control
]