public class OPTICSHeapEntry extends Object implements Comparable<OPTICSHeapEntry>
Modifier and Type | Field and Description |
---|---|
(package private) DBID |
objectID
The id of the entry.
|
(package private) DBID |
predecessorID
The id of the entry's predecessor.
|
(package private) double |
reachability
The reachability of the entry.
|
Constructor and Description |
---|
OPTICSHeapEntry(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(OPTICSHeapEntry o) |
boolean |
equals(Object o)
Indicates whether some other object is "equal to" this one.
|
int |
hashCode()
Returns a hash code value for the object.
|
String |
toString()
Returns a string representation of the object.
|
DBID objectID
DBID predecessorID
double reachability
public OPTICSHeapEntry(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 int compareTo(OPTICSHeapEntry o)
compareTo
in interface Comparable<OPTICSHeapEntry>
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.