public static class RelationUtil.DescendingByDoubleRelation extends Object implements Comparator<DBIDRef>
Modifier and Type | Field and Description |
---|---|
private DoubleRelation |
scores
Scores to use for sorting.
|
Constructor and Description |
---|
RelationUtil.DescendingByDoubleRelation(DoubleRelation scores)
Constructor.
|
private final DoubleRelation scores
public RelationUtil.DescendingByDoubleRelation(DoubleRelation 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.