hatvis.partition#
Balanced hypergraph partitioning.
Partitioning splits the vertices into \(k\) blocks of (nearly) equal size while cutting as few hyperedges as possible. It is the classical model of VLSI netlist partitioning and of the formation of manufacturing cells, where a cut hyperedge is an activity whose resources are spread over several cells. The module implements the Fiduccia–Mattheyses (1982) move-based refinement, multi-start bisection and recursive bisection; for very large instances use dedicated tools such as hMETIS or KaHyPar.
Cut metrics, Fiduccia-Mattheyses bisection, recursive bisection, normalized cut.
Functions#
|
Quality of a vertex partition. |
|
Normalized hypergraph cut of a vertex set \(S\) (Zhou et al. 2006). |
|
Balanced bisection minimizing the cut-net metric (Fiduccia and Mattheyses 1982). |
|
\(k\)-way partition by recursive FM bisection ( |