geneticengine.evaluation.recorder

Module Contents

Classes

SearchRecorder

Helper class that provides a standard way to create an ABC using

CSVSearchRecorder

Helper class that provides a standard way to create an ABC using

Attributes

FieldMapper

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:
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: