geneticengine.algorithms.gp.structure

Classes

PopulationInitializer

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

GeneticStep

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

Module Contents

class geneticengine.algorithms.gp.structure.PopulationInitializer

Bases: abc.ABC

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

abstractmethod initialize(problem, representation, random, target_size)
Parameters:
Return type:

Iterator[geneticengine.solutions.individual.PhenotypicIndividual]

class geneticengine.algorithms.gp.structure.GeneticStep

Bases: abc.ABC

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

abstractmethod iterate(problem, evaluator, representation, random, population, target_size, generation)
Parameters:
Return type:

Iterator[geneticengine.solutions.individual.PhenotypicIndividual]

apply(problem, evaluator, representation, random, population, target_size, generation)
Parameters:
Return type:

Iterator[geneticengine.solutions.individual.PhenotypicIndividual]

pre_iterate(problem, evaluator, representation, random, population, target_size, generation)
Parameters:
Return type:

None

post_iterate(problem, evaluator, representation, random, population, target_size, generation)
Parameters:
Return type:

None

__str__()