Class DeLiCluTree

  • All Implemented Interfaces:
    Index
    Direct Known Subclasses:
    DeLiCluTreeIndex

    public abstract class DeLiCluTree
    extends NonFlatRStarTree<DeLiCluNode,​DeLiCluEntry,​RTreeSettings>
    DeLiCluTree is a spatial index structure based on an R-Tree. DeLiCluTree is designed for the DeLiClu algorithm, having in each node a boolean array which indicates whether the child nodes are already handled by the DeLiClu algorithm.
    Since:
    0.1
    Author:
    Elke Achtert
    • Field Detail

      • LOG

        private static final Logging LOG
        The logger for this class.
      • expanded

        private it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap<it.unimi.dsi.fastutil.ints.IntSet> expanded
        Holds the ids of the expanded nodes.
    • Constructor Detail

      • DeLiCluTree

        public DeLiCluTree​(PageFile<DeLiCluNode> pagefile,
                           RTreeSettings settings)
        Constructor.
        Parameters:
        pagefile - Page file
        settings - Settings
    • Method Detail

      • setExpanded

        public void setExpanded​(DeLiCluEntry entry1,
                                DeLiCluEntry entry2)
        Marks the nodes with the specified ids as expanded.
        Parameters:
        entry1 - the first node
        entry2 - the second node
      • getExpanded

        public it.unimi.dsi.fastutil.ints.IntSet getExpanded​(DeLiCluEntry entry)
        Returns the nodes which are already expanded with the specified node.
        Parameters:
        entry - the id of the node for which the expansions should be returned
        Returns:
        the nodes which are already expanded with the specified node
      • getExpanded

        public it.unimi.dsi.fastutil.ints.IntSet getExpanded​(DeLiCluNode entry)
        Returns the nodes which are already expanded with the specified node.
        Parameters:
        entry - the id of the node for which the expansions should be returned
        Returns:
        the nodes which are already expanded with the specified node