at.dms.kjc.spacedynamic
Class RateMatch
java.lang.Object
at.dms.kjc.spacedynamic.RateMatch
- All Implemented Interfaces:
- FlatVisitor
public class RateMatch
- extends Object
- implements FlatVisitor
- Author:
- mgordon
Method Summary |
boolean |
check()
Determine if we can rate match this stream graph and if so calculate
some internal state to be used by later passes. |
FlatNode |
getNextNode()
|
void |
resetSchedule()
|
void |
visitNode(FlatNode node)
Visit each flatnode in the static stream graph and find the joiners. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RateMatch
public RateMatch(SpdStaticStreamGraph ssg)
check
public boolean check()
- Determine if we can rate match this stream graph and if so calculate
some internal state to be used by later passes.
- Returns:
- true if we can rate match
visitNode
public void visitNode(FlatNode node)
- Visit each flatnode in the static stream graph and find the joiners.
- Specified by:
visitNode
in interface FlatVisitor
- Parameters:
node
- the node that is being currently visited.
resetSchedule
public void resetSchedule()
getNextNode
public FlatNode getNextNode()