Package edu.fiu.jtlex.timeml.graph
Class Partitioning
java.lang.Object
edu.fiu.jtlex.timeml.graph.Partitioning
- All Implemented Interfaces:
IPartitioning
Default implementation of IPartitionResult.
- Since:
- jTLEX 1.0
-
Constructor Summary
ConstructorsConstructorDescriptionPartitioning(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.Gets the parent graph of the partition.
-
Constructor Details
-
Partitioning
public Partitioning(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:
getPartitionsin interfaceIPartitioning- Returns:
- The list of partitions.
- Since:
- jTLEX 1.0
-
getPartitionLinks
Gets the set of partition links.- Specified by:
getPartitionLinksin interfaceIPartitioning- Returns:
- The set of partition links.
- Since:
- jTLEX 1.0
-
getTimeMLGraph
Gets the parent graph of the partition.- Specified by:
getTimeMLGraphin interfaceIPartitioning- Returns:
- The ITimeMLGraph parent graph.
- Since:
- jTLEX 1.0
-