org.encog.ml.ea.sort
public class SortGenomesForSpecies extends Object implements Comparator<Genome>
Constructor and Description |
---|
SortGenomesForSpecies(EvolutionaryAlgorithm theTrain)
Construct the comparator.
|
public SortGenomesForSpecies(EvolutionaryAlgorithm theTrain)
theTrain
- The trainer.public int compare(Genome g1, Genome g2)
compare
in interface Comparator<Genome>
Copyright © 2014. All Rights Reserved.