alogos._optimization.ea.reporting

Classes

MinimalReporter

A reporter that generates minimal output for an algorithm run.

VerboseReporter

A reporter that generates verbose output for an algorithm run.


Detailed object descriptions

class alogos._optimization.ea.reporting.MinimalReporter[source]

A reporter that generates minimal output for an algorithm run.

init_start(self, gen, time_start, time_now)[source]

Report on start of initialization of the first generation.

init_end(self, n)[source]

Report on end of initialization of the first generation.

map_gen_phe(self)[source]

Report on performing genotype-to-phenotype evaluation.

map_phe_fit(self)[source]

Report on performing phenotype-to-fitness evaluation.

calc_phe(self, n, n_unique, n_cached, n_calc)[source]

Report on genotype-to-phenotype evaluation results.

calc_fit(self, n, n_unique, n_cached, n_db, n_calc)[source]

Report on phenotype-to-fitness evaluation results.

select_par(self, gen, time, n, n_par)[source]

Report on parent selection.

select_sur(self, n_old, n_off, n_sel)[source]

Report on survivor selection.

cross_over(self, n_par, n_crs)[source]

Report on variation by crossover.

mutate(self, n_crs, n_mut)[source]

Report on variation by mutation.

gen_end(self, state)[source]

Report on end of a generation.

run_end(self, state)[source]

Report on end of a run.

write(self, message, end=None)[source]

Write a single message with context-sensitive formatting.

class alogos._optimization.ea.reporting.VerboseReporter[source]

A reporter that generates verbose output for an algorithm run.

init_start(self, gen, time_start, time_now)[source]

Report on start of initialization of the first generation.

init_end(self, n)[source]

Report on end of initialization of the first generation.

map_gen_phe(self)[source]

Report on performing genotype-to-phenotype evaluation.

map_phe_fit(self)[source]

Report on performing phenotype-to-fitness evaluation.

calc_phe(self, n, n_unique, n_cached, n_calc)[source]

Report on genotype-to-phenotype evaluation results.

calc_fit(self, n, n_unique, n_cached, n_db, n_calc)[source]

Report on phenotype-to-fitness evaluation results.

select_par(self, gen, time, n, n_par)[source]

Report on parent selection.

select_sur(self, n_old, n_off, n_sel)[source]

Report on survivor selection.

cross_over(self, n_par, n_crs)[source]

Report on variation by crossover.

mutate(self, n_crs, n_mut)[source]

Report on variation by mutation.

gen_end(self, state)[source]

Report on end of a generation.

run_end(self, time)[source]

Report on end of a run.

write(self, message, level=None)[source]

Write a single message with context-sensitive formatting.