@TestClass(value="org.openscience.cdk.smsd.algorithm.vflib.VFLibTest") public class NodeBuilder extends Object implements INode
Modifier and Type | Method and Description |
---|---|
void |
addEdge(EdgeBuilder edge)
Adds edge to the edge list.
|
void |
addNeighbor(NodeBuilder node)
Adds neighbor to the Neighbors List.
|
int |
countNeighbors()
Returns Neighbors count.
|
VFAtomMatcher |
getAtomMatcher()
Returns Query Atom.
|
List<IEdge> |
getEdges()
Returns List of Edges.
|
Iterable<INode> |
neighbors()
Returns neighbors.
|
public int countNeighbors()
countNeighbors
in interface INode
public VFAtomMatcher getAtomMatcher()
getAtomMatcher
in interface INode
public void addEdge(EdgeBuilder edge)
public void addNeighbor(NodeBuilder node)
addNeighbor
in interface INode
node
- add a node.