Cycle rank
In graph theory, the cycle rank of a directed graph is a digraph connectivity measure proposed first by Eggan and Büchi. Intuitively, this concept measures how close a
digraph is to a directed acyclic graph, 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 and logic
Definition
The cycle rank r of a digraph is inductively defined as follows:- If G is acyclic, then.
- If G is strongly connected and E is nonempty, then
- If G is not strongly connected, then r is equal to the maximum cycle rank among all strongly connected components of G.
History
Cycle rank was introduced by in the context of star height of regular languages. It was rediscovered by as a generalization of undirected tree-depth, which had been developed beginning in the 1980sand applied to sparse matrix computations.
Examples
The cycle rank of a DAG is 0, while a complete digraph of order n with a self-loop ateach vertex has cycle rank n. Apart from these, the cycle rank of a few other digraphs is known: the undirected path of order n, which possesses a symmetric edge relation and no self-loops, has cycle rank . For the directed -torus, i.e., the cartesian product of two directed circuits of lengths m and n, we have
and for m ≠ n.
Computing the cycle rank
Computing the cycle rank is computationally hard: 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 on digraphs of maximum outdegree at most 2, and in time on general digraphs. There is an approximation algorithm with approximation ratio.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. 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..In automata theory, a nondeterministic finite automaton with ε-moves is defined as a 5-tuple,, 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''.
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.
Proofs of this theorem are given by, and more recently by.