Class Partitioner

java.lang.Object
edu.fiu.jtlex.algorithms.Partitioner
All Implemented Interfaces:
IPartitioner

public class Partitioner extends Object implements IPartitioner
Class used to partition an input TimeML temporal graph into main subgraph and subordinating subgraphs. TimeML graphs are split by trimming all instances of ILinks that are of type SLinkType and then reassembling the graphs using edges.
Since:
jTLEX 1.0
  • Constructor Details

    • Partitioner

      public Partitioner()
      Creates a new partitioner instance
      Since:
      jTLEX 1.0
  • Method Details

    • partitionGraph

      public IPartitionResult partitionGraph(ITimeMLGraph timeMLGraph)
      Partitions a TimeML temporal graph by trimming all S-Links and then reassembling the graphs using DFS.
      Specified by:
      partitionGraph in interface IPartitioner
      Parameters:
      timeMLGraph - The TimeML graph to be partitioned.
      Returns:
      An IPartitionResult containing the partitions and links.
      Throws:
      NullPointerException - If the graph is null.
      Since:
      jTLEX 1.0