result.createEdge(later, earlier);
result.createEdge(earlier, later);
	private ConstraintGraph buildConstraintGraph(		Map<String, DetectorFactory> factoryMap,		List<DetectorOrderingConstraint> constraintList) throws OrderingConstraintException {		ConstraintGraph result = new ConstraintGraph();		Map<String, DetectorNode> nodeMap = new HashMap<String, DetectorNode>();		for (Iterator<DetectorOrderingConstraint> i = constraintList.iterator(); i.hasNext(); ) {			DetectorOrderingConstraint constraint = i.next();			DetectorNode earlier = addOrCreateDetectorNode(				constraint.getEarlierDetector(), nodeMap, factoryMap, result);			DetectorNode later = addOrCreateDetectorNode(				constraint.getLaterDetector(), nodeMap, factoryMap, result);			result.createEdge(later, earlier);		}		return result;	}