java.lang.Object
com.espertech.esper.common.internal.epl.spatial.quadtree.mxcif.MXCIFQuadTree<L>

public class MXCIFQuadTree<L> extends Object

Quad tree.

Nodes can either be leaf nodes or branch nodes. Both leaf nodes and branch nodes have data. "Data" is modelled as a generic type.

Branch nodes have 4 regions or child nodes that subdivide the parent region in NW/NE/SW/SE.

The tree is polymorphic: leaf nodes can become branches and branches can become leafs.

Manipulation and querying of the quad tree is done through tool classes. As the tree can be polymorphic users should not hold on to the root node as it could change.

  • Constructor Details

    • MXCIFQuadTree

      public MXCIFQuadTree(int leafCapacity, int maxTreeHeight, MXCIFQuadTreeNode<L> root)
  • Method Details

    • getLeafCapacity

      public int getLeafCapacity()
    • getMaxTreeHeight

      public int getMaxTreeHeight()
    • getRoot

      public MXCIFQuadTreeNode<L> getRoot()
    • setRoot

      public void setRoot(MXCIFQuadTreeNode<L> root)
    • clear

      public void clear()