|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.result.optics.GenericClusterOrderEntry<D>
D - the type of Distance used by the ClusterOrderEntrypublic class GenericClusterOrderEntry<D extends Distance<D>>

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 D |
reachability
The reachability of the entry. |
| Constructor Summary | |
|---|---|
GenericClusterOrderEntry(DBID objectID,
DBID predecessorID,
D reachability)
Creates a new entry in a cluster order with the specified parameters. |
|
| Method Summary | |
|---|---|
int |
compareTo(ClusterOrderEntry<D> 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. |
D |
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 D extends Distance<D> reachability
| Constructor Detail |
|---|
public GenericClusterOrderEntry(DBID objectID,
DBID predecessorID,
D reachability)
objectID - the id of the entrypredecessorID - the id of the entry's predecessorreachability - the reachability of the entry| Method Detail |
|---|
public boolean equals(Object o)
equals in class Objecto - 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 Objectpublic String toString()
toString in class Objectpublic DBID getID()
getID in interface ClusterOrderEntry<D extends Distance<D>>public DBID getPredecessorID()
getPredecessorID in interface ClusterOrderEntry<D extends Distance<D>>public D getReachability()
getReachability in interface ClusterOrderEntry<D extends Distance<D>>public int compareTo(ClusterOrderEntry<D> o)
compareTo in interface Comparable<ClusterOrderEntry<D extends Distance<D>>>
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||