de.lmu.ifi.dbs.elki.index.tree.metrical.mtreevariants.mktrees.mkmax
Interface MkMaxEntry<D extends Distance<D>>
- Type Parameters:
D
- the type of Distance used in the MkMaxTree
- All Superinterfaces:
- Entry, Externalizable, MTreeEntry<D>, Serializable
- All Known Implementing Classes:
- MkMaxDirectoryEntry, MkMaxLeafEntry
interface MkMaxEntry<D extends Distance<D>>
- extends MTreeEntry<D>
Defines the requirements for an entry in an
MkMaxTreeNode
.
Additionally to an entry in an M-Tree an MkMaxEntry holds the k-nearest neighbor distance of the underlying
data object or MkMax-Tree node.
Methods inherited from interface de.lmu.ifi.dbs.elki.index.tree.Entry |
isLeafEntry |
getKnnDistance
D getKnnDistance()
- Returns the knn distance of the entry.
- Returns:
- the knn distance of the entry
setKnnDistance
void setKnnDistance(D knnDistance)
- Sets the knn distance of the entry.
- Parameters:
knnDistance
- the knn distance to be set