Package org.openscience.cdk.smsd.helper
Class BinaryTree
java.lang.Object
org.openscience.cdk.smsd.helper.BinaryTree
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEqual()
Deprecated.Returns equal nodeDeprecated.Returns not equal nodeint
getValue()
Deprecated.Return value of the nodevoid
setEqual
(BinaryTree equal) Deprecated.Set equal nodevoid
setNotEqual
(BinaryTree notEqual) Deprecated.Set not equal node
-
Constructor Details
-
BinaryTree
public BinaryTree(int value) Deprecated.Creates a new instance of BinaryTree.- Parameters:
value
- node value
-
-
Method Details
-
getValue
public int getValue()Deprecated.Return value of the node- Returns:
- get the value of the current node
-
getEqual
Deprecated.Returns equal node- Returns:
- the equal
-
setEqual
Deprecated.Set equal node- Parameters:
equal
- the equal to set
-
getNotEqual
Deprecated.Returns not equal node- Returns:
- the notEqual
-
setNotEqual
Deprecated.Set not equal node- Parameters:
notEqual
- the notEqual to set
-