org.encog.ml.ea.sort
public class MinimizeAdjustedScoreComp extends AbstractGenomeComparator implements Serializable
Constructor and Description |
---|
MinimizeAdjustedScoreComp() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Genome p1,
Genome p2) |
boolean |
isBetterThan(Genome prg,
Genome betterThan)
Determine if one genome is better than the other genome.
|
boolean |
shouldMinimize() |
applyBonus, applyPenalty, isBetterThan
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public int compare(Genome p1, Genome p2)
compare
in interface Comparator<Genome>
public boolean isBetterThan(Genome prg, Genome betterThan)
isBetterThan
in interface GenomeComparator
prg
- The first genome.betterThan
- The second genome.public boolean shouldMinimize()
shouldMinimize
in interface GenomeComparator
Copyright © 2014. All Rights Reserved.