Interface MkCoPEntry
-
- All Superinterfaces:
java.io.Externalizable,MTreeEntry,java.io.Serializable
- All Known Implementing Classes:
MkCoPDirectoryEntry,MkCoPLeafEntry
public interface MkCoPEntry extends MTreeEntry
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.- Since:
- 0.1
- Author:
- Elke Achtert
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doubleapproximateConservativeKnnDistance(int k)Returns the conservative approximated knn distance of the entry.ApproximationLinegetConservativeKnnDistanceApproximation()Returns the conservative approximation line.voidsetConservativeKnnDistanceApproximation(ApproximationLine conservativeApproximation)Sets the conservative approximation line-
Methods inherited from interface elki.index.tree.metrical.mtreevariants.MTreeEntry
getCoveringRadius, getParentDistance, getRoutingObjectID, setCoveringRadius, setParentDistance, setRoutingObjectID
-
-
-
-
Method Detail
-
approximateConservativeKnnDistance
double approximateConservativeKnnDistance(int k)
Returns the conservative approximated knn distance of the entry.- Parameters:
k- the parameter k of the knn distance- 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
-
-