Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.index.tree.metrical.mtreevariants.mktrees.mktab
Interface MkTabEntry<D extends Distance<D>>

All Superinterfaces:
Entry, Externalizable, MetricalEntry, MTreeEntry<D>, Serializable
All Known Implementing Classes:
MkTabDirectoryEntry, MkTabLeafEntry

interface MkTabEntry<D extends Distance<D>>
extends MTreeEntry<D>

Defines the requirements for an entry in an MkCop-Tree node. Additionally to an entry in an M-Tree an MkTabEntry holds a list of knn distances for for parameters k <= k_max of the underlying data object or MkTab-Tree node.

Author:
Elke Achtert

Method Summary
 int getK_max()
          Returns the parameter k_max.
 D getKnnDistance(int k)
          Returns the knn distance of the entry for the specified parameter k.
 List<D> getKnnDistances()
          Returns the list of knn distances of the entry.
 void setKnnDistances(List<D> knnDistances)
          Sets the knn distances of the entry.
 
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
getID, isLeafEntry, setID
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 

Method Detail

getKnnDistances

List<D> getKnnDistances()
Returns the list of knn distances of the entry.

Returns:
the list of knn distances of the entry

setKnnDistances

void setKnnDistances(List<D> knnDistances)
Sets the knn distances of the entry.

Parameters:
knnDistances - the knn distances to be set

getKnnDistance

D getKnnDistance(int k)
Returns the knn distance of the entry for the specified parameter k.

Parameters:
k - the parameter k of the knn distance
Returns:
the knn distance of the entry

getK_max

int getK_max()
Returns the parameter k_max.

Returns:
the parameter k_max

Release 0.2 (2009-07-06_1820)