|
|
|||||||||||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.result.ClusterOrderEntry<D>
D - the type of Distance used by the ClusterOrderEntrypublic class ClusterOrderEntry<D extends Distance<?>>
Provides an entry in a cluster order.
| Field Summary | |
|---|---|
private Integer |
objectID
The id of the entry. |
private Integer |
predecessorID
The id of the entry's predecessor. |
private D |
reachability
The reachability of the entry. |
| Constructor Summary | |
|---|---|
ClusterOrderEntry(Integer objectID,
Integer predecessorID,
D reachability)
Creates a new entry in a cluster order with the specified parameters. |
|
| Method Summary | |
|---|---|
int |
compareTo(Identifiable o)
Compares this object with the specified object for order. |
boolean |
equals(Object o)
Indicates whether some other object is "equal to" this one. |
Integer |
getID()
Returns the object id of this entry. |
Integer |
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 Integer objectID
private Integer predecessorID
private D extends Distance<?> reachability
| Constructor Detail |
|---|
public ClusterOrderEntry(Integer objectID,
Integer 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 Integer getID()
getID in interface Identifiablepublic Integer getPredecessorID()
public D getReachability()
public int compareTo(Identifiable o)
o - the Object to be compared.
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||