if (!partitioner.isIO(traces[i])) assert newTraceAssignment(traces[i].getHead().getNextFilter()) : "Error: could not find a legal layout for " + traces[i] + " during initial layout";
assert newTraceAssignment(traces[i].getHead().getNextFilter()) : "Error: could not find a legal layout for " + traces[i] + " during initial layout";
    private void legalInitialPlacement() {        Trace[] traces = partitioner.getTraceGraph();        for (int i = 0; i < traces.length; i++) {            if (!partitioner.isIO(traces[i]))                assert newTraceAssignment(traces[i].getHead().getNextFilter()) :                    "Error: could not find a legal layout for " + traces[i] + " during initial layout";        }    }