geneticengine.evaluation.recorder
Module Contents
Classes
Helper class that provides a standard way to create an ABC using |
|
Helper class that provides a standard way to create an ABC using |
Attributes
- geneticengine.evaluation.recorder.FieldMapper
- class geneticengine.evaluation.recorder.SearchRecorder
Bases:
abc.ABC
Helper class that provides a standard way to create an ABC using inheritance.
- register(tracker, individual, problem, is_best=True)
- Parameters:
tracker (Any)
individual (geneticengine.solutions.Individual)
problem (geneticengine.problems.Problem)
- class geneticengine.evaluation.recorder.CSVSearchRecorder(csv_path, problem, fields=None, extra_fields=None, only_record_best_individuals=True)
Bases:
SearchRecorder
Helper class that provides a standard way to create an ABC using inheritance.
- Parameters:
csv_path (str)
problem (geneticengine.problems.Problem)
fields (dict[str, FieldMapper])
extra_fields (dict[str, FieldMapper])
only_record_best_individuals (bool)
- register(tracker, individual, problem, is_best=False)
- Parameters:
tracker (Any)
individual (geneticengine.solutions.Individual)
problem (geneticengine.problems.Problem)