Class FuzzyNode

  • All Implemented Interfaces:
    Serializable

    public class FuzzyNode
    extends Node
    A tree node saving references to it's children.
    Since:
    3.0.0
    Author:
    Kilian
    See Also:
    Serialized Form
    • Field Detail

      • lowerDistance

        public double lowerDistance
        The lower bound error this node might have
      • uppderDistance

        public double uppderDistance
        The upper bound error this node might have
    • Constructor Detail

      • FuzzyNode

        public FuzzyNode()
    • Method Detail

      • createChild

        public Node createChild​(boolean left)
        Create and set a child of the current node
        Overrides:
        createChild in class Node
        Parameters:
        left - if true create the left child if false create the right child
        Returns:
        the created node
      • setNodeBounds

        public void setNodeBounds​(double distance)
        Refresh the node's the upper and lower bound error. This method should be called when ever a hash was added to this node. The bounds will be adapted correctly by this method.
        Parameters:
        distance - the distance of the hash added to this node