if (grCombined.config.getGdFailOnDuplicateNames()) throw new IllegalArgumentException("names of states "+duplicates+" are shared between A and B");
}
Configuration config = Configuration.getDefaultConfiguration().copy();config.setLearnerCloneGraph(false);
final LearnerGraphND added = new LearnerGraphND(config),removed = new LearnerGraphND(config);
added.initEmpty();removed.initEmpty();// to make sure we can handle an assignment of a reject-state to an initial state
final Set<CmpVertex> extraVertices = new TreeSet<CmpVertex>();
// Now collect the changes, where vertices to be added can cancel out with those to be removed. This is needed because
// there could be transitions between key pairs in A such that there are transitions between vertices with the same