biopython v1.71.0 Bio.GA.Evolver.GenerationEvolver
Evolve a population from generation to generation.
This implements a Generational GA, in which the population moves from generation to generation.
Link to this section Summary
Initialize the evolver
Evolve the population through multiple generations
Link to this section Functions
Link to this function __init__()
Initialize the evolver.
- starting_population - An initial set of individuals to begin the evolution process from. This should be a list of Organism objects.
- selector - A Selection object that implements selection, along with mutation and crossover to select a new population from a given population.
Link to this function evolve()
Evolve the population through multiple generations.
- stopping_criteria - A function which, when passed the current individuals in the population, will determine when to stop the evolution process.
- The final evolved population.