geneticengine.algorithms.enumerative
Classes
Iterates through all possible representations and selects the best. |
Functions
|
|
|
|
|
|
|
|
|
Module Contents
- geneticengine.algorithms.enumerative.frange(start, stop, step)
- geneticengine.algorithms.enumerative.foundDict(d, target, result)
- geneticengine.algorithms.enumerative.combine_list_types(ts, acc, gen, dependent_values={})
- Parameters:
ts (list[type])
acc (list[Any])
dependent_values (Optional[dict[str, Any]])
- geneticengine.algorithms.enumerative.iterate_grammar(grammar, starting_symbol, generator_for_recursive=None, dependent_values={})
- Parameters:
grammar (geneticengine.grammar.grammar.Grammar)
starting_symbol (type)
generator_for_recursive (Optional[Any])
dependent_values (Optional[dict[str, Any]])
- geneticengine.algorithms.enumerative.iterate_individuals(grammar, starting_symbol)
- Parameters:
grammar (geneticengine.grammar.grammar.Grammar)
starting_symbol (type)
- Return type:
Generator[geneticengine.solutions.individual.ConcreteIndividual, Any, Any]
- class geneticengine.algorithms.enumerative.EnumerativeSearch(problem, budget, grammar, tracker=None)
Bases:
geneticengine.algorithms.api.SynthesisAlgorithmIterates through all possible representations and selects the best.
- Parameters:
problem (geneticengine.problems.Problem)
grammar (geneticengine.grammar.grammar.Grammar)
tracker (geneticengine.evaluation.tracker.ProgressTracker | None)
- grammar
- perform_search()
- Return type: