Package edu.fiu.jtlex.processors
Class IndeterminacyDetector
java.lang.Object
edu.fiu.jtlex.processors.IndeterminacyDetector
- All Implemented Interfaces:
IIndeterminacyDetector
Default implementation of INewIndeterminacyDetector
- Since:
- jTLEX 1.0
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new indeterminacy detector withGraphTCSPSolveras default implementation.Creates a new inconsistency detector with the givenIGraphTCSPSolverimplementation. -
Method Summary
Modifier and TypeMethodDescriptiondetect(ITimeMLGraph timeMLGraph) Detects indeterminacies in the given TimeML graph.
-
Constructor Details
-
IndeterminacyDetector
public IndeterminacyDetector()Creates a new indeterminacy detector withGraphTCSPSolveras default implementation.- Since:
- jTLEX 1.0
-
IndeterminacyDetector
Creates a new inconsistency detector with the givenIGraphTCSPSolverimplementation.- Parameters:
solver- AnIGraphTCSPSolverimplementation- Throws:
NullPointerException- If the TCSP solver is null- Since:
- jTLEX 1.0
-
-
Method Details
-
detect
Detects indeterminacies in the given TimeML graph.- Specified by:
detectin interfaceIIndeterminacyDetector- Parameters:
timeMLGraph- The graph to analyze.- Returns:
- An
ITimeMLIndeterminacywith the results, or null if there's no solution. - Throws:
NullPointerException- If the TimeML graph is null- Since:
- jTLEX 1.0
-