|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jtool.jxplatform.graph.GraphEdge
org.jtool.jxplatform.graph.pdg.Dependence
An edge (dependence) of PDGs.
| Field Summary |
| Fields inherited from class org.jtool.jxplatform.graph.GraphEdge |
dst, sort, src |
| Fields inherited from interface org.jtool.jxplatform.graph.GraphEdgeSort |
antiDependence, CDs, DDs, deforderDependence, defuseDependence, fallControlDependence, fallThroughFlow, falseControlDependence, falseControlFlow, flows, outputDependence, parameterFlow, parameterIn, parameterOut, trueControlDependence, trueControlFlow |
| Constructor Summary | |
protected |
Dependence()
Creates a new, empty object. |
|
Dependence(PDGNode src,
PDGNode dst)
Creates a new edge. |
| Method Summary | |
boolean |
equals(GraphElement elem)
Tests if this edge equals to a given edge. |
boolean |
isCD()
Tests if this edge represents the control dependence. |
boolean |
isDD()
Tests if this edge represents the data dependence. |
void |
print()
Displays information about this edge. |
void |
print(java.lang.StringBuffer buf)
Collects information about this edge for printing. |
void |
write(java.lang.StringBuffer buf)
Collects information about this edge for writing an XML document. |
| Methods inherited from class org.jtool.jxplatform.graph.GraphEdge |
getDstNode, getSort, getSrcNode, setDstNode, setSort, setSrcNode |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected Dependence()
public Dependence(PDGNode src,
PDGNode dst)
src - A source node of this edge.dst - A destination node of this edge.| Method Detail |
public boolean equals(GraphElement elem)
equals in interface GraphElementequals in class GraphEdgeelem - A edge to be checked.
true if the edges are equal, otherwise false.public boolean isCD()
true if this edge is a control dependence.public boolean isDD()
true if this edge is a data dependence.public void print()
print in interface GraphElementprint in class GraphEdgepublic void print(java.lang.StringBuffer buf)
print in class GraphEdgebuf - The information about the edge.public void write(java.lang.StringBuffer buf)
write in class GraphEdgebuf - The information about the edge.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||