Overview
Cuthill-McKee treats the sparsity pattern of a matrix as a graph and applies a breadth-first style ordering from low-degree vertices to reduce bandwidth before matrix computations.
Orders sparse matrix graph vertices to reduce matrix bandwidth.
Compact metadata for implementation and discovery.
Cuthill-McKee treats the sparsity pattern of a matrix as a graph and applies a breadth-first style ordering from low-degree vertices to reduce bandwidth before matrix computations.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n + m)
Average
O(n + m)
Worst
O(n + m)
Space
O(n + m)
Show vertices visited in degree-aware breadth-first order and the resulting sparse matrix permutation.
Cuthill-McKee is a sparse matrix reordering heuristic; ordering quality depends on graph structure and starting vertex choice.
What each reference supports for this entry.
Supports the original sparse symmetric matrix bandwidth-reduction algorithm and its graph-ordering purpose.
Open sourceSupports the Cuthill-McKee sparse-matrix ordering context and comparison with the reverse ordering variant.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Numerical Methods · Extended
Reverse Cuthill-McKee is a variant of Cuthill-McKee that reverses the final ordering and can reduce sparse matrix bandwidth or profile in many workflows.
Compare with thisCuthill-McKee uses a breadth-first traversal order with degree-based tie-breaking to build a sparse-matrix ordering.
Cuthill-McKee orderings are often used before sparse matrix work stored or processed with compressed sparse formats.