at.dms.kjc.slicegraph
Class InterSliceEdge

java.lang.Object
  extended by at.dms.kjc.slicegraph.Edge
      extended by at.dms.kjc.slicegraph.InterSliceEdge

public class InterSliceEdge
extends Edge

This class represents an edge in the partitioned stream graph between slices. But it actually connects OutputSliceNodes to InputSliceNodes.

Author:
mgordon

Field Summary
 
Fields inherited from class at.dms.kjc.slicegraph.Edge
dest, src
 
Constructor Summary
InterSliceEdge(InputSliceNode dest)
          Partial constructor: #setSrc(OutputSliceNode) later.
InterSliceEdge(OutputSliceNode src)
          Partial constructor: #setDest(InputSliceNode) later.
InterSliceEdge(OutputSliceNode src, InputSliceNode dest)
          Full constructor, (type will be inferred from src / dest).
 
Method Summary
 InputSliceNode getDest()
           
 OutputSliceNode getSrc()
           
 int initItems()
          The number of items that traverse this edge in the initialization stage.
 int primePumpItems()
          The number of items sent over this link in one call of the link in the prime pump stage, the link might be used many times in the prime pump stage conceptually using the rotating buffers.
 void setDest(SliceNode dest)
          Set the destination SliceNode
 void setSrc(SliceNode src)
          Set the source SliceNode
 int steadyItems()
           
 
Methods inherited from class at.dms.kjc.slicegraph.Edge
getType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InterSliceEdge

public InterSliceEdge(OutputSliceNode src,
                      InputSliceNode dest)
Full constructor, (type will be inferred from src / dest).

Parameters:
src - Source of directed edge as OutputSliceNode
dest - Destination of directed edga as InputSliceNode

InterSliceEdge

public InterSliceEdge(OutputSliceNode src)
Partial constructor: #setDest(InputSliceNode) later.

Parameters:
src -

InterSliceEdge

public InterSliceEdge(InputSliceNode dest)
Partial constructor: #setSrc(OutputSliceNode) later.

Parameters:
dest -
Method Detail

getSrc

public OutputSliceNode getSrc()
Overrides:
getSrc in class Edge
Returns:
source SliceNode

getDest

public InputSliceNode getDest()
Overrides:
getDest in class Edge
Returns:
dest SliceNode

setSrc

public void setSrc(SliceNode src)
Description copied from class: Edge
Set the source SliceNode

Overrides:
setSrc in class Edge

setDest

public void setDest(SliceNode dest)
Description copied from class: Edge
Set the destination SliceNode

Overrides:
setDest in class Edge

initItems

public int initItems()
The number of items that traverse this edge in the initialization stage.

Returns:
The number of items that traverse this edge in the initialization stage.

steadyItems

public int steadyItems()
Returns:
The amount of items (not counting typesize) that flows over this edge in the steady state.

primePumpItems

public int primePumpItems()
The number of items sent over this link in one call of the link in the prime pump stage, the link might be used many times in the prime pump stage conceptually using the rotating buffers.

Returns:
...