at.dms.kjc.raw
Class SimulationCounterPush

java.lang.Object
  extended by at.dms.kjc.raw.SimulationCounterPush

public class SimulationCounterPush
extends Object

This class keeps the counters for weights of the splitter/joiners and performs the test to check whether the simulation is finished


Constructor Summary
SimulationCounterPush()
           
 
Method Summary
 boolean checkAllZero()
           
 void decrementCount(FlatNode node, int way)
           
 int getCount(FlatNode node, int way)
           
 void resetCount(FlatNode node, int way)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimulationCounterPush

public SimulationCounterPush()
Method Detail

getCount

public int getCount(FlatNode node,
                    int way)

decrementCount

public void decrementCount(FlatNode node,
                           int way)

resetCount

public void resetCount(FlatNode node,
                       int way)

checkAllZero

public boolean checkAllZero()