|
eaLib API Docs Last Modified : January 7 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mss.ea.eval.AbstractScoreComparator | +--mss.ea.eval.ReverseScoreComparator
Implementation of a score comparator that reverses the result of a comparison. This comparator assumes that a lower score indicates a better score.
Fields inherited from interface mss.ea.core.ScoreComparator |
serialVersionUID |
Constructor Summary | |
ReverseScoreComparator()
|
Method Summary | |
int |
compare(Score sa,
Score sb)
Compares two scores. |
Methods inherited from class mss.ea.eval.AbstractScoreComparator |
compare |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
equals |
Constructor Detail |
public ReverseScoreComparator()
Method Detail |
public int compare(Score sa, Score sb)
compare
in class AbstractScoreComparator
sa
- first scoresb
- second score
|
eaLib API Docs Last Modified : January 7 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |