metaheuristic_designer.reporters.verbose_reporter module#
Reporter that prints a text summary at regular intervals.
- class VerboseReporter(verbose_timer=0.5, **kwargs)[source]#
Bases:
ReporterReporter that prints a multi-line status block every verbose_timer seconds.
- Parameters:
- verbose_timerfloat, optional
Minimum interval (in seconds) between printed updates (default 0.5).
Methods
log_end(algorithm)Print a final summary of the completed run.
log_init(algorithm)Print a header indicating the start of the optimization.
log_step(algorithm)Print a status block if enough time has elapsed.
- log_init(algorithm)[source]#
Print a header indicating the start of the optimization.
- Parameters:
algorithm (Algorithm)