public interface SearchNode
Modifier and Type | Method and Description |
---|---|
int |
getChildCount()
Returns the minimum number of direct child nodes.
|
SearchConstraint[] |
getConstraints() |
int |
getDescendantCount()
Returns the number of nodes in the sub-tree whose root this
SearchNode is. |
int |
getHeight()
Returns the height of the sub-tree whose root node is this
SearchNode . |
java.lang.String |
getId() |
SearchEdge |
getIncomingEdgeAt(int index) |
int |
getIncomingEdgeCount() |
NodeType |
getNodeType() |
SearchEdge |
getOutgoingEdgeAt(int index) |
int |
getOutgoingEdgeCount() |
boolean |
isNegated() |
java.lang.String getId()
SearchConstraint[] getConstraints()
boolean isNegated()
int getOutgoingEdgeCount()
SearchEdge getOutgoingEdgeAt(int index)
int getIncomingEdgeCount()
SearchEdge getIncomingEdgeAt(int index)
NodeType getNodeType()
int getHeight()
SearchNode
.
For a leaf node this method must return 1
and for any
other node it is 1
plus the maximum of any of its child nodes height.int getDescendantCount()
SearchNode
is.
This count does not include the node itself and is 0
for leaf nodes.int getChildCount()