java.lang.Object
fr.univartois.cril.jkahypar.HypergraphPartition
The HypergraphPartition represents a partition of a hypergraph.
-
Method Summary
-
Method Details
-
blockOf
public int blockOf(int vertex) Gives the identifier of the block to which the given vertex belongs.- Parameters:
vertex- The vertex to give the block of.- Returns:
- The identifier of the block.
-
objectiveValue
public int objectiveValue()Gives the value of the objective function on this partition.- Returns:
- The value of the objective function.
-
getBlocks
Gives the blocks of which this partition is made of.- Returns:
- The blocks of this partition.
- Since:
- 0.2.0
-