Arc-disjoint in- and out-branchings rooted at the same vertex in compositions of digraphs
Gregory Gutin, Yuefang Sun

TL;DR
This paper investigates the existence of arc-disjoint in- and out-branchings rooted at the same vertex in compositions of digraphs, providing conditions for strong and semicomplete cases and polynomial-time decision algorithms.
Contribution
It generalizes previous results by characterizing when compositions of digraphs have good pairs at every vertex and offers polynomial-time algorithms for semicomplete compositions.
Findings
Every strong digraph composition with each $n_i \\ge 2$ has a good pair at every vertex.
Characterization of semicomplete compositions with a good pair, extending prior work.
Polynomial-time decision procedure for the existence of a good pair in semicomplete compositions.
Abstract
A digraph has a good pair at a vertex if has a pair of arc-disjoint in- and out-branchings rooted at . Let be a digraph with vertices and let be digraphs such that has vertices Then the composition is a digraph with vertex set and arc set When is arbitrary, we obtain the following result: every strong digraph composition in which for every , has a good pair at every vertex of The condition of in this result cannot be relaxed. When is semicomplete, we characterize semicomplete compositions with a good pair, which generalizes the correspondingβ¦
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Graph Theory Research Β· semigroups and automata theory Β· Limits and Structures in Graph Theory
Arc-disjoint in- and out-branchings rooted at the same vertex in compositions of digraphs
Gregory Gutin1 and Yuefang Sun2ββ
1 Department of Computer Science
Royal Holloway, University of London
Egham, Surrey, TW20 0EX, UK
2 Department of Mathematics, Shaoxing University
Zhejiang 312000, P. R. China, [email protected] Corresponding author. This author was supported by NSFC No. 11401389.
Abstract
A digraph has a good pair at a vertex if has a pair of arc-disjoint in- and out-branchings rooted at . Let be a digraph with vertices and let be digraphs such that has vertices Then the composition is a digraph with vertex set and arc set
[TABLE]
When is arbitrary, we obtain the following result: every strong digraph composition in which for every , has a good pair at every vertex of The condition of in this result cannot be relaxed. When is semicomplete, we characterize semicomplete compositions with a good pair, which generalizes the corresponding characterization by Bang-Jensen and Huang (J. Graph Theory, 1995) for quasi-transitive digraphs. As a result, we can decide in polynomial time whether a given semicomplete composition has a good pair rooted at a given vertex.
Keywords: branching; semicomplete digraph; digraph composition.
AMS subject classification (2010): 05C20, 05C70, 05C76, 05C85.
1 Introduction
We use a standard digraph terminology and notation as in [4, 5]. A digraph is strongly connected (or strong) if there exists a path from to and a path from to in for every pair of distinct vertices of . An out-tree (in-tree, respectively) rooted at a vertex is an orientation of a tree such that the in-degree (out-degree, respectively) of every vertex but equals one. An out-branching ( in-branching, respectively) in a digraph is a spanning subgraph of which is out-tree (in-tree, respectively). It is well-known and easy to show [4, 5] that a digraph has an out-branching (in-branching, respectively) rooted at if and only if has a unique initial strong connectivity component (terminal strong connectivity component, respectively) and belongs to this component. Out-branchings and in-branchings when they exist can be found in linear-time using, say, depth-first search from the root.
Edmonds [11] characterized digraphs with arc-disjoint out-branchings rooted at a specified vertex Furthermore, there exists a polynomial algorithm for finding arc-disjoint out-branchings with a given root if they exist [4]). However, it is NP-complete to decide whether a digraph has a pair of arc-disjoint out-branching and in-branching rooted at which was proved by Thomassen, see [1]. Following [9] we will call such a pair a good pair rooted at . Note that a good pair forms a strong spanning subgraph of and thus if has a good pair, then is strong. The problem of the existence of a good pair was studied for tournaments and their generalizations, and characterizations (with proofs implying polynomial-time algorithms for finding such a pair) were obtained in [1] for tournaments, [7] for quasi-transitive digraphs and [9] for locally semicomplete digraphs. Also, Bang-Jensen and Huang [7] showed that if is adjacent to every vertex of (apart from itself) then has a good pair rooted at .
In this paper, we study the existence of good pairs for digraph compositions. Let be a digraph with vertices and let be digraphs such that has vertices Then the composition is a digraph with vertex set and arc set
[TABLE]
Digraph compositions generalize some families of digraphs. In particular, semicomplete compositions, which are compositions where is a semicomplete digraph, generalize strong quasi-transitive digraphs as every strong quasi-transitive digraph is a strong semicomplete composition in which is either a one-vertex digraph or a non-strong quasi-transitive digraph. To see that strong compositions form a significant generalization of strong quasi-transitive digraphs, observe that the Hamiltonian cycle problem is polynomial-time solvable for quasi-transitive digraphs [13], but NP-complete for strong compositions (see, e.g., [6]). When is the same digraph for every , is the lexicographic product of and , see, e.g., [15]. While digraph compositions has been used since 1990s to study quasi-transitive digraphs and their generalizations, see, e.g., [3, 4, 12], the study of digraph decompositions in their own right was initiated only recently in [16].
In the next section, we obtain the following somewhat surprising result: every strong digraph composition in which for every , has a good pair rooted at every vertex of The condition of in this result cannot be relaxed. Indeed, the characterization of quasi-transitive digraphs with a good pair [7] provides an infinite family of strong quasi-transitive digraphs which have no good pair rooted at some vertices. In Section 3, we characterize semicomplete compositions with a good pair generalizing the corresponding result in [7]. This allows us to decide in polynomial time whether a given semicomplete composition has a good pair rooted at a given vertex. In Section 4, we discuss some open problems and a recent related result.
Let and be integers. Then if and , otherwise. In particular, if , will be a shorthand for
2 Compositions of digraphs: arbitrary
A digraph has a strong arc decomposition if has two disjoint sets and such that both and are strong. Sun et al. [16] obtained sufficient conditions for a digraph composition to have a strong arc decomposition. In particular, they proved the following:
Theorem 2.1
Let be a digraph with vertices () and let be digraphs. Then has a strong arc decomposition if has a Hamiltonian cycle and one of the following conditions holds:
- β’
* is even and for every *
- β’
* is odd, for every and at least two distinct subgraphs have arcs;*
- β’
* is odd and for every apart from one for which .*
Lemma 2.2
Let where If has a Hamiltonian cycle and are arbitrary digraphs, each with at least two vertices, then has a good pair at any root .
Proof: For the case that is even, by TheoremΒ 2.1, has has a pair of arc-disjoint strong spanning subgraphs and . Observe that in (, respectively), we can find an out-branching (in-branching, respectively) at (in polynomial time), as desired.
Now we assume that is odd. Without loss of generality, let be the root. Let be the path , and let be the in-tree rooted at with arc set . By definition, . For any vertex with and , we add the arcs and to and , respectively. Note that here and . Observe that the resulting two subgraphs form a pair of out-branching and in-branching rooted at , which are arc-disjoint.
We will use the following decomposition of strong digraphs. An ear decomposition of a digraph is a sequence , where is a cycle or a vertex and each is a path, or a cycle with the following properties:
Β and are arc-disjoint when .
Β For each , let denote the digraph with vertices and arcs . If is a cycle, then it has precisely one vertex in common with . Otherwise the end vertices of are distinct vertices of and no other vertex of belongs to .
Β .
The following result is well-known, see, e.g., [4].
Theorem 2.3
Let be a digraph with at least two vertices. Then is strong if and only if it has an ear decomposition. Furthermore, if is strong, every cycle can be used as a starting cycle for an ear decomposition of , and there is a linear-time algorithm to find such an ear decomposition.
Lemma 2.4
Let where and is the digraph with two vertices and no arcs. If is strong, then has a good pair at any root .
Proof: Without loss of generality, let . Since is strong, belongs to some cycle in . By Theorem 2.3, has an ear decomposition , such that is the starting cycle. Let denote the subgraph of with vertices and arcs .
We will prove the lemma by induction on . For the base step, by LemmaΒ 2.2, the subgraph has a good pair rooted at . For the inductive step, assume that has a pair of arc-disjoint out-branching and in-branching rooted at . Without loss of generality, let . The following argument will be divided into two cases according to whether is a cycle.
Case 1: is a cycle.
In this case . By LemmaΒ 2.2, in the subgraph , there is a pair of arc-disjoint out-branching and in-branching rooted at . Let and . Observe that is an out-branching and is an in-branching rooted at in Since and are arc-disjoint, and are arc-disjoint.
Case 2: is a path.
In this case, and . We just consider the case that since the remaining case is trivial (no need to change the current pair of out- and in-branchings). Let be the union of and the two paths where . Let be the union of and the two paths and where Observe that is an out-branching and is an in-branching rooted at in , moreover, they are arc-disjoint.
Thus, by induction, we are done.
Theorem 2.5
Let where If is strong and are arbitrary digraphs, each with at least two vertices, then has a good pair at any root . Furthermore, this pair can be found in polynomial time.
Proof: Without loss of generality, let . Let be the subgraph of induced by the vertex set . In delete arcs between vertices and for every By Lemma 2.4, contains a pair of arc-disjoint out-tree and in-tree rooted at . By definition of out-tree, there is an arc in for every For every and add to This results in an out-branching By definition of in-tree, there is an arc in for every For every and add to This results in an in-branching Observe that and are arc-disjoint since and are arc-disjoint and the added arcs have heads and tails from respectively, in the arcs added to and respectively. Note that the proofs of Theorem 2.1, Lemmas 2.2 and 2.4, and this theorem are constructive and can be converted into polynomial-time algorithms. This fact and the polynomial-time algorithm of Theorem 2.3 imply that and can be constructed in polynomial time.
3 Compositions of digraphs: semicomplete
We use (, respectively) to denote the set of all in-neighbours (out-neighbours, respectively) of a vertex in a digraph .
The next result was obtained by Bang-Jensen and Huang [7].
Theorem 3.1
Let be a strong digraph and a vertex of such that . There is a polynomial-time algorithm to decide whether has a good pair at .
For a path and , let We now prove the following result on semicomplete compositions which generalizes a similar result for quasi-transitive digraphs by Bang-Jensen and Huang [7].
Theorem 3.2
A strong semicomplete composition has a good pair rooted at if and only if has a good pair rooted at .
Proof: Let and . Without loss of generality, assume that . By definitions of a semicomplete composition and , we have .
Assume that has a good pair rooted at , an out-branching and an in-branching . Starting with , we can construct an out-branching in as follows. Let be a vertex such that . Then add the arc to for each Similarly, starting with , we could construct an in-branching in as follows: for each , add the arc to where . Observe that and are arc-disjoint, as desired.
Now we prove the other direction. Assume that has a good pair, an out-branching and an in-branching , rooted at . If and are branchings, then we are done. Otherwise, we will obtain an in-branching (out-branching, respectively) from ( respectively) using the following procedure.
Choose a maximal path of to , which contains a vertex , and assume that is furthest from among vertices in . If is the first vertex of , then delete it. Otherwise, the previous vertex on has an arc to (the arc exists since ), and we replace in by two paths: one is , where is the first vertex of , and the other is
Note that the in-degree of has decreased by one. Thus, after such replacements the in-degree of becomes equal to zero, i.e., is the first vertex on its maximal path to and therefore will be deleted when we consider This means that after a finite number of replacements, we will delete all vertices of in and obtain an in-branching of rooted at Similarly, we can construct an out-branching of Note that to build we add only arcs to and to build we add only arcs from This fact and the fact that and are arc-disjoint, imply that and are arc-disjoint, too.
By Theorems 3.1 and 3.2, we immediately have the following:
Theorem 3.3
Given a semicomplete composition and a vertex , we can decide in polynomial time whether has a good pair rooted at
4 Open Problems and Related Results
Theorem 3.2 provides a characterization for the following problem for semicomplete compositions: given a digraph and a vertex decide whether has a good pair rooted at The theorem generalizes a similar characterization by Bang-Jensen and Huang [7] for quasi-transitive digraphs. Strong semicomplete compositions is not the only class of digraphs generalizing strong quasi-transitive digraphs. Other such classes have been studied such as -quasi-transitive digraphs [12] and it would be interesting to see whether a characterization for the problem (or, at least non-trivial sufficient conditions) on -quasi-transitive digraphs can be obtained. As we mentioned above, Bang-Jensen and Huang [9] obtained a characterization for the problem on locally semicomplete digraphs. It would be interesting to see whether a characterization for the problem on in-locally semicomplete digraphs [2, 4] can be obtained.
An out-branching and in-branching and are called -distinct if has at least arcs not present in The problem of deciding whether a digraph has a -distinct pair of out- and in-branchings is NP-complete since it generalizes the good pair problem (). Bang-Jensen and Yeo [10] asked whether the -distinct problem is fixed-parameter tractable when parameterized by , i.e., whether there is an -time algorithm for solving the problem, where is an arbitrary computable function in only. Gutin, Reidl and WahlstrΓΆm [14] answered this open question in affirmative by designing an -time algorithm for solving the problem.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] J. Bang-Jensen, Edge-disjoint in- and out-branchings in tournaments and related path problems, J. Combin. Theory Ser. B, 51(1), 1991, 1β23.
- 2[2] J. Bang-Jensen, Locally semicomplete digraphs and generalizations, in Classes of Directed Graphs (J. Bang-Jensen and G. Gutin, eds.), Springer, 2018.
- 3[3] J. Bang-Jensen and G. Gutin, Paths and cycles in extended and decomposable digraphs. Discrete Math. 164 (1997) 5β19.
- 4[4] J. Bang-Jensen and G. Gutin, Digraphs: Theory, Algorithms and Applications, 2nd Edition, Springer, London, 2009.
- 5[5] J. Bang-Jensen and G. Gutin, Basic terminology, notation and results, in Classes of Directed Graphs (J. Bang-Jensen and G. Gutin, eds.), Springer, 2018.
- 6[6] J. Bang-Jensen, G. Gutin and A. Yeo, Arc-disjoint strong spanning subgraphs of semicomplete compositions, ar Xiv:1903.12225 v 1 [cs.DM].
- 7[7] J. Bang-Jensen and J. Huang, Quasi-transitive digraphs, J. Graph Theory, 20(2), 1995, 141β161.
- 8[8] J. Bang-Jensen and J. Huang, Decomposing locally semicomplete digraphs into strong spanning subgraphs, J. Combin. Theory Ser. B, 102, 2012, 701β714.
