gaft.analysis.console_output¶
-
class
gaft.analysis.console_output.ConsoleOutput¶ Bases:
gaft.plugin_interfaces.analysis.OnTheFlyAnalysisBuilt-in on-the-fly analysis plugin class for outputing log on console.
Attribute:
-
finalize(population, engine)¶ Called after the iteration to allow for custom finalization and post-processing of the collected data.
Parameters: - population (Population) – The up to date population of the iteration.
- engine (gaft.engine.GAEngine) – The current GAEngine where the analysis is running.
-
register_step(g, population, engine)¶ Function called in each iteration step.
Parameters: - g (int) – Current generation number.
- population (Population) – The up to date population of the iteration.
- engine (gaft.engine.GAEngine) – The current GAEngine where the analysis is running.
-
setup(ng, engine)¶ Function called right before the start of genetic algorithm main iteration to allow for custom setup of the analysis object.
Parameters: - ng (int) – The number of generation.
- engine (gaft.engine.GAEngine) – The current GAEngine where the analysis is running.
-