Monitor objects serve for monitoring the optimization process, e.g., printing
some status messages to the console. Each monitor includes the functions
before
, step
and after
, each being a function and expecting
a log log
of type ecr_logger
and ...
as the only parameters.
This way the logger has access to the entire log.
makeECRMonitor(before = NULL, step = NULL, after = NULL, ...)
[ecr_monitor
]
Monitor object.
[function
]
Function called one time after initialization of the EA.
[function
]
Function applied after each iteration of the algorithm.
[function
]
Function applied after the EA terminated.
[any
]
Not used.