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