Package edu.fiu.jtlex.data
Class GraphTCSP
java.lang.Object
edu.fiu.jtlex.data.GraphTCSP
- All Implemented Interfaces:
ITCSP
Implements a TimeML Graph as a Temporal Constraint Satisfaction Problem
- Since:
- Revision 772
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.jacop.core.StoregetStore()Get the constraints storeorg.jacop.core.IntVar[]Get the time points
-
Constructor Details
-
GraphTCSP
Transforms the TimeML Graph into a Temporal Constraint Satisfaction Problem. This method created two JaCoP IntVars per node, one for the start point, the other for the end point, and asserts constraints depending on the types of links in the graph.- Parameters:
timeMlGraph- A partitioned timeML graph to convert into a TCSP- Throws:
NullPointerException- If the graph is nullIllegalStateException- If the graph contains any S-Link- Since:
- Revision 772
-
-
Method Details
-
getStore
public org.jacop.core.Store getStore()Description copied from interface:ITCSPGet the constraints store -
getTimepoints
public org.jacop.core.IntVar[] getTimepoints()Description copied from interface:ITCSPGet the time points- Specified by:
getTimepointsin interfaceITCSP- Returns:
- The time points
-