Map<String, DetectorFactory> factoryMap,
Set<DetectorFactory> factorySet,
	private ConstraintGraph buildConstraintGraph(		Map<String, DetectorNode> nodeMap,		Map<String, DetectorFactory> factoryMap,		List<DetectorOrderingConstraint> constraintList) throws OrderingConstraintException {		ConstraintGraph result = new ConstraintGraph();		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(earlier, later);		}		return result;	}