SchedPipeline sp = new SchedPipeline(self);
SchedPipeline sp = scheduler.newSchedPipeline(self);
    public Object visitPipeline(SIRPipeline self,				SIRStream parent,				JFieldDeclaration[] fields,				JMethodDeclaration[] methods,				JMethodDeclaration init,				List elements) {	// represent the pipeline	SchedPipeline sp = new SchedPipeline(self);	// add children to pipeline	for (ListIterator it = elements.listIterator(); it.hasNext(); ) {	    // get child	    SIRStream child = (SIRStream)it.next();	    // build scheduler representation of child	    SchedStream schedChild = (SchedStream)child.accept(this);	    // add child to pipe	    sp.addChild(schedChild);	}	// return result	return sp;    }