printSchedule(result.getSteadySchedule(), "steady state"); printSchedule(result.getInitSchedule(), "initialization");
    private Schedule computeSchedule(SIRStream toplevel) {	// make a scheduler	Scheduler scheduler = new SimpleHierarchicalSchedulerPow2();	// get a representation of the stream structure	SchedStream schedStream 	    = (SchedStream)toplevel.accept(new SIRSchedBuilder(scheduler,							       this));	// set it to compute the schedule of <schedStream>	scheduler.useStream(schedStream);	// debugging output	scheduler.print(System.out);	// compute a schedule	Schedule result = (Schedule)scheduler.computeSchedule();	// debugging output	printSchedule(result.getSteadySchedule(), "steady state");	printSchedule(result.getInitSchedule(), "initialization");	// return schedule	return result;    }