if (fire.contents instanceof SIRTwoStageFilter && initSimulation)
if (fire.contents instanceof SIRTwoStageFilter && initSimulation){    SIRTwoStageFilter two = (SIRTwoStageFilter)fire.contents; if (two.getInitPeek() == 0 && two.getInitPush() == 0 && two.getInitPop() == 0) { return two.getPeekInt(); }
    private int itemsNeededToFire(FlatNode fire, SimulationCounter counters)     {	if (!counters.hasFired(fire)) {	    if (fire.contents instanceof SIRTwoStageFilter && initSimulation)		return ((SIRTwoStageFilter)fire.contents).getInitPeek();	    else 		return ((SIRFilter)fire.contents).getPeekInt();	}	else	    return ((SIRFilter)fire.contents).getPopInt();    }