|
|
|||||||||||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.lmu.ifi.dbs.elki.algorithm.clustering.DeLiClu.SpatialObjectPair
public class DeLiClu.SpatialObjectPair
Encapsulates an entry in the cluster order.
Field Summary | |
---|---|
(package private) SpatialEntry |
entry1
The first entry of this pair. |
(package private) SpatialEntry |
entry2
The second entry of this pair. |
(package private) boolean |
isExpandable
Indicates whether this pair is expandable or not. |
Constructor Summary | |
---|---|
DeLiClu.SpatialObjectPair(SpatialEntry entry1,
SpatialEntry entry2,
boolean isExpandable)
Creates a new entry with the specified parameters. |
Method Summary | |
---|---|
int |
compareTo(Identifiable o)
Compares this object with the specified object for order. |
Integer |
getID()
Returns the unique id of this object. |
String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
SpatialEntry entry1
SpatialEntry entry2
boolean isExpandable
Constructor Detail |
---|
public DeLiClu.SpatialObjectPair(SpatialEntry entry1, SpatialEntry entry2, boolean isExpandable)
entry1
- the first entry of this pairentry2
- the second entry of this pairisExpandable
- if true, this pair is expandable (a pair of nodes),
otherwise this pair is not expandable (a pair of objects)Method Detail |
---|
public int compareTo(Identifiable o)
o
- the Object to be compared.
public String toString()
toString
in class Object
public Integer getID()
getID
in interface Identifiable
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |