gov.sandia.cognition.learning.algorithm.genetic.reproducer
Interface CrossoverFunction<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 Implementing Classes:
VectorizableCrossoverFunction

@CodeReviews(reviews={@CodeReview(reviewer="Kevin R. Dixon",date="2008-07-23",changesNeeded=false,comments="Looks fine."),@CodeReview(reviewer="Justin Basilico",date="2006-10-04",changesNeeded=false,comments="Interface looks fine.")})
public interface CrossoverFunction<GenomeType>
extends Serializable

The CrossoverFunction interface implements standard functionality for implementing crossover for genetic algorithms.

Since:
1.0
Author:
Jonathan McClain

Method Summary
 GenomeType crossover(GenomeType genome1, GenomeType genome2)
          Crosses over the provided genomes to produce a new genome.
 

Method Detail

crossover

GenomeType crossover(GenomeType genome1,
                     GenomeType genome2)
Crosses over the provided genomes to produce a new genome.

Parameters:
genome1 - The first genome to crossover.
genome2 - The second genome to crossover.
Returns:
The result of the crossover.