private static final class ExtractFlatClusteringFromHierarchy.CompareByDoubleLambda extends Object implements Comparator<DBIDRef>
Modifier and Type | Field and Description |
---|---|
private DoubleDistanceDataStore |
lambda
Lambda storage
|
Modifier | Constructor and Description |
---|---|
protected |
ExtractFlatClusteringFromHierarchy.CompareByDoubleLambda(DoubleDistanceDataStore lambda)
Constructor.
|
private final DoubleDistanceDataStore lambda
protected ExtractFlatClusteringFromHierarchy.CompareByDoubleLambda(DoubleDistanceDataStore lambda)
lambda
- Lambda storagepublic int compare(DBIDRef id1, DBIDRef id2)
compare
in interface Comparator<DBIDRef>