metaheuristic_designer.reporters.silent_reporter module#

Silent reporter that produces no output during a run.

class SilentReporter[source]#

Bases: Reporter

Reporter that produces no output.

All logging methods are no-ops. Useful for running experiments without visual clutter.

Methods

log_end(algorithm)

Called once, after the optimization loop finishes.

log_init(algorithm)

Called once, before the main optimization loop starts.

log_step(algorithm)

Called after each generation.

log_init(algorithm)[source]#

Called once, before the main optimization loop starts.

Parameters:
algorithmAlgorithm

The algorithm that is about to run.

Parameters:

algorithm (Algorithm)

log_step(algorithm)[source]#

Called after each generation.

Parameters:
algorithmAlgorithm

The running algorithm, with up-to-date population, iteration count, and best solution.

Parameters:

algorithm (Algorithm)

log_end(algorithm)[source]#

Called once, after the optimization loop finishes.

Parameters:
algorithmAlgorithm

The algorithm that has just finished.

Parameters:

algorithm (Algorithm)