public Simulator(SpdStaticStreamGraph ssg, JoinerSimulator joinerSimulator) { this.ssg = ssg; this.joinerSimulator = joinerSimulator; this.toplevel = ssg.getTopLevel(); this.layout = ((SpdStreamGraph) ssg.getStreamGraph()).getLayout(); this.rawChip = ((SpdStreamGraph) ssg.getStreamGraph()).getRawChip(); }