Class NodeBuilder
java.lang.Object
org.openscience.cdk.smsd.algorithm.vflib.builder.NodeBuilder
- All Implemented Interfaces:
INode
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 for building/storing nodes (atoms) in the graph with atom
query capabilities.
- Author:
- Syed Asad Rahman <asad@ebi.ac.uk>
- Source code:
- main
- Belongs to CDK module:
- smsd
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
NodeBuilder
(VFAtomMatcher matcher) Deprecated.Construct a node for a query atom -
Method Summary
Modifier and TypeMethodDescriptionvoid
addEdge
(EdgeBuilder edge) Deprecated.Adds edge to the edge list.void
addNeighbor
(NodeBuilder node) Deprecated.Adds neighbor to the Neighbors List.int
Deprecated.Returns Neighbors count.Deprecated.Returns Query Atom.getEdges()
Deprecated.Returns List of Edges.Deprecated.Returns neighbors.
-
Constructor Details
-
NodeBuilder
Deprecated.Construct a node for a query atom- Parameters:
matcher
-
-
-
Method Details
-
countNeighbors
public int countNeighbors()Deprecated.Returns Neighbors count.- Specified by:
countNeighbors
in interfaceINode
- Returns:
- Neighbors count.
-
neighbors
Deprecated.Returns neighbors. -
getAtomMatcher
Deprecated.Returns Query Atom.- Specified by:
getAtomMatcher
in interfaceINode
- Returns:
- Query Atom.
-
getEdges
Deprecated.Returns List of Edges. -
addEdge
Deprecated.Adds edge to the edge list. -
addNeighbor
Deprecated.Adds neighbor to the Neighbors List.- Specified by:
addNeighbor
in interfaceINode
- Parameters:
node
- add a node.
-