
public class DoubleDistanceClusterOrderEntry extends Object implements Comparable<ClusterOrderEntry<DoubleDistance>>, ClusterOrderEntry<DoubleDistance>
| Modifier and Type | Field and Description | 
|---|---|
| private DBID | objectIDThe id of the entry. | 
| private DBID | predecessorIDThe id of the entry's predecessor. | 
| private double | reachabilityThe reachability of the entry. | 
| Constructor and Description | 
|---|
| DoubleDistanceClusterOrderEntry(DBID objectID,
                               DBID predecessorID,
                               double reachability)Creates a new entry in a cluster order with the specified parameters. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
private DBID objectID
private DBID predecessorID
private double reachability
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 entrypublic boolean equals(Object o)
public int hashCode()
public String toString()
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>>