at.dms.kjc.raw
Class IMEMEstimation

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

public class IMEMEstimation
extends Object
implements FlatVisitor


Field Summary
static boolean TESTING_IMEM
           
 
Constructor Summary
IMEMEstimation()
           
 
Method Summary
static boolean fits(SIRFilter oldFilter)
           
static boolean testMe(FlatNode top)
          Returns true iff all filters in fit in IMEM.
 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()
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(FlatNode top)
Returns true iff all filters in fit in IMEM. Each filter is measured independently (assuming 1 filter per tile).


fits

public static boolean fits(SIRFilter oldFilter)