|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.dms.kjc.flatgraph.SSGEdge
public class SSGEdge
This class represents inter-SSG edges. Dynamic-rate edges between static-rate subgraphs (StaticStreamGraph). A there is only a single SSGEdge for a connection, shared by its upstream side and its downstream side. So, if upstream (resp. downstream) side sets upstreamNode (resp. downStreamNode) value, the downstream (resp. upstream) SSG will see it.
Method Summary | |
---|---|
static SSGEdge |
createSSGEdge(StaticStreamGraph fromSSG,
StaticStreamGraph toSSG,
int from,
int to)
Create a new SSGEdge, or return an existing one with the same parameters. |
StaticStreamGraph |
getDownstream()
the downstream SSG of edge |
int |
getDownstreamNum()
get the index into the input array for the downstream SSG |
StaticStreamGraph |
getUpstream()
the upstream SSG of edge |
int |
getUpstreamNum()
get the index into the output array of the upstream SSG |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static SSGEdge createSSGEdge(StaticStreamGraph fromSSG, StaticStreamGraph toSSG, int from, int to)
fromSSG
- upstream SSGtoSSG
- dowmstream SSGfrom
- number of outgoing connection in upstream SSGto
- number of incoming connection in downstream SSG
public int getDownstreamNum()
public int getUpstreamNum()
public StaticStreamGraph getDownstream()
public StaticStreamGraph getUpstream()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |