Class VFQueryBuilder
- java.lang.Object
-
- org.openscience.cdk.smsd.algorithm.vflib.builder.VFQueryBuilder
-
- All Implemented Interfaces:
IQuery
@Deprecated public class VFQueryBuilder extends Object implements IQuery
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 parsing and generating query graph.- Author:
- Syed Asad Rahman <asad@ebi.ac.uk>
- Source code:
- main
- Belongs to CDK module:
- smsd
-
-
Constructor Summary
Constructors Constructor Description VFQueryBuilder()
Deprecated.Constructor for VF Query Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description INode
addNode(VFAtomMatcher matcher, IAtom atom)
Deprecated.Add and return a node for a query atomIEdge
connect(INode source, INode target, VFBondMatcher matcher)
Deprecated.Construct and return an edge for a given query and target nodeint
countEdges()
Deprecated.Returns edge count.int
countNodes()
Deprecated.Returns node count.Iterable<IEdge>
edges()
Deprecated.Returns edges of the query.IAtom
getAtom(INode node)
Deprecated.Returns an atom associated with this node.IEdge
getEdge(int index)
Deprecated.Returns an edge of the query mol at a given position.IEdge
getEdge(INode source, INode target)
Deprecated.Returns an edge associated between two nodes.INode
getNode(int index)
Deprecated.Returns a node of the query mol at a given position.INode
getNode(IAtom atom)
Deprecated.Return a node for a given atom else return nullIterable<INode>
nodes()
Deprecated.Returns nodes of the query.
-
-
-
Method Detail
-
getNode
public INode getNode(int index)
Deprecated.Returns a node of the query mol at a given position.
-
getNode
public INode getNode(IAtom atom)
Deprecated.Return a node for a given atom else return null- Parameters:
atom
-- Returns:
- Node in the graph for a given atom
-
getEdge
public IEdge getEdge(int index)
Deprecated.Returns an edge of the query mol at a given position.
-
getEdge
public IEdge getEdge(INode source, INode target)
Deprecated.Returns an edge associated between two nodes.
-
addNode
public INode addNode(VFAtomMatcher matcher, IAtom atom)
Deprecated.Add and return a node for a query atom- Parameters:
matcher
-atom
-- Returns:
- added Node
-
countNodes
public int countNodes()
Deprecated.Returns node count.- Specified by:
countNodes
in interfaceIQuery
- Returns:
- node count.
-
countEdges
public int countEdges()
Deprecated.Returns edge count.- Specified by:
countEdges
in interfaceIQuery
- Returns:
- edge count.
-
connect
public IEdge connect(INode source, INode target, VFBondMatcher matcher)
Deprecated.Construct and return an edge for a given query and target node- Parameters:
source
-target
-matcher
-- Returns:
- connected edges
-
-