Meshedness coefficient A variant of the cyclomatic number for
planar graphs, normalized by dividing by the maximum possible cyclomatic number of any planar graph with the same vertex set, is called the
meshedness coefficient. For a connected planar graph with edges and vertices, the meshedness coefficient can be computed by the formula :\frac{m-n+1}{2n-5}. Here, the numerator m-n+1 of the formula is the cyclomatic number of the given graph, and the denominator 2n-5 is the largest possible cyclomatic number of an -vertex planar graph. The meshedness coefficient ranges between 0 for trees and 1 for
maximal planar graphs.
Ear decomposition The cyclomatic number controls the number of ears in an
ear decomposition of a graph, a partition of the edges of the graph into paths and cycles that is useful in many graph algorithms. In particular, a graph is
2-vertex-connected if and only if it has an open ear decomposition. This is a sequence of subgraphs, where the first subgraph is a simple cycle, the remaining subgraphs are all simple paths, each path starts and ends on vertices that belong to previous subgraphs, and each internal vertex of a path appears for the first time in that path. In any biconnected graph with circuit rank r, every open ear decomposition has exactly r ears.
Almost-trees A graph with cyclomatic number r is also called an
-almost-tree, because only edges need to be removed from the graph to make it into a tree or forest. A 1-almost-tree is a
near-tree, and a connected near-tree is a
pseudotree, a cycle with a (possibly trivial) tree rooted at each vertex. Several authors have studied the
parameterized complexity of graph algorithms on -near-trees, parameterized by r.
Generalizations to directed graphs The
cycle rank is an invariant of
directed graphs that measures the level of nesting of cycles in the graph. It has a more complicated definition than cyclomatic number (closely related to the definition of
tree-depth for undirected graphs) and is more difficult to compute. Another problem for directed graphs related to the cyclomatic number is the minimum
feedback arc set, the smallest set of edges whose removal breaks all directed cycles. Both cycle rank and the minimum feedback arc set are
NP-hard to compute. It is also possible to compute a simpler invariant of directed graphs by ignoring the directions of the edges and computing the circuit rank of the underlying undirected graph. This principle forms the basis of the definition of
cyclomatic complexity, a software metric for estimating how complicated a piece of computer code is.
Computational chemistry In the fields of
chemistry and
cheminformatics, the cyclomatic number of a
molecular graph (the number of
rings in the
smallest set of smallest rings) is sometimes referred to as the
Frèrejacque number.
Parametrized complexity Some computational problems on graphs are NP-hard in general, but can be solved in
polynomial time for graphs with a small cyclomatic number. An example is the path reconfiguration problem. ==Related concepts==