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 Details

    • NodeBuilder

      protected NodeBuilder(VFAtomMatcher matcher)
      Deprecated.
      Construct a node for a query atom
      Parameters:
      matcher -
  • Method Details

    • countNeighbors

      public int countNeighbors()
      Deprecated.
      Returns Neighbors count.
      Specified by:
      countNeighbors in interface INode
      Returns:
      Neighbors count.
    • neighbors

      public Iterable<INode> neighbors()
      Deprecated.
      Returns neighbors.
      Specified by:
      neighbors in interface INode
      Returns:
      Iterable INode.
    • getAtomMatcher

      public VFAtomMatcher getAtomMatcher()
      Deprecated.
      Returns Query Atom.
      Specified by:
      getAtomMatcher in interface INode
      Returns:
      Query Atom.
    • getEdges

      public List<IEdge> getEdges()
      Deprecated.
      Returns List of Edges.
      Specified by:
      getEdges in interface INode
      Returns:
      edges.
    • addEdge

      public void addEdge(EdgeBuilder edge)
      Deprecated.
      Adds edge to the edge list.
      Specified by:
      addEdge in interface INode
      Parameters:
      edge - add an edge.
    • addNeighbor

      public void addNeighbor(NodeBuilder node)
      Deprecated.
      Adds neighbor to the Neighbors List.
      Specified by:
      addNeighbor in interface INode
      Parameters:
      node - add a node.