Class NodeBuilder
- java.lang.Object
-
- org.openscience.cdk.smsd.algorithm.vflib.builder.NodeBuilder
-
- All Implemented Interfaces:
INode
@Deprecated public class NodeBuilder extends Object implements 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
Constructors Modifier Constructor Description protected
NodeBuilder(VFAtomMatcher matcher)
Deprecated.Construct a node for a query atom
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addEdge(EdgeBuilder edge)
Deprecated.Adds edge to the edge list.void
addNeighbor(NodeBuilder node)
Deprecated.Adds neighbor to the Neighbors List.int
countNeighbors()
Deprecated.Returns Neighbors count.VFAtomMatcher
getAtomMatcher()
Deprecated.Returns Query Atom.List<IEdge>
getEdges()
Deprecated.Returns List of Edges.Iterable<INode>
neighbors()
Deprecated.Returns neighbors.
-
-
-
Constructor Detail
-
NodeBuilder
protected NodeBuilder(VFAtomMatcher matcher)
Deprecated.Construct a node for a query atom- Parameters:
matcher
-
-
-
Method Detail
-
countNeighbors
public int countNeighbors()
Deprecated.Returns Neighbors count.- Specified by:
countNeighbors
in interfaceINode
- Returns:
- Neighbors count.
-
getAtomMatcher
public VFAtomMatcher getAtomMatcher()
Deprecated.Returns Query Atom.- Specified by:
getAtomMatcher
in interfaceINode
- Returns:
- Query Atom.
-
addEdge
public void addEdge(EdgeBuilder edge)
Deprecated.Adds edge to the edge list.
-
addNeighbor
public void addNeighbor(NodeBuilder node)
Deprecated.Adds neighbor to the Neighbors List.- Specified by:
addNeighbor
in interfaceINode
- Parameters:
node
- add a node.
-
-