geneticengine.evaluation.api

Attributes

logger

IndT

Classes

Evaluator

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

Module Contents

geneticengine.evaluation.api.logger
geneticengine.evaluation.api.IndT
class geneticengine.evaluation.api.Evaluator

Bases: abc.ABC

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

count = 0
abstractmethod evaluate_async(problem, individuals)
Parameters:
Return type:

Generator[IndT, Any, Any]

evaluate(problem, individuals)
Parameters:
Return type:

Iterable[IndT]

register_evaluation(individual, problem)
Parameters:
number_of_evaluations()
eval_single(problem, individual)
Parameters:
Return type:

geneticengine.problems.Fitness