public class RdKNNNode extends AbstractRStarTreeNode<RdKNNNode,RdKNNEntry>
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
entries, isLeaf, numEntries
Constructor and Description |
---|
RdKNNNode()
Empty constructor for Externalizable interface.
|
RdKNNNode(int capacity,
boolean isLeaf)
Creates a new RdKNNNode object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
adjustEntry(RdKNNEntry entry)
Adjusts the parameters of the entry representing this node.
|
protected void |
integrityCheckParameters(RdKNNNode parent,
int index)
Tests, if the parameters of the entry representing this node, are correctly
set.
|
protected double |
kNNDistance()
Computes and returns the aggregated knn distance of this node
|
adjustEntryIncremental, computeMBR, integrityCheck, readExternal, writeExternal
addDirectoryEntry, addLeafEntry, children, deleteAllEntries, deleteEntry, getCapacity, getEntries, getEntry, getNumEntries, isLeaf, removeMask, splitByMask, splitTo, splitTo, toString
equals, getPageID, hashCode, isDirty, setDirty, setPageID
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addDirectoryEntry, addLeafEntry, children, getEntry, getNumEntries, isLeaf
private static final long serialVersionUID
public RdKNNNode()
public RdKNNNode(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 kNNDistance()
public boolean adjustEntry(RdKNNEntry entry)
AbstractRStarTreeNode
adjustEntry
in class AbstractRStarTreeNode<RdKNNNode,RdKNNEntry>
entry
- the entry representing this nodeprotected void integrityCheckParameters(RdKNNNode parent, int index)
integrityCheckParameters
in class AbstractRStarTreeNode<RdKNNNode,RdKNNEntry>
parent
- the parent holding the entry representing this nodeindex
- the index of the entry in the parents child arrayCopyright © 2019 ELKI Development Team. License information.