org.encog.ml.ea.sort
public class MaximizeAdjustedScoreComp extends AbstractGenomeComparator implements Serializable
| Constructor and Description |
|---|
MaximizeAdjustedScoreComp() |
| 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, isBetterThanclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic int compare(Genome p1, Genome p2)
compare in interface Comparator<Genome>public boolean isBetterThan(Genome prg, Genome betterThan)
isBetterThan in interface GenomeComparatorprg - The first genome.betterThan - The second genome.public boolean shouldMinimize()
shouldMinimize in interface GenomeComparatorCopyright © 2014. All Rights Reserved.