at.dms.kjc.spacedynamic
Class SimulationCounterPop

java.lang.Object
  extended by at.dms.kjc.spacedynamic.SimulationCounterPop

public class SimulationCounterPop
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
SimulationCounterPop()
           
 
Method Summary
 boolean checkAllZero()
           
 void decrementCount(FlatNode node, int inputN)
           
 int getCount(FlatNode node, int inputN)
           
 void resetCount(FlatNode node, int inputN)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimulationCounterPop

public SimulationCounterPop()
Method Detail

getCount

public int getCount(FlatNode node,
                    int inputN)

decrementCount

public void decrementCount(FlatNode node,
                           int inputN)

resetCount

public void resetCount(FlatNode node,
                       int inputN)

checkAllZero

public boolean checkAllZero()