Overview
Kernighan-Lin is a local-search graph partitioning heuristic that repeatedly chooses vertex swaps between two partitions to reduce the number or weight of crossing edges.
Improves a graph bisection by swapping vertex pairs to reduce cut cost.
Compact metadata for implementation and discovery.
Kernighan-Lin is a local-search graph partitioning heuristic that repeatedly chooses vertex swaps between two partitions to reduce the number or weight of crossing edges.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n^2) per pass in common bisection implementations
Average
O(n^2) per pass in common bisection implementations
Worst
O(n^2) per pass in common bisection implementations
Space
O(n + m)
Show two graph partitions, candidate vertex swaps, and the cut-cost changes from selected moves.
Kernighan-Lin is a graph partitioning heuristic, distinct from Lin-Kernighan for TSP tours.
What each reference supports for this entry.
Supports the graph partitioning heuristic, bisection objective, and vertex-swap local improvement mechanism.
Open sourceInstitutional metadata confirming the title, authors, venue, DOI, and graph-partitioning abstract for the Kernighan-Lin paper.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Fiduccia-Mattheyses builds on Kernighan-Lin-style partition refinement with single-vertex moves and gain buckets.