ArticleslgStudy

science

Cycle rank

Cycle rank is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Cycle rank rather than just read about it. In short: In graph theory, the cycle rank of a directed graph is a digraph connectivity measure proposed first by Eggan and Büchi (Eggan 1963). Intuitively, this concept measures how close a digraph is to a directed acyclic graph (DAG), in the sense that a DAG has cycle rank zero, while a complete digraph of order n with a self-loop at each vertex has cycle rank n.

Cycle rank — main illustration
Cycle rank — illustration

Key takeaways

  • Cycle rank belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Cycle rank to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Cycle rank from memory before moving on to harder problems.

Reference excerpt

In graph theory, the cycle rank of a directed graph is a digraph connectivity measure proposed first by Eggan and Büchi (Eggan 1963). Intuitively, this concept measures how close a digraph is to a directed acyclic graph (DAG), in the sense that a DAG has cycle rank zero, while a complete digraph of order n with a self-loop at each vertex has cycle rank n. The cycle rank of a directed graph is closely related to the tree-depth of an undirected graph and to the star height of a regular language. It has also found use in sparse matrix computations (see Bodlaender et al. 1995) and logic (Rossman 2008).

Definition The cycle rank r(G) of a digraph G = (V, E) is inductively defined as follows:

If G is acyclic, then r(G) = 0. If G is strongly connected and E is nonempty, then r(G)=1+minv∈Vr(G−v), where ⁠G−v⁠ is the digraph resulting from deletion of vertex v and all edges beginning or ending at v. If G is not strongly connected, then r(G) is equal to the maximum cycle rank among all strongly connected components of G. The tree-depth of an undirected graph has a very similar definition, using undirected connectivity and connected components in place of strong connectivity and strongly connected components.

History Cycle rank was introduced by Eggan (1963) in the context of star height of regular languages. It was rediscovered by (Eisenstat & Liu 2005) as a generalization of undirected tree-depth, which had been developed beginning in the 1980s and applied to sparse matrix computations (Schreiber 1982).

Examples The cycle rank of a DAG is 0, while a complete digraph of order n with a self-loop at each vertex has cycle rank n. Apart from these, the cycle rank of a few other digraphs is known: the undirected path Pn of order n, which possesses a symmetric edge relation and no self-loops, has cycle rank ⌊log⁡n⌋ (McNaughton 1969). For the directed (m×n)-torus Tm,n, i.e., the cartesian product of two directed circuits of lengths m and n, we have r(Tn,n)=n and r(Tm,n)=min⁡{m,n}+1 for m ≠ n (Eggan 1963, Gruber & Holzer 2008).

Computing the cycle rank Computing the cycle rank is computationally hard: Gruber (2012) proves that the corresponding decision problem is NP-complete, even for sparse digraphs of maximum outdegree at most 2. On the positive side, the problem is solvable in time O(1.9129n) on digraphs of maximum outdegree at most 2, and in time O∗(2n) on general digraphs. There is an approximation algorithm with approximation ratio O((log⁡n)32).

Applications

Star height of regular languages The first application of cycle rank was in formal language theory, for studying the star height of regular languages. Eggan (1963) established a relation between the theories of regular expressions, finite automata, and of directed graphs. In subsequent years, this relation became known as Eggan's theorem, cf. Sakarovitch (2009). In automata theory, a nondeterministic finite automaton with ε-moves (ε-NFA) is defined as a 5-tuple, (Q, Σ, δ, q0, F), consisting of

a finite set of states Q a finite set of input symbols Σ a set of labeled edges δ, referred to as transition relation: Q × (Σ ∪{ε}) × Q. Here ε denotes the empty word. an initial state q0 ∈ Q a set of states F distinguished as accepting states F ⊆ Q. A word w ∈ Σ* is accepted by the ε-NFA if there exists a directed path from the initial state q0 to some final state in F using edges from δ, such that the concatenation of all labels visited along the path yields the word w. The set of all words over Σ* accepted by the automaton is the language accepted by the automaton A. When speaking of digraph properties of a nondeterministic finite automaton A with state set Q, we naturally address the digraph with vertex set Q induced by its transition relation. Now the theorem is stated as follows.

Eggan's Theorem: The star height of a regular language L equals the minimum cycle rank among all nondeterministic finite automata with ε-moves accepting L. Proofs of this theorem are given by Eggan (1963), and more recently by Sakarovitch (2009).

Cholesky factorization in sparse matrix computations Another application of this concept lies in sparse matrix computations, namely for using nested dissection to compute the Cholesky factorization of a (symmetric) matrix in parallel. A given sparse (n×n)-matrix M may be interpreted as the adjacency matrix of some symmetric digraph G on n vertices, in a way such that the non-zero entries of the matrix are in one-to-one correspondence with the edges of G. If the cycle rank of the digraph G is at most k, then the Cholesky factorization of M can be computed in at most k steps on a parallel computer with n processors (Dereniowski & Kubale 2004).

See also Circuit rank

References

Worked examples

Example 1 — a first encounter with Cycle rank

Start with the simplest possible case. Write down what Cycle rank claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Cycle rank before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Cycle rank ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Cycle rank

In research
Cycle rank appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Cycle rank in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Cycle rank is common in secondary-school and first-year university syllabi. It links to neighbouring topics Graph connectivity, Graph invariants, NP-complete problems, so understanding it makes those chapters shorter.
In everyday life
Look for Cycle rank outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Cycle rank” →

How to study Cycle rank in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Cycle rank means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Cycle rank out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Cycle rank in simple terms?

In graph theory, the cycle rank of a directed graph is a digraph connectivity measure proposed first by Eggan and Büchi (Eggan 1963). Intuitively, this concept measures how close a digraph is to a directed acyclic graph (DAG), in the sense that a DAG has cycle rank zero, while a complete digraph of…

Why does Cycle rank matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Cycle rank?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Cycle rank.

Tags

  • Graph connectivity
  • Graph invariants
  • NP-complete problems

Keep exploring