makeMonitor function

Factory method for monitor objects.

Factory method for monitor objects.

Monitors can be pluged in the main cmaes function. They have full access to the environment of the optimization routine and can be used to write/log/visualize relevant data in each iteration.

makeMonitor(before = NULL, step = NULL, after = NULL, ...)

Arguments

  • before: [function]

    Function called one time after initialization of the EA.

  • step: [function]

    Function applied after each iteration of the algorithm.

  • after: [function]

    Function applied after the EA terminated.

  • ...: [any]

    Not used.

Returns

[cma_monitor] Monitor object.

See Also

makeSimpleMonitor, makeVisualizingMonitor

  • Maintainer: Jakob Bossek
  • License: BSD_2_clause + file LICENSE
  • Last published: 2016-12-04