at.dms.kjc.spacedynamic
Class IMEMEstimation

java.lang.Object
  extended by at.dms.kjc.spacedynamic.IMEMEstimation
All Implemented Interfaces:
FlatVisitor

public class IMEMEstimation
extends Object
implements FlatVisitor


Field Summary
static boolean TESTING_IMEM
           
 
Constructor Summary
IMEMEstimation(SpdStaticStreamGraph ssg)
           
 
Method Summary
 boolean fits(SIRFilter oldFilter)
           
static boolean testMe(SpdStaticStreamGraph ssg, FlatNode top)
          Returns true iff all filters in
 void visitNode(FlatNode node)
          The visitor must define this method that will be called once on each FlatNode that is down stream of the accepting node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TESTING_IMEM

public static boolean TESTING_IMEM
Constructor Detail

IMEMEstimation

public IMEMEstimation(SpdStaticStreamGraph ssg)
Method Detail

visitNode

public void visitNode(FlatNode node)
Description copied from interface: FlatVisitor
The visitor must define this method that will be called once on each FlatNode that is down stream of the accepting node.

Specified by:
visitNode in interface FlatVisitor
Parameters:
node - the node that is being currently visited.

testMe

public static boolean testMe(SpdStaticStreamGraph ssg,
                             FlatNode top)
Returns true iff all filters in
str
fit in IMEM. Each filter is measured independently (assuming 1 filter per tile).


fits

public boolean fits(SIRFilter oldFilter)