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.