geneticengine.algorithms.api

Module Contents

Classes

SynthesisAlgorithm

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

class geneticengine.algorithms.api.SynthesisAlgorithm(problem, budget, representation, tracker=None)

Bases: abc.ABC

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

Parameters:
tracker: geneticengine.evaluation.tracker.ProgressTracker
problem: geneticengine.problems.Problem
budget: geneticengine.evaluation.budget.SearchBudget
representation: geneticengine.representations.api.Representation
is_done()

Whether the synthesis should stop, or not.

Return type:

bool

get_problem()
Return type:

geneticengine.problems.Problem

abstract search()