Class BinaryTree


  • @Deprecated
    public class BinaryTree
    extends Object
    Deprecated.
    SMSD has been deprecated from the CDK with a newer, more recent version of SMSD is available at http://github.com/asad/smsd.
    Class to construct a Binary tree for McGregor search.
    Author:
    Syed Asad Rahman <asad@ebi.ac.uk>
    Source code:
    main
    Belongs to CDK module:
    smsd
    • Constructor Detail

      • BinaryTree

        public BinaryTree​(int value)
        Deprecated.
        Creates a new instance of BinaryTree.
        Parameters:
        value - node value
    • Method Detail

      • getValue

        public int getValue()
        Deprecated.
        Return value of the node
        Returns:
        get the value of the current node
      • getEqual

        public BinaryTree getEqual()
        Deprecated.
        Returns equal node
        Returns:
        the equal
      • setEqual

        public void setEqual​(BinaryTree equal)
        Deprecated.
        Set equal node
        Parameters:
        equal - the equal to set
      • getNotEqual

        public BinaryTree getNotEqual()
        Deprecated.
        Returns not equal node
        Returns:
        the notEqual
      • setNotEqual

        public void setNotEqual​(BinaryTree notEqual)
        Deprecated.
        Set not equal node
        Parameters:
        notEqual - the notEqual to set