gov.sandia.cognition.learning.algorithm.genetic.selector
Interface Selector<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:
Reproducer<GenomeType>, Serializable
All Known Implementing Classes:
AbstractSelector, TournamentSelector

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

The Selector interface defines a type of reproducer that can select a portion of a population for reproduction.

Since:
1.0
Author:
Jonathan McClain

Method Summary
 Collection<EvaluatedGenome<GenomeType>> select(Collection<EvaluatedGenome<GenomeType>> genomes)
          Selects and returns a portion of the given population.
 
Methods inherited from interface gov.sandia.cognition.learning.algorithm.genetic.reproducer.Reproducer
reproduce
 

Method Detail

select

Collection<EvaluatedGenome<GenomeType>> select(Collection<EvaluatedGenome<GenomeType>> genomes)
Selects and returns a portion of the given population.

Parameters:
genomes - The population to select from.
Returns:
A portion of the given population.