public void complete() {
		Collection productions = new HashSet(pToT.keySet());
		Iterator it = productions.iterator();
		while (it.hasNext()) {
			Production p = (Production) it.next();
			if (alreadyDone.contains(p))
				continue;
			Transition t = (Transition) pToT.get(p);
			automaton.addTransition(t);
		}
	}