
O - object typeclass MkTabTreeNode<O> extends AbstractMTreeNode<O,MkTabTreeNode<O>,MkTabEntry>
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
entries, isLeaf, numEntries| Constructor and Description |
|---|
MkTabTreeNode()
Empty constructor for Externalizable interface.
|
MkTabTreeNode(int capacity,
boolean isLeaf)
Creates a MkTabTreeNode object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
adjustEntry(MkTabEntry entry,
DBID routingObjectID,
double parentDistance,
AbstractMTree<O,MkTabTreeNode<O>,MkTabEntry,?> mTree)
Adjusts the parameters of the entry representing this node (e.g. after
insertion of new objects).
|
protected void |
integrityCheckParameters(MkTabEntry parentEntry,
MkTabTreeNode<O> parent,
int index,
AbstractMTree<O,MkTabTreeNode<O>,MkTabEntry,?> mTree)
Tests, if the parameters of the entry representing this node, are correctly
set.
|
protected double[] |
kNNDistances()
Determines and returns the knn distance of this node as the maximum knn
distance of all entries.
|
coveringRadiusFromEntries, integrityCheckaddDirectoryEntry, addLeafEntry, children, deleteAllEntries, deleteEntry, equals, getCapacity, getEntries, getEntry, getNumEntries, isLeaf, readExternal, removeMask, splitByMask, splitTo, splitTo, toString, writeExternalgetPageID, hashCode, isDirty, setDirty, setPageIDprivate static final long serialVersionUID
public MkTabTreeNode()
public MkTabTreeNode(int capacity,
boolean isLeaf)
capacity - the capacity (maximum number of entries plus 1 for
overflow) of this nodeisLeaf - indicates whether this node is a leaf nodeprotected double[] kNNDistances()
public boolean adjustEntry(MkTabEntry entry, DBID routingObjectID, double parentDistance, AbstractMTree<O,MkTabTreeNode<O>,MkTabEntry,?> mTree)
AbstractMTreeNodeadjustEntry in class AbstractMTreeNode<O,MkTabTreeNode<O>,MkTabEntry>entry - the entry representing this noderoutingObjectID - the id of the (new) routing object of this nodeparentDistance - the distance from the routing object of this node to
the routing object of the parent nodemTree - the M-Tree object holding this nodetrue if adjustment of parent is neededprotected void integrityCheckParameters(MkTabEntry parentEntry, MkTabTreeNode<O> parent, int index, AbstractMTree<O,MkTabTreeNode<O>,MkTabEntry,?> mTree)
integrityCheckParameters in class AbstractMTreeNode<O,MkTabTreeNode<O>,MkTabEntry>parent - the parent holding the entry representing this nodeindex - the index of the entry in the parents child arraymTree - the underlying M-TreeparentEntry - the entry representing the parentCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.