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>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNodeBuilder(VFAtomMatcher matcher) Deprecated.Construct a node for a query atom -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEdge(EdgeBuilder edge) Deprecated.Adds edge to the edge list.voidaddNeighbor(NodeBuilder node) Deprecated.Adds neighbor to the Neighbors List.intDeprecated.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:
countNeighborsin interfaceINode- Returns:
- Neighbors count.
-
neighbors
Deprecated.Returns neighbors. -
getAtomMatcher
Deprecated.Returns Query Atom.- Specified by:
getAtomMatcherin 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:
addNeighborin interfaceINode- Parameters:
node- add a node.
-