|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.index.tree.AbstractDirectoryEntry de.lmu.ifi.dbs.elki.index.tree.metrical.mtreevariants.MTreeDirectoryEntry<D> de.lmu.ifi.dbs.elki.index.tree.metrical.mtreevariants.mktrees.mkmax.MkMaxDirectoryEntry<D>
D
- the type of Distance used in the MkMaxTreeclass MkMaxDirectoryEntry<D extends Distance<D>>
Represents an entry in a directory node of an MkMaxTree
. Additionally
to an MTreeDirectoryEntry an MkMaxDirectoryEntry holds the knn distance of
the underlying MkMax-Tree node.
Field Summary | |
---|---|
private D |
knnDistance
The aggregated k-nearest neighbor distance of the underlying MkMax-Tree node. |
private static long |
serialVersionUID
Serial version UID |
Constructor Summary | |
---|---|
MkMaxDirectoryEntry()
Empty constructor for serialization purposes. |
|
MkMaxDirectoryEntry(DBID objectID,
D parentDistance,
Integer nodeID,
D coveringRadius,
D knnDistance)
Provides a new MkMaxDirectoryEntry with the given parameters. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Indicates whether some other object is "equal to" this one. |
D |
getKnnDistance()
Returns the knn distance of the entry. |
void |
readExternal(ObjectInput in)
Calls the super method and reads the knn distance of this entry from the specified input stream. |
void |
setKnnDistance(D knnDistance)
Sets the knn distance of the entry. |
void |
writeExternal(ObjectOutput out)
Calls the super method and writes the knn distance of this entry to the specified stream. |
Methods inherited from class de.lmu.ifi.dbs.elki.index.tree.metrical.mtreevariants.MTreeDirectoryEntry |
---|
getCoveringRadius, getParentDistance, getRoutingObjectID, setCoveringRadius, setParentDistance, setRoutingObjectID, toString |
Methods inherited from class de.lmu.ifi.dbs.elki.index.tree.AbstractDirectoryEntry |
---|
getEntryID, getPageID, hashCode, isLeafEntry |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface de.lmu.ifi.dbs.elki.index.tree.metrical.mtreevariants.MTreeEntry |
---|
getCoveringRadius, getParentDistance, getRoutingObjectID, setCoveringRadius, setParentDistance, setRoutingObjectID |
Methods inherited from interface de.lmu.ifi.dbs.elki.index.tree.Entry |
---|
isLeafEntry |
Field Detail |
---|
private static final long serialVersionUID
private D extends Distance<D> knnDistance
Constructor Detail |
---|
public MkMaxDirectoryEntry()
public MkMaxDirectoryEntry(DBID objectID, D parentDistance, Integer nodeID, D coveringRadius, D knnDistance)
objectID
- the id of the routing objectparentDistance
- the distance from the routing object of this entry to
its parent's routing objectnodeID
- the id of the underlying nodecoveringRadius
- the covering radius of the entryknnDistance
- the aggregated knn distance of the underlying MkMax-Tree
nodeMethod Detail |
---|
public D getKnnDistance()
MkMaxEntry
getKnnDistance
in interface MkMaxEntry<D extends Distance<D>>
public void setKnnDistance(D knnDistance)
MkMaxEntry
setKnnDistance
in interface MkMaxEntry<D extends Distance<D>>
knnDistance
- the knn distance to be setpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class MTreeDirectoryEntry<D extends Distance<D>>
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class MTreeDirectoryEntry<D extends Distance<D>>
ClassNotFoundException
- If the class for an object being restored
cannot be found.
IOException
public boolean equals(Object o)
equals
in class MTreeDirectoryEntry<D extends Distance<D>>
o
- the object to be tested
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |