Package edu.fiu.jtlex.timeml.graph
Class PartitionResult
java.lang.Object
edu.fiu.jtlex.timeml.graph.PartitionResult
- All Implemented Interfaces:
IPartitionResult
Default implementation of IPartitionResult.
- Since:
- jTLEX 1.0
-
Constructor Summary
ConstructorsConstructorDescriptionPartitionResult
(List<ITimeMLGraph> partitions, Set<ITimeMLLink> partitionLinks, ITimeMLGraph timeMLGraph) Creates a new partition result. -
Method Summary
Modifier and TypeMethodDescriptionGets the set of partition links.Gets the list of partitions.
-
Constructor Details
-
PartitionResult
public PartitionResult(List<ITimeMLGraph> partitions, Set<ITimeMLLink> partitionLinks, ITimeMLGraph timeMLGraph) Creates a new partition result.- Parameters:
partitions
- List of the partitions.partitionLinks
- Set of the single S-links.timeMLGraph
- the main/parent timeMLGraph- Throws:
NullPointerException
- If any of the arguments is null.- Since:
- jTLEX 1.0
-
-
Method Details
-
getPartitions
Gets the list of partitions.- Specified by:
getPartitions
in interfaceIPartitionResult
- Returns:
- The list of partitions.
- Since:
- jTLEX 1.0
-
getPartitionLinks
Gets the set of partition links.- Specified by:
getPartitionLinks
in interfaceIPartitionResult
- Returns:
- The set of partition links.
- Since:
- jTLEX 1.0
-