public final class TtreeNode
extends java.lang.Object
Constructor and Description |
---|
TtreeNode(TtreeNode parent,
BGP bgp)
Constructor to initiate bgp, parent node, varset and child list.
|
Modifier and Type | Method and Description |
---|---|
void |
addChild(TtreeNode n)
Add a TtreeNode object to child list.
|
BGP |
getBGP()
Get the basic graph pattern object.
|
java.util.LinkedList<TtreeNode> |
getChilds()
Get list of child nodes.
|
TtreeNode |
getParent()
Get the parent of node.
|
java.util.LinkedList<Node> |
getVarSet()
Get list of variables directly found in the corresponding clause, but not
in nested clauses
|
void |
setBGP(BGP bgp) |
public TtreeNode getParent()
public BGP getBGP()
public void setBGP(BGP bgp)
public java.util.LinkedList<Node> getVarSet()
public java.util.LinkedList<TtreeNode> getChilds()
public void addChild(TtreeNode n)
n
- A TtreeNode object to be added to child list.