initECRControl function

Control object generator.

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)

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.

Returns

[ecr_control]

  • Maintainer: Jakob Bossek
  • License: GPL-3
  • Last published: 2023-03-08