Class VFQueryBuilder
java.lang.Object
org.openscience.cdk.smsd.algorithm.vflib.builder.VFQueryBuilder
- All Implemented Interfaces:
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 -
Method Summary
Modifier and TypeMethodDescriptionaddNode
(VFAtomMatcher matcher, IAtom atom) Deprecated.Add and return a node for a query atomconnect
(INode source, INode target, VFBondMatcher matcher) Deprecated.Construct and return an edge for a given query and target nodeint
Deprecated.Returns edge count.int
Deprecated.Returns node count.edges()
Deprecated.Returns edges of the query.Deprecated.Returns an atom associated with this node.getEdge
(int index) Deprecated.Returns an edge of the query mol at a given position.Deprecated.Returns an edge associated between two nodes.getNode
(int index) Deprecated.Returns a node of the query mol at a given position.Deprecated.Return a node for a given atom else return nullnodes()
Deprecated.Returns nodes of the query.
-
Constructor Details
-
VFQueryBuilder
public VFQueryBuilder()Deprecated.Constructor for VF Query Builder
-
-
Method Details
-
edges
Deprecated.Returns edges of the query. -
nodes
Deprecated.Returns nodes of the query. -
getNode
Deprecated.Returns a node of the query mol at a given position. -
getNode
Deprecated.Return a node for a given atom else return null- Parameters:
atom
-- Returns:
- Node in the graph for a given atom
-
getEdge
Deprecated.Returns an edge of the query mol at a given position. -
getEdge
Deprecated.Returns an edge associated between two nodes. -
addNode
Deprecated.Add and return a node for a query atom- Parameters:
matcher
-atom
-- Returns:
- added Node
-
getAtom
Deprecated.Returns an atom associated with this 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
Deprecated.Construct and return an edge for a given query and target node- Parameters:
source
-target
-matcher
-- Returns:
- connected edges
-