Class TimeMLGraphTCSP

java.lang.Object
edu.fiu.jtlex.timeml.graph.TimeMLGraphTCSP
All Implemented Interfaces:
ITimeMLGraphTCSP

public class TimeMLGraphTCSP extends Object implements ITimeMLGraphTCSP
Implements a TimeML Graph as a Temporal Constraint Satisfaction Problem. Also acts as an abstraction for creating Stores.
Since:
jTLEX 1.0
See Also:
  • Constructor Details

    • TimeMLGraphTCSP

      public TimeMLGraphTCSP(ITimeMLGraph timeMlGraph)
      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 null
      IllegalStateException - If the graph contains any S-Link
      Since:
      jTLEX 1.0
  • Method Details

    • getStore

      public org.jacop.core.Store getStore()
      Description copied from interface: ITimeMLGraphTCSP
      Get the constraints store
      Specified by:
      getStore in interface ITimeMLGraphTCSP
      Returns:
      The store with imposed constraints
    • getTimepoints

      public org.jacop.core.IntVar[] getTimepoints()
      Description copied from interface: ITimeMLGraphTCSP
      Get the time points
      Specified by:
      getTimepoints in interface ITimeMLGraphTCSP
      Returns:
      The time points