
public static class DataStoreUtil.AscendingByDoubleDataStore extends Object implements Comparator<DBIDRef>
| Modifier and Type | Field and Description |
|---|---|
private DoubleDataStore |
scores
Scores to use for sorting.
|
| Constructor and Description |
|---|
AscendingByDoubleDataStore(DoubleDataStore scores)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(DBIDRef id1,
DBIDRef id2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongprivate final DoubleDataStore scores
public AscendingByDoubleDataStore(DoubleDataStore scores)
scores - Scores for sortingpublic int compare(DBIDRef id1, DBIDRef id2)
compare in interface Comparator<DBIDRef>Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.