makeMonitor: Factory method for monitor objects.

Description Usage Arguments Value See Also

View source: R/makeMonitor.R

Description

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.

Usage

1
2
makeMonitor(before = NULL, step = NULL, after = NULL, getResult = 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.

Value

[cma_monitor] Monitor object.

See Also

makeSimpleMonitor, makeVisualizingMonitor


andreas-he/cmaesbenchmarking documentation built on May 10, 2017, 9:25 p.m.