Cuthill–McKee algorithm

Cuthill–McKee algorithm

In the mathematical subfield of matrix theory, the Cuthill–McKee algorithm (named for Elizabeth Cuthill and J. McKee) is an algorithm to reduce the bandwidth of sparse symmetric matrices. The reverse Cuthill–McKee algorithm (RCM) is the same algorithm but with the resulting index numbers reversed. In practice this is generally a better solution.[citation needed]

Contents

Algorithm

Given a symmetric n\times n matrix we visualize the matrix as the adjacency matrix of a graph. The Cuthill–McKee algorithm is then a relabeling of the vertices of the graph to reduce the bandwidth of the adjacency matrix.

The algorithm produces an ordered n-tuple R of vertices which is the new order of the vertices.

First we choose a peripheral vertex x and set R := ({x}).

Then for i = 1,2,\dots we iterate the following steps while |R| < n

  • Construct the adjacency set Ai of Ri (with Ri the i-th component of R) and exclude the vertices we already have in R
A_i := \operatorname{Adj}(R_i) \setminus R
  • Sort Ai with ascending vertex order.
  • Append Ai to the Result set R.

In other words, number the vertices according to a particular breadth-first traversal where neighboring vertices are visited in order from lowest to highest vertex order.

See also

  • Graph bandwidth

References

External links


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • McKee — is a surname of Scottish and Irish origin. The surname is derived from the Gaelic Mac Aodha ( son of Aodh ) a patronymic form of an old Gaelic personal name which means fire . Similar surnames which also are derived from the same Gaelic… …   Wikipedia

  • Band matrix — In mathematics, particularly matrix theory, a band matrix is a sparse matrix whose non zero entries are confined to a diagonal band, comprising the main diagonal and zero or more diagonals on either side. Contents 1 Matrix bandwidth 2… …   Wikipedia

  • List of mathematics articles (C) — NOTOC C C closed subgroup C minimal theory C normal subgroup C number C semiring C space C symmetry C* algebra C0 semigroup CA group Cabal (set theory) Cabibbo Kobayashi Maskawa matrix Cabinet projection Cable knot Cabri Geometry Cabtaxi number… …   Wikipedia

  • Matrice Creuse — Une matrice creuse obtenue lors de la résolution d un problème éléments finis. Les éléments non nuls sont représentés en noir. Dans la discipline de l analyse numérique des mathématiques, une matrice creuse est une matrice contenant beaucoup de… …   Wikipédia en Français

  • Matrice clairsemée — Matrice creuse Une matrice creuse obtenue lors de la résolution d un problème éléments finis. Les éléments non nuls sont représentés en noir. Dans la discipline de l analyse numérique des mathématiques, une matrice creuse est une matrice… …   Wikipédia en Français

  • Matrice creuse — Une matrice creuse obtenue lors de la résolution d un problème éléments finis. Les éléments non nuls sont représentés en noir. Dans la discipline de l analyse numérique des mathématiques, une matrice creuse est une matrice contenant beaucoup de… …   Wikipédia en Français

  • Skyline matrix — A skyline matrix, or a variable band matrix, is a form of a sparse matrix storage format for a square, banded (and typically symmetric) matrix that reduces the storage requirement of a matrix more than banded storage. In banded storage, all… …   Wikipedia

  • RCM — may refer to: * Radar Coded Message , a form of Nexrad radar output * Rapid Communications in Mass Spectrometry , a scientific journal * Rassemblement des citoyens et des citoyennes de Montréal (Montreal Citizens Movement), a municipal political… …   Wikipedia

  • Breadth-first search — Infobox Algorithm class=Search Algorithm Order in which the nodes are expanded data=Graph time=O(|V|+|E|) = O(b^d) space=O(|V|+|E|) = O(b^d) optimal=yes (for unweighted graphs) complete=yesIn graph theory, breadth first search (BFS) is a graph… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”