Evolve a population from generation to generation.
This implements a Generational GA, in which the population moves from
generation to generation.
Methods
|
|
__init__
evolve
|
|
__init__
|
__init__ (
self,
starting_population,
selector,
)
Initialize the evolver.
Arguments:
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.
|
|
evolve
|
evolve ( self, stopping_criteria )
Evolve the population through multiple generations.
Arguments:
Returns:
|
|