|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jtool.jxplatform.graph.cfg.GetConstrainedReachableNodes
Calculates constrained reachable nodes on a CFG.
| Constructor Summary | |
GetConstrainedReachableNodes(CFG cfg,
CFGNode fromNode,
CFGNode toNode)
Calculates constrained reachable path nodes between two CFG nodes and records nodes in the path. |
|
| Method Summary | |
boolean |
contains(CFGNode node)
Tests if the collection of the reachable nodes contains a node. |
boolean |
isEmpty()
Tests if there is no reachable node. |
java.util.Iterator |
iterator()
Returns an iterator of the collection of the reachable nodes in proper sequence. |
void |
printNodes()
Displays information about the collected nodes for debugging. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GetConstrainedReachableNodes(CFG cfg,
CFGNode fromNode,
CFGNode toNode)
cfg - A CFG.fromNode - A start node of reachable path to be calculated.toNode - An end node of reachable path to be calculated.| Method Detail |
public boolean contains(CFGNode node)
node - A CFG node to be tested.
true if the reachable nodes contains the specified node, otherwise false.public boolean isEmpty()
true if there is no reachable node, otherwise false.public java.util.Iterator iterator()
public void printNodes()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||