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