de.lmu.ifi.dbs.elki.index.tree.metrical.mtreevariants.mktrees.mkcop
Interface MkCoPEntry<D extends NumberDistance<D,N>,N extends Number>
- All Superinterfaces:
- Entry, Externalizable, MetricalEntry, MTreeEntry<D>, Serializable
- All Known Implementing Classes:
- MkCoPDirectoryEntry, MkCoPLeafEntry
interface MkCoPEntry<D extends NumberDistance<D,N>,N extends Number>
- extends MTreeEntry<D>
Defines the requirements for an entry in an MkCop-Tree node.
Additionally to an entry in an M-Tree conservative approximation of the
knn distances is provided.
- Author:
- Elke Achtert
approximateConservativeKnnDistance
<O extends DatabaseObject> D approximateConservativeKnnDistance(int k,
DistanceFunction<O,D> distanceFunction)
- Returns the conservative approximated knn distance of the entry.
- Type Parameters:
O
- Object type- Parameters:
k
- the parameter k of the knn distancedistanceFunction
- the distance function
- Returns:
- the conservative approximated knn distance of the entry
getConservativeKnnDistanceApproximation
ApproximationLine getConservativeKnnDistanceApproximation()
- Returns the conservative approximation line.
- Returns:
- the conservative approximation line
setConservativeKnnDistanceApproximation
void setConservativeKnnDistanceApproximation(ApproximationLine conservativeApproximation)
- Sets the conservative approximation line
- Parameters:
conservativeApproximation
- the conservative approximation line to be set