Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.index.tree.spatial.rstarvariants.rdknn
Interface RdKNNEntry<D extends NumberDistance<D,N>,N extends Number>

All Superinterfaces:
Entry, Externalizable, Serializable, SpatialComparable, SpatialEntry
All Known Implementing Classes:
RdKNNDirectoryEntry, RdKNNLeafEntry

interface RdKNNEntry<D extends NumberDistance<D,N>,N extends Number>
extends SpatialEntry

Defines the requirements for an entry in an RdKNN-Tree node. Additionally to an entry in an R*-Tree an RDkNNEntry holds the knn distance of the underlying data object or RdKNN-Tree node.

Author:
Elke Achtert

Method Summary
 D getKnnDistance()
          Returns the knn distance of this entry.
 void setKnnDistance(D knnDistance)
          Sets the knn distance of this entry.
 
Methods inherited from interface de.lmu.ifi.dbs.elki.index.tree.spatial.SpatialEntry
getMBR, setMBR
 
Methods inherited from interface de.lmu.ifi.dbs.elki.index.tree.Entry
getID, isLeafEntry, setID
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 
Methods inherited from interface de.lmu.ifi.dbs.elki.index.tree.spatial.SpatialComparable
getDimensionality, getMax, getMin
 

Method Detail

getKnnDistance

D getKnnDistance()
Returns the knn distance of this entry.

Returns:
the knn distance of this entry

setKnnDistance

void setKnnDistance(D knnDistance)
Sets the knn distance of this entry.

Parameters:
knnDistance - the knn distance to be set

Release 0.3 (2010-03-31_1612)