metaheuristic_designer.reporters.create_reporter#

create_reporter(reporter_name, **kwargs)[source]#

Instantiate a reporter by name.

Return type:

Reporter

Parameters:
reporter_namestr

One of "silent", "tqdm", or "verbose".

**kwargs

Forwarded to the reporter constructor.

Returns:
Reporter

A concrete reporter instance.

Raises:
ValueError

If reporter_name is not recognized.

Parameters:

reporter_name (str)