Package elki.clustering.optics
Class CorrelationClusterOrder
- java.lang.Object
-
- elki.clustering.optics.ClusterOrder
-
- elki.clustering.optics.CorrelationClusterOrder
-
- All Implemented Interfaces:
elki.result.OrderingResult
public class CorrelationClusterOrder extends ClusterOrder
Cluster order entry for correlation-based OPTICS variants.- Since:
- 0.7.0
- Author:
- Elke Achtert, Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description protected elki.database.datastore.WritableIntegerDataStorecorrelationValueThe correlation dimension.-
Fields inherited from class elki.clustering.optics.ClusterOrder
ids, predecessor, reachability
-
-
Constructor Summary
Constructors Constructor Description CorrelationClusterOrder(elki.database.ids.ArrayModifiableDBIDs ids, elki.database.datastore.WritableDoubleDataStore reachability, elki.database.datastore.WritableDBIDDataStore predecessor, elki.database.datastore.WritableIntegerDataStore corrdim)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCorrelationValue(elki.database.ids.DBIDRef id)Get the correlation dimensionality.doublegetEuclideanValue(elki.database.ids.DBIDRef id)Get the Euclidean distance in the orthogonal space.-
Methods inherited from class elki.clustering.optics.ClusterOrder
add, getDBIDs, getPredecessor, getReachability, iter, order, size
-
-
-
-
Constructor Detail
-
CorrelationClusterOrder
public CorrelationClusterOrder(elki.database.ids.ArrayModifiableDBIDs ids, elki.database.datastore.WritableDoubleDataStore reachability, elki.database.datastore.WritableDBIDDataStore predecessor, elki.database.datastore.WritableIntegerDataStore corrdim)Constructor.- Parameters:
ids- Cluster orderreachability- Reachabilitypredecessor- Predecessor (may benull)corrdim- Correlation dimensionality
-
-
Method Detail
-
getCorrelationValue
public int getCorrelationValue(elki.database.ids.DBIDRef id)
Get the correlation dimensionality.- Returns:
- Correlation dimensionality
-
getEuclideanValue
public double getEuclideanValue(elki.database.ids.DBIDRef id)
Get the Euclidean distance in the orthogonal space.- Returns:
- Euclidean distance
-
-