Class KahyparPartitioner

java.lang.Object
fr.univartois.cril.jkahypar.KahyparPartitioner

public final class KahyparPartitioner extends Object
The KahyparPartitioner allows to compute a partition of a given hypergraph using a predefined configuration inherited from the context in which it is executed.
  • Method Details

    • computePartition

      public HypergraphPartition computePartition()
      Computes a partition of the given hypergraph.
      Returns:
      The computed partition.
    • improvePartition

      public HypergraphPartition improvePartition()
      Improves the last partition computed by this partitioner. Only one iteration is performed.
      Returns:
      The improved partition.
      See Also:
    • improvePartition

      public HypergraphPartition improvePartition(int nbIterations)
      Improves the last partition computed by this partitioner.
      Parameters:
      nbIterations - The number of iterations to perform to improve the partition.
      Returns:
      The improved partition.