Class MemoryKDTree.KDNode

  • Enclosing class:
    MemoryKDTree<O extends NumberVector>

    public static class MemoryKDTree.KDNode
    extends java.lang.Object
    KD tree node.
    Author:
    Erich Schubert
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int dim
      Split dimension
      (package private) java.lang.Object leftChild
      Left child node
      (package private) java.lang.Object rightChild
      Right child node
      (package private) double split
      Splitting threshold
    • Constructor Summary

      Constructors 
      Constructor Description
      KDNode​(int dim, double split, java.lang.Object leftChild, java.lang.Object rightChild)
      Constructor.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • split

        double split
        Splitting threshold
      • dim

        int dim
        Split dimension
      • leftChild

        java.lang.Object leftChild
        Left child node
      • rightChild

        java.lang.Object rightChild
        Right child node
    • Constructor Detail

      • KDNode

        public KDNode​(int dim,
                      double split,
                      java.lang.Object leftChild,
                      java.lang.Object rightChild)
        Constructor.
        Parameters:
        dim - Split dimension
        split - Split value
        leftChild - Left child
        rightChild - Right child