geneticengine.algorithms.gp.operators.elitism

Module Contents

Classes

ElitismStep

Selects the best individuals from the population.

class geneticengine.algorithms.gp.operators.elitism.ElitismStep

Bases: geneticengine.algorithms.gp.structure.GeneticStep

Selects the best individuals from the population.

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

Iterator[geneticengine.solutions.individual.Individual]