@Deprecated public class NodeBuilder extends Object implements INode
| Modifier | Constructor and Description |
|---|---|
protected |
NodeBuilder(VFAtomMatcher matcher)
Deprecated.
Construct a node for a query atom
|
| Modifier and Type | Method and 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.
|
protected NodeBuilder(VFAtomMatcher matcher)
matcher - public int countNeighbors()
countNeighbors in interface INodepublic VFAtomMatcher getAtomMatcher()
getAtomMatcher in interface INodepublic void addEdge(EdgeBuilder edge)
public void addNeighbor(NodeBuilder node)
addNeighbor in interface INodenode - add a node.Copyright © 2021. All rights reserved.