|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectbyucc.jhdl.synth.graph.Edge
byucc.jhdl.synth.CFEdge
The basic edge for any ControlFlowGraph. This edge supports an Integer weight property.
CFVertex,
ControlFlowGraph| Field Summary |
| Fields inherited from class byucc.jhdl.synth.graph.Edge |
head, tail |
| Constructor Summary | |
CFEdge(Vertex tail,
Vertex head)
Construct a new CFEdge pointing from tail to head. |
|
CFEdge(Vertex t,
Vertex h,
java.lang.Integer weight)
Construct a new edge from tail -> head with the given weight. |
|
CFEdge(Vertex t,
Vertex h,
java.lang.String weight)
Construct a new edge from tail -> head with the given weight. |
|
| Method Summary | |
protected java.lang.String |
edgeDotLabels()
|
protected java.lang.String |
edgeDotProperties()
|
java.lang.String |
getWeight()
Get the weight associated with this edge. |
void |
setProperty(java.lang.String key,
java.lang.String value)
Set a property, (a key->value pair), for this edge. |
void |
setWeight(java.lang.Integer weight)
Set the weight for this edge. |
void |
setWeight(java.lang.String weight)
Set the weight for this edge. |
| Methods inherited from class byucc.jhdl.synth.graph.Edge |
equals, getHead, getTail, setHead, setTail, toDot, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CFEdge(Vertex tail,
Vertex head)
tail - The tail vertex for the new edge.head - The head vertex for the new edge.
public CFEdge(Vertex t,
Vertex h,
java.lang.Integer weight)
t - The vertex that is the tail of the new edge,
(the vertex from which the edge leaves).h - The vertex that is the head of the new edge,
(the vertex to which the edge points).
public CFEdge(Vertex t,
Vertex h,
java.lang.String weight)
t - The vertex that is the tail of the new edge,
(the vertex from which the edge leaves).h - The vertex that is the head of the new edge,
(the vertex to which the edge points).| Method Detail |
public void setProperty(java.lang.String key,
java.lang.String value)
setProperty in class Edgekey - A string representing the key for this property.value - A string representing the value associated with key.public void setWeight(java.lang.Integer weight)
weight - the new weight for this edge.public void setWeight(java.lang.String weight)
weight - the new weight for this edge.public java.lang.String getWeight()
protected java.lang.String edgeDotProperties()
edgeDotProperties in class Edgeprotected java.lang.String edgeDotLabels()
edgeDotLabels in class Edge
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||