|
|||||||||||
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.DFEdge
The basic edge for any DataFlowGraph. This edge contains support for named ports. That is, it can have two properties tailPort and headPort that are strings giving the name of the ports to which this edge is attached.
DFVertex
,
DataFlowGraph
Field Summary |
Fields inherited from class byucc.jhdl.synth.graph.Edge |
head, tail |
Constructor Summary | |
DFEdge(Vertex tail,
java.lang.String tailPort,
Vertex head)
Construct a new DFEdge pointing from tail to head with the given tail port name. |
|
DFEdge(Vertex tail,
java.lang.String tailPort,
Vertex head,
java.lang.String headPort)
Construct a new DFEdge pointing from tail to head with the given port names. |
|
DFEdge(Vertex tail,
Vertex head)
Construct a new DFEdge pointing from tail to head. |
|
DFEdge(Vertex tail,
Vertex head,
java.lang.String headPort)
Construct a new DFEdge pointing from tail to head with the given head port name. |
Method Summary | |
protected java.lang.String |
edgeDotLabels()
|
protected java.lang.String |
edgeDotProperties()
|
java.lang.String |
getHeadPort()
Get the port name from the head of this edge. |
java.lang.String |
getTailPort()
Get the port name from the tail of this edge. |
boolean |
setBusWidth(int width)
Set the bus width for this edge. |
void |
setHeadPort(java.lang.String name)
Set the port name for the head of this edge. |
void |
setProperty(java.lang.String key,
java.lang.String value)
Set a property, (a key->value pair), for this edge. |
void |
setTailPort(java.lang.String name)
Set the port name for the tail of 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 DFEdge(Vertex tail, Vertex head)
tail
- The tail vertex for the new edge.head
- The head vertex for the new edge.public DFEdge(Vertex tail, java.lang.String tailPort, Vertex head, java.lang.String headPort)
tail
- The tail vertex for the new edge.tailPort
- The port name for the tail vertex of the edge.head
- The head vertex for the new edge.headPort
- The port name for the head vertex of the edge.public DFEdge(Vertex tail, java.lang.String tailPort, Vertex head)
tail
- The tail vertex for the new edge.tailPort
- The port name for tail vertex of the edge.head
- The head vertex for the new edge.public DFEdge(Vertex tail, Vertex head, java.lang.String headPort)
tail
- The tail vertex for the new edge.head
- The head vertex for the new edge.headPort
- The port name for the head vertex of the edge.Method Detail |
public boolean setBusWidth(int width)
width
- The new width for the edge
public void setProperty(java.lang.String key, java.lang.String value)
setProperty
in class Edge
key
- A string representing the key for this property.value
- A string representing the value associated with key.public void setTailPort(java.lang.String name)
name
- the name for the port at the tail of this edge.public void setHeadPort(java.lang.String name)
name
- the name for the port at the head of this edge.public java.lang.String getTailPort()
public java.lang.String getHeadPort()
protected java.lang.String edgeDotProperties()
edgeDotProperties
in class Edge
protected java.lang.String edgeDotLabels()
edgeDotLabels
in class Edge
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |