• Constructor Summary

      Constructors 
      Constructor Description
      SuffixNode()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract float getNumber()

      Return a number (usually, but not always, a motif count) associated with this node of the tree.

      abstract boolean hasChild​(int i)

      Determine if this node has a child corresponding to a given index number.

      abstract boolean isTerminal()

      Determine is this node is terminal (has no children).

      abstract void setNumber​(float n)

      Set the number associated with this node.

    • Method Detail

      • isTerminal

        public abstract boolean isTerminal()

        Determine is this node is terminal (has no children).

        Returns:
        true if and only if this node has no children.
      • hasChild

        public abstract boolean hasChild​(int i)

        Determine if this node has a child corresponding to a given index number.

      • getNumber

        public abstract float getNumber()

        Return a number (usually, but not always, a motif count) associated with this node of the tree.

      • setNumber

        public abstract void setNumber​(float n)

        Set the number associated with this node.