Class FlatRStarTreeNode

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID
      Serial version
      • Fields inherited from class elki.index.tree.AbstractNode

        entries, isLeaf, numEntries
    • Constructor Summary

      Constructors 
      Constructor Description
      FlatRStarTreeNode()
      Empty constructor for Externalizable interface.
      FlatRStarTreeNode​(int capacity, boolean isLeaf)
      Creates a new FlatRStarTreeNode with the specified parameters.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean deleteEntry​(int index)
      Deletes the entry at the specified index and shifts all entries after the index to left.
      void increaseEntries​(int newsize)
      Increases the length of the entries array to entries.length + 1.
      • Methods inherited from class elki.index.tree.AbstractNode

        addEntry, children, deleteAllEntries, getCapacity, getEntry, getNumEntries, isLeaf, removeMask, splitByMask, splitTo, splitTo, toString
      • Methods inherited from class elki.persistent.AbstractExternalizablePage

        equals, getPageID, hashCode, isDirty, setDirty, setPageID
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface elki.index.tree.Node

        addEntry, children, getEntry, getNumEntries, isLeaf
      • Methods inherited from interface elki.persistent.Page

        getPageID, isDirty, setDirty, setPageID
    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        Serial version
        See Also:
        Constant Field Values
    • Constructor Detail

      • FlatRStarTreeNode

        public FlatRStarTreeNode()
        Empty constructor for Externalizable interface.
      • FlatRStarTreeNode

        public FlatRStarTreeNode​(int capacity,
                                 boolean isLeaf)
        Creates a new FlatRStarTreeNode with the specified parameters.
        Parameters:
        capacity - the capacity (maximum number of entries plus 1 for overflow) of this node
        isLeaf - indicates whether this node is a leaf node
    • Method Detail

      • deleteEntry

        public boolean deleteEntry​(int index)
        Deletes the entry at the specified index and shifts all entries after the index to left.
        Overrides:
        deleteEntry in class elki.index.tree.AbstractNode<SpatialEntry>
        Parameters:
        index - the index at which the entry is to be deleted
      • increaseEntries

        public final void increaseEntries​(int newsize)
        Increases the length of the entries array to entries.length + 1.
        Parameters:
        newsize - New size