org.artoflife.gp
Interface Reproducer
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- CloneReproducer, CrossoverReproducer
- public interface Reproducer
- extends java.io.Serializable
Creates new Individual
s using a Selector
to choose fit parents from a Population,
and an implemented reproduction strategy that may include
cloning, mutation or crossover. Reproducers must be
Serializable so they can be saved as part of a Population.
- Author:
- Steve Meyfroidt
reproduce
public Individual reproduce(Selector parentPopulation)
throws IncompatibleGenotypeException
- Returns:
- new Individual resulting from the reproduction
- Throws:
IncompatibleGenotypeException
- when reproduction between
Individuals with incompatible genotypes is attempted
Copyright © 2002 the Art Of Life team. All Rights Reserved.