geneticengine.algorithms.api
Classes
Helper class that provides a standard way to create an ABC using |
Module Contents
- class geneticengine.algorithms.api.SynthesisAlgorithm(problem, budget, tracker=None)
Bases:
abc.ABCHelper class that provides a standard way to create an ABC using inheritance.
- Parameters:
problem (geneticengine.problems.Problem)
tracker (Optional[geneticengine.evaluation.tracker.ProgressTracker])
- problem: geneticengine.problems.Problem
- is_done()
Whether the synthesis should stop, or not.
- Return type:
bool
- get_problem()
- Return type:
- search()
- Return type:
list[geneticengine.solutions.individual.Individual] | None
- abstractmethod perform_search()
- Return type:
list[geneticengine.solutions.individual.Individual] | None