LinkedList<Trace> newTraces = DataFlowOrder.getTraversal(spaceTime.partitioner.getTraceGraph()); spaceTime.partitioner.setTraceGraphNewIds( newTraces.toArray(new Trace[newTraces.size()]));
    private void checkInputNodes() {        //check all the edges of the slice graph to see if they are         //balanced        boolean change = false;        do {            //System.out.println("Iteration " + i++);            change = false;            for (int t = 0; t < spaceTime.partitioner.getTraceGraph().length; t++) {                Trace trace = spaceTime.partitioner.getTraceGraph()[t];                //check all the outgoing edges to see if they are balanced in the init                //and fix them if we have to                boolean currentChange                     = fixInputNodeBuffering(trace.getHead());                if (currentChange)                    change = true;            }            //don't forget to reset the filter infos after each iteration            FilterInfo.reset();        } while (change);    }