artoflife pre0.1.0-dev

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 Individuals 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

Method Summary
 Individual reproduce(Selector parentPopulation)
           
 

Method Detail

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

artoflife pre0.1.0-dev

Copyright © 2002 the Art Of Life team. All Rights Reserved.