Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

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

Method Summary
 int compare(IScore score0, IScore score1)
          Compares two scores.
 
Methods inherited from interface org.evolvica.core.IIndividualComparator
compare
 
Methods inherited from interface java.util.Comparator
compare, equals
 

Method Detail

compare

public int compare(IScore score0,
                   IScore score1)
Compares two scores.

Parameters:
score0 - first score
score1 - second score
Returns:
-1 if the first score is better than the second, 0 if both scores are equal, 1 otherwise

Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

Copyright © 2000-2004 Technical University of Ilmenau, Department Electronic Circuits and Systems