public static interface Goal.ClusterModelStatsComparator extends java.util.Comparator<ClusterModelStats>, java.io.Serializable
Modifier and Type | Method and Description |
---|---|
int |
compare(ClusterModelStats stats1,
ClusterModelStats stats2)
Compare two cluster model stats and determine which stats is preferred.
|
java.lang.String |
explainLastComparison()
This is a method to get the reason for the last comparison.
|
int compare(ClusterModelStats stats1, ClusterModelStats stats2)
compare
in interface java.util.Comparator<ClusterModelStats>
stats1
- the first statsstats2
- the second statsjava.lang.String explainLastComparison()