|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.result.optics.DoubleDistanceClusterOrderEntry
public class DoubleDistanceClusterOrderEntry
Provides an entry in a cluster order.
Field Summary | |
---|---|
private DBID |
objectID
The id of the entry. |
private DBID |
predecessorID
The id of the entry's predecessor. |
private double |
reachability
The reachability of the entry. |
Constructor Summary | |
---|---|
DoubleDistanceClusterOrderEntry(DBID objectID,
DBID predecessorID,
double reachability)
Creates a new entry in a cluster order with the specified parameters. |
Method Summary | |
---|---|
int |
compareTo(ClusterOrderEntry<DoubleDistance> o)
|
boolean |
equals(Object o)
Indicates whether some other object is "equal to" this one. |
DBID |
getID()
Returns the object id of this entry. |
DBID |
getPredecessorID()
Returns the id of the predecessor of this entry if this entry has a predecessor, null otherwise. |
DoubleDistance |
getReachability()
Returns the reachability distance of this entry |
int |
hashCode()
Returns a hash code value for the object. |
String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private DBID objectID
private DBID predecessorID
private double reachability
Constructor Detail |
---|
public DoubleDistanceClusterOrderEntry(DBID objectID, DBID predecessorID, double reachability)
objectID
- the id of the entrypredecessorID
- the id of the entry's predecessorreachability
- the reachability of the entryMethod Detail |
---|
public boolean equals(Object o)
equals
in class Object
o
- the reference object with which to compare.
true
if this object has the same attribute values as
the o argument; false
otherwise.public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public DBID getID()
getID
in interface ClusterOrderEntry<DoubleDistance>
public DBID getPredecessorID()
getPredecessorID
in interface ClusterOrderEntry<DoubleDistance>
public DoubleDistance getReachability()
getReachability
in interface ClusterOrderEntry<DoubleDistance>
public int compareTo(ClusterOrderEntry<DoubleDistance> o)
compareTo
in interface Comparable<ClusterOrderEntry<DoubleDistance>>
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |