org.evolvica.core
Interface IScoreComparator
- All Superinterfaces:
- java.util.Comparator, IIndividualComparator
- All Known Implementing Classes:
- AbstractScoreComparator
- public interface IScoreComparator
- extends IIndividualComparator
Interface for a comparator that is able to comare two scores.
- Since:
- 0.4.0
- Version:
- $Revision: 1.5 $ $Date: 2004/05/26 11:57:55 $
- Author:
- Andreas Rummler
Methods inherited from interface java.util.Comparator |
compare, equals |
compare
public int compare(IScore score0,
IScore score1)
- Compares two scores.
- Parameters:
score0
- first scorescore1
- second score
- Returns:
- -1 if the first score is better than the second, 0 if both scores are equal, 1 otherwise
Copyright © 2000-2004 Technical University of Ilmenau, Department Electronic Circuits and Systems