HashMap layout = canScheduleTrace(partitioner.io[i]);
HashMap layout = canLayoutTrace(partitioner.io[i]);
    private void removePredefined(LinkedList sortedTraces)     {	for (int i = 0; i < partitioner.io.length; i++) {	    /*  Some old code, ignore	    HashMap layout = canScheduleTrace(partitioner.io[i]);	    assert layout != null : "Cannot find tile for predefined filter";	    //"assign" the predefined to a tile...	    FilterTraceNode node = partitioner.io[i].getHead().getNextFilter();	    assert node.isPredefined() && layout.containsKey(node) &&		layout.get(node) != null;	    //assign	     RawTile tile = (RawTile)layout.get(node);	    ((FilterTraceNode)node).setXY(tile.getX(), 					  tile.getY());	    System.out.println("Assigning " + node + " to " + tile);	    //record that we used this port for a file reader or writer...	    if (((FilterTraceNode)node).isFileInput()) {		assert tile.hasIODevice() && !readsFile[tile.getTileNumber()];		readsFile[tile.getTileNumber()] = true;			    } else if (((FilterTraceNode)node).isFileOutput()) {		assert tile.hasIODevice() && !writesFile[tile.getTileNumber()];		writesFile[tile.getTileNumber()] = true;	    }	    */	    sortedTraces.remove(partitioner.io[i]);	}	    }