Class PartitionResult

java.lang.Object
edu.fiu.jtlex.data.PartitionResult
All Implemented Interfaces:
IPartitionResult

public class PartitionResult extends Object implements IPartitionResult
Default implementation of IPartitionResult.
Since:
Revision 774
  • Constructor Details

    • PartitionResult

      public PartitionResult(List<IGraph> partitions, Set<ILink> partitionLinks)
      Creates a new partition result.
      Parameters:
      partitions - List of the partitions.
      partitionLinks - Set of the single S-links.
      Throws:
      NullPointerException - If any of the arguments is null.
      Since:
      Revision 774
  • Method Details

    • getPartitions

      public List<IGraph> getPartitions()
      Gets the list of partitions.
      Specified by:
      getPartitions in interface IPartitionResult
      Returns:
      The list of partitions.
      Since:
      Revision 774
    • getPartitionLinks

      public Set<ILink> getPartitionLinks()
      Gets the set of partition links.
      Specified by:
      getPartitionLinks in interface IPartitionResult
      Returns:
      The set of partition links.
      Since:
      Revision 774