// Set oldAvailLocs = FastSet.newInstance();
// oldAvailLocs.addAll(availableLocations);
// return new Object[]{new SimpleAssignmentMatrixImpl(origMatrix), oldAvailLocs};
// }
private Object createRollbackAssignData() {
List locAssignment = new ArrayList(allAssignments.size());
for (Assignment ass : allAssignments) {
locAssignment.add(new MapEntry(ass, ass.getLocation()));
}
assert origMatrix.getColumns() == locAssignment.size() : origMatrix + " \n " + locAssignment;
return new Object[]{new SimpleAssignmentMatrixImpl(origMatrix), locAssignment};
}