gov.sandia.cognition.learning.algorithm.genetic.reproducer
Interface Reproducer<GenomeType>

Type Parameters:
GenomeType - Type of genome used to represent a single element in the genetic population, such as a Vector, for example
All Superinterfaces:
Serializable
All Known Subinterfaces:
Selector<GenomeType>
All Known Implementing Classes:
AbstractSelector, CrossoverReproducer, MultiReproducer, MutationReproducer, TournamentSelector

@CodeReviews(reviews={@CodeReview(reviewer="Kevin R. Dixon",date="2008-07-23",changesNeeded=false,comments={"Moved previous code review to CodeReview annotation.","Otherwise, looks fine."}),@CodeReview(reviewer="Justin Basilico",date="2006-10-04",changesNeeded=false,comments="Interface looks fine.")})
public interface Reproducer<GenomeType>
extends Serializable

The Reproducer interface defines the functionality of a reproduction algorithm in a genetic algorithm. Such an algorithm takes a collection of genomes and their associated costs and then returns the new generation of genomes based on that.

Since:
1.0
Author:
Justin Basilico, Kevin R. Dixon

Method Summary
 Collection<GenomeType> reproduce(Collection<EvaluatedGenome<GenomeType>> genomes)
          Applies a reproduction algorithm to the given collection of genomes and their associated score from the cost function.
 

Method Detail

reproduce

Collection<GenomeType> reproduce(Collection<EvaluatedGenome<GenomeType>> genomes)
Applies a reproduction algorithm to the given collection of genomes and their associated score from the cost function. It returns a new population of genomes.

Parameters:
genomes - The current population of genomes along with their associated costs.
Returns:
A new population of genomes.