public static class DiSH.DiSHClusterOrderEntry extends CorrelationClusterOrderEntry<DiSH.DiSHClusterOrderEntry>
Modifier and Type | Field and Description |
---|---|
private long[] |
commonPreferenceVector
The common preference vector of the two objects defining this distance.
|
correlationValue, euclideanValue, objectID, predecessorID, SEPARATOR
Constructor and Description |
---|
DiSHClusterOrderEntry(DBID objectID,
DBID predecessorID,
int correlationValue,
double euclideanValue,
long[] commonPreferenceVector)
Constructs a new CorrelationDistance object.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(DiSH.DiSHClusterOrderEntry other) |
long[] |
getCommonPreferenceVector()
Returns the common preference vector of the two objects defining this
distance.
|
String |
toString()
Returns a string representation of this
PreferenceVectorBasedCorrelationDistance.
|
equals, getCorrelationValue, getEuclideanValue, getID, getPredecessorID, hashCode, writeToText
private long[] commonPreferenceVector
public DiSHClusterOrderEntry(DBID objectID, DBID predecessorID, int correlationValue, double euclideanValue, long[] commonPreferenceVector)
correlationValue
- the correlation dimension to be represented by
the CorrelationDistanceeuclideanValue
- the Euclidean distance to be represented by the
CorrelationDistancecommonPreferenceVector
- the common preference vector of the two
objects defining this distancepublic long[] getCommonPreferenceVector()
public String toString()
toString
in class CorrelationClusterOrderEntry<DiSH.DiSHClusterOrderEntry>
public int compareTo(DiSH.DiSHClusterOrderEntry other)
compareTo
in interface Comparable<DiSH.DiSHClusterOrderEntry>
compareTo
in class CorrelationClusterOrderEntry<DiSH.DiSHClusterOrderEntry>
Copyright © 2014 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.