at.dms.kjc.raw
Class JoinerCounter

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

public class JoinerCounter
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
JoinerCounter()
           
 
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

JoinerCounter

public JoinerCounter()
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()