at.dms.kjc.raw
Class Simulator

java.lang.Object
  extended by at.dms.kjc.raw.Simulator
Direct Known Subclasses:
FineGrainSimulator, WorkBasedSimulator

public abstract class Simulator
extends Object


Field Summary
static HashMap<FlatNode,JoinerScheduleNode> initJoinerCode
           
static HashMap<Object,StringBuffer> initSchedules
           
static HashMap<FlatNode,JoinerScheduleNode> steadyJoinerCode
           
static HashMap<Object,StringBuffer> steadySchedules
           
 FlatNode toplevel
           
 
Constructor Summary
Simulator()
           
 
Method Summary
abstract  boolean canFire(FlatNode node, HashMap<FlatNode,Integer> executionCounts, SimulationCounter counters)
           
abstract  void simulate(FlatNode top)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

initSchedules

public static HashMap<Object,StringBuffer> initSchedules

steadySchedules

public static HashMap<Object,StringBuffer> steadySchedules

initJoinerCode

public static HashMap<FlatNode,JoinerScheduleNode> initJoinerCode

steadyJoinerCode

public static HashMap<FlatNode,JoinerScheduleNode> steadyJoinerCode

toplevel

public FlatNode toplevel
Constructor Detail

Simulator

public Simulator()
Method Detail

simulate

public abstract void simulate(FlatNode top)

canFire

public abstract boolean canFire(FlatNode node,
                                HashMap<FlatNode,Integer> executionCounts,
                                SimulationCounter counters)