Package edu.fiu.jtlex.algorithms
Class Partitioner
java.lang.Object
edu.fiu.jtlex.algorithms.Partitioner
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpartitionGraph
(ITimeMLGraph timeMLGraph) Partitions a TimeML temporal graph by trimming all S-Links and then reassembling the graphs using DFS.
-
Constructor Details
-
Partitioner
public Partitioner()Creates a new partitioner instance- Since:
- jTLEX 1.0
-
-
Method Details
-
partitionGraph
Partitions a TimeML temporal graph by trimming all S-Links and then reassembling the graphs using DFS.- Specified by:
partitionGraph
in interfaceIPartitioner
- 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
-