Manuscript Offprint
arXiv:2610.41840Revisiting the directed pathwidth of h-semicomplete digraphs
Revisiting the directed pathwidth of -semiccomplete digraphs
GUILHERME C. M. GOMES
LIRMM, Université de Montpellier, CNRS, Montpellier, France Universidade Federal de Minas Gerais, Belo Horizonte, Brazil gcm.gomes@dcc.ufmg.br
RAUL LOPES
Hamburg University of Technology, Institute for Algorithms and Complexity, Hamburg, Germany raul.lopes@tuhh.de
MATTHIAS MÑICH
Hamburg University of Technology, Institute for Algorithms and Complexity, Hamburg, Germany matthias.mnich@tuhh.de
Abstract
A digraph is -semiccomplete if every vertex has at most non-neighbors. In semiccomplete digraphs, -triples are obstructions to bounded directed pathwidth with many algorithmic applications: Fradkin and Seymour [JCTB 2013] showed that a large triple contains a subdivision of every small digraph, and triples were used for irrelevant vertex arguments in routing problems by Fomin and Pilipczuk [JCTB 2019] and Gomes, Lopes, and Sau [ICALP 2025]. Fradkin and Seymour also showed that there is a function such that every semiccomplete digraph of directed pathwidth at least contains a -triple, and their proof gives triply exponential in . For -semiccomplete digraphs, a result of Kitsunai et al. [ESA 2015] also yields a -triple, but only existentially, and finding one in fixed-parameter time remained open.
We improve the bound on to a single exponential and extend the result to -semiccomplete digraphs: we show that every -semiccomplete digraph of directed pathwidth greater than contains a -triple, which we find in polynomial time, and no bound subexponential in or sublinear in is possible. We also extend the approximation algorithm for directed pathwidth of Fomin and Pilipczuk to -semiccomplete digraphs, so its certificates of large directed pathwidth remain valid. Our proof is much shorter than the analysis of Kitsunai et al., and while their algorithm is exact, ours runs in polynomial time. As an application, we show that ARC-DISJOINT PATHS on -semiccomplete digraphs is fixed-parameter tractable parameterized by the number of paths and , generalizing the semiccomplete case. Finally, unlike in semiccomplete digraphs, directed pathwidth does not bound directed cliquewidth: for every , some acyclic 1-semiccomplete digraph, so of directed pathwidth zero, has directed cliquewidth at least .
Keywords. Semiccomplete digraphs, parameterized complexity, directed pathwidth, directed cliquewidth, triples
Funding. Guilherme C. M. Gomes: Funded by the European Union, project PACKENUM, grant number 101109317. Views and opinions expressed are however those of the author only and do not necessarily reflect those of the European Union. Neither the European Union nor the granting authority can be held responsible for them.
Raul Lopes: HIDSS-0002 DASHH (Data Science in Hamburg - Helmholtz Graduate School for the Structure of Matter).
For digraphs, Johnson et al. [18] introduced the parameter known as directed treewidth, but it has not seen the same success as undirected treewidth regarding algorithmic applications. Although a fixed-parameter approximation algorithm for directed treewidth is known [3], Lampis et al. [21] showed that DIRECTED HAMILTONIAN CYCLE is W[2]-hard parameterized by directed treewidth and that MAX DIRECTED CUT is NP-hard on directed acyclic graphs, which have directed treewidth zero, whereas their undirected versions, HAMILTONIAN CYCLE and MAX CUT, are fixed-parameter tractable parameterized by treewidth. In fact, it is a topic of discussion whether there are any good digraph width measures, as discussed by Ganian et al. [13, 14]. A classic example of a problem resistant to many approaches based on width measures of digraphs to design fixed-parameter algorithms is the ARC-DISJOINT PATHS (ADP) problem. Given a digraph and pairs of vertices of , ADP asks whether has pairwise arc-disjoint paths such that connects a terminal to terminal , for (see Section 6.1 for the formal definition).
Fortune et al. [10] showed that ADP is NP-complete even for two paths, and Slivkins [27] showed W[1]-hardness parameterized by the number of paths even when restricted to directed acyclic graphs, which immediately implies that the W[1]-hardness extends to digraphs of bounded directed treewidth. Those hardness results raise the question of which parameters and classes of digraphs allow one to derive algorithmically useful properties. This question has found particularly satisfactory answers in the class of semicomplete digraphs. A digraph is semicomplete if any pair of vertices of is connected by at least one arc. We are primarily concerned with directed pathwidth, and so refer the reader to Gurski et al. [17] for a more general discussion on other width parameters on semicomplete digraphs.
Directed pathwidth behaves very differently on semicomplete digraphs compared to general digraphs. Fradkin and Seymour [12] showed that, in semicomplete digraphs, ADP is fixed-parameter tractable parameterized by the number of paths that we wish to find. Fomin and Pilipczuk [9] improved the dependence of the run time on the number of vertices from to , with an algorithm that also solves ROOTED IMMERSION, a generalization of ADP that asks for an injective map from the vertices
REVISITING THE DIRECTED PATHWIDTH OF h-SEMICOMplete DIGRAPHS
of a digraph to the vertices of the input digraph, with some images prescribed, together with arc-disjoint paths joining the images of the ends of every arc of . They used three ingredients to design a “win-win” strategy based on irrelevant vertices. The first ingredient is a robust structural theory for directed pathwidth on semicomplete digraphs developed by Fradkin and Seymour [11]; of particular interest in it is the existence of a simple obstruction, known as a -triple (see Definition 3.10), which, for some function , every semicomplete digraph with directed pathwidth at least contains. The second ingredient is an algorithm that, given a -triple that avoids the terminals, finds an irrelevant vertex of the input instance in polynomial time, where a vertex is irrelevant if it can be safely removed from the input digraph without changing the answer to the problem. The final ingredient is a dynamic programming algorithm parameterized by and the directed pathwidth dpw() of the input digraph . Every semicomplete digraph of directed pathwidth has directed cliquewidth at most [9, Lemma 2.14], and ADP can be expressed in monadic second-order logic without quantification over arc sets [15]. Together with the meta-theorem of Courcelle et al. [5] for this logic on graphs of bounded cliquewidth, which also holds for digraphs [9, Theorem 2.15], this already implies that ADP is fixed-parameter tractable parameterized by . Hence the interest in the dynamic programming algorithm is mainly its (improved) run time.
Beyond their work on ADP, Fomin and Pilipczuk [9] also contribute to the structural theory of directed pathwidth on semicomplete digraphs, especially through efficient algorithms to compute important elements of the theory. In particular, they design a constant-factor polynomial-time approximation algorithm for directed pathwidth in semicomplete digraphs, as well as a fixed-parameter algorithm. Concretely, when given a semicomplete digraph , the approximation algorithm obtains a degree tangle or a matching tangle (see Definitions 4.1 and 4.2), or a path decomposition (see Definition 3.5) of bounded width of . Both tangles are shown to be obstructions to bounded directed pathwidth and then individually used to build jungles (see Definition 5.1), the original obstruction of this theory [11].
Given these structural insights [11] and algorithmic successes [9] for the directed pathwidth of semicomplete digraphs, a natural question is to which larger classes of digraphs those can be extended. This question motivates our current paper.
Our main contributions answer this question for -semicomplete digraphs, which are the digraphs whose vertices each have at most non-neighbors. Thus, -semicomplete digraphs are universal in the sense that any digraph is -semicomplete for some value of .
Kitsunai et al. [19] gave a fixed-parameter algorithm to compute the directed pathwidth of -semicomplete digraphs, generalizing the fixed-parameter algorithm for semicomplete digraphs [9]. They also show that obstructions for bounded directed pathwidth of semicomplete digraphs remain obstructions in -semicomplete digraphs. Namely, they prove that there is a function such that every -semicomplete digraph of directed pathwidth at least contains a semicomplete subgraph of directed pathwidth at least . Building a semicomplete digraph from an -semicomplete one is easy. Start with a set of candidate vertices, initially containing all vertices of the given digraph , and an empty digraph . Then iteratively pick a vertex to include in , and remove from both and all non-neighbors of . After selecting vertices, at most vertices have been removed from and the selected vertices induce a semicomplete digraph. The difficult part is guaranteeing that obstructions to directed pathwidth survive such a selection, as it may very well be the case that the deleted vertices contained most of a -triple, for example. Therefore, Kitsunai et al. [19] work through a careful and difficult analysis, heavily reliant on probabilistic techniques, to show that some large obstruction survives a sampling similar to the selection procedure we just described.
Their work [19], however, stops short of producing jungles in fixed-parameter time. First, their proof produces, in a semicomplete subgraph, one of three obstructions: a degree tangle, a matching tangle, or what they call a spider. Although it is reasonable to expect that jungles can be obtained from degree tangles and matching tangles in a way similar to the semicomplete case [9], it is not clear whether jungles can be constructed from spiders in polynomial time. Second, their proof is existential and, as far as we could verify, there is no indication that it can be easily translated into a fixed-parameter algorithm. A naïve XP algorithm to find -triples is immediate since a -triple is formed by vertices (see Definition 3.10).
Our contributions. Our first result is a bound on the directed pathwidth, single exponential in , that forces a -triple in an -semicomplete digraph, together with a polynomial-time algorithm that finds the triple.
Theorem 1.1 (Simplified). Let be a positive integer, be a non-negative integer, and be an -semicomplete digraph on vertices. If , then contains a -triple, which can be found in time.
The lower bounds of Lemma 5.12 show that no bound subexponential in or sublinear in is possible. Thus, the linear dependence on is best possible, and the dependence on is best possible up to the constant in the exponent. The gain is large even for semicomplete digraphs, where the proofs of Fradkin and Seymour [11, (1.1) and (2.6)] give a bound triply exponential in . For -semicomplete digraphs, that bound applied to the semicomplete subgraph of large directed pathwidth given by Kitsunai et al. [19, Theorem 2] yields a -triple, but only by an existential proof. On the algorithmic side, Gomes et al. [16, Section 6] asked for a fixed-parameter algorithm that computes a triple in -semicomplete digraphs, and ours runs in polynomial time. For semicomplete digraphs, Pilipczuk [22, Lemma 44] builds a -triple in time from a certificate of large directed pathwidth, namely a given jungle whose size is triply exponential in . Such a jungle is found in polynomial time when the directed pathwidth is large enough [9, Theorem 4.12, Lemmas 3.9 and 3.12], as also done in the same work [22, proof of Theorem 106], so for semicomplete digraphs the gain of Theorem 1.1 is the single-exponential threshold. As a consequence of Theorem 1.1, the approach for ROOTED IMMERSION in semicomplete digraphs [9, Theorem 9.9] gives a run time which is only doubly exponential in , instead of quadruply exponential (see Section 5.3).
Our second result extends the approximation algorithm for directed pathwidth by Fomin and Pilipczuk [9, Theorem 4.12] from semicomplete to -semicomplete digraphs.
Theorem 1.2 (Simplified). Let be an h-semicomplete digraph on vertices and be a positive integer. There is an algorithm with run time that outputs a path decomposition of of width at most or a certificate that .
The certificate is a degree tangle or a matching tangle of itself (Definition 4.1 and Definition 4.2), so these obstructions remain obstructions in -semicomplete digraphs. In addition, Corollary 4.5 approximates directed pathwidth within a factor in polynomial time, which for recovers the factor six for semicomplete digraphs [9, Theorem 4.12]. In contrast, deciding whether via the algorithm by Kitsunai et al. [19, Theorem 1] requires exponential time .
Our third result extends the fixed-parameter algorithm by Fomin and Pilipczuk [9, Theorem 9.9] for ADP from semicomplete to -semicomplete digraphs, parameterized by and .
Theorem 1.3. Let . There is an algorithm with run time that solves every instance of ADP with paths on an -semicomplete digraph with vertices.
For the larger class of digraphs with no independent set of size , which contains the -semicomplete digraphs, Fradkin and Seymour [12, (4.5)] give an XP algorithm for ADP parameterized by and , whereas Theorem 1.3 gives a fixed-parameter algorithm parameterized by and .
Our fourth result is a proof that directed pathwidth does not bound directed cliquewidth (Definition 7.1) in -semicomplete digraphs, already for . This contrasts with the fact that in semicomplete digraphs, their directed cliquewidth is at most the directed pathwidth plus two [9, Lemma 2.14].
Theorem 1.4. For every integer , there exists an acyclic 1-semicomplete digraph, hence of directed pathwidth 0, whose directed cliquewidth is at least .
Further research. Two questions arise naturally. First, by Theorem 1.1 and Lemma 5.12, the exponent of the best possible bound lies between and , and we do not know the right one, even for tournaments. Second, we consider the DIRECTED DISJOINT PATHS (DDP) problem, which is defined as ADP except that the paths must be pairwise vertex-disjoint. On semicomplete digraphs, DDP is fixed-parameter tractable parameterized by the number of paths and the directed pathwidth, and the question is open parameterized by alone [9, Section 11], that is, for large directed pathwidth. We remark that an example [9] shows that irrelevant vertex arguments relying on -triples are not viable for DDP. On -semicomplete digraphs, it is open parameterized by for both small and large directed pathwidth (compare with Gomes et al. [16, Section 6]).
Organization. In Section 2 we explain our methods, and in Section 3 we fix the notation and recall the known results that we use. In Section 4 we prove the complete version of Theorem 1.2, and in Section 5 the complete version of Theorem 1.1. In Section 6 we introduce anti-triples and prove Theorem 1.3. Finally, in Section 7 we prove Theorem 1.4.
2 Overview of our techniques
Our main result (Theorem 1.1, in full Theorem 5.10) is that directed pathwidth more than forces a -triple in every -semicomplete digraph. As for semicomplete digraphs [22, Lemma 44 and the proof of Theorem 106], the -triple can also be found in polynomial time. For semicomplete digraphs, the proofs of Fradkin and Seymour [11, (1.1) and (2.6)] give a bound triply exponential in , since the second rests on Ramsey's theorem, whereas our bound is single exponential in and linear in . The new idea is to build the triple by counting, without Ramsey's theorem, and the larger class costs only a factor . This section explains how, and offers an overview of the techniques used in our main contributions. The lower bound in of Lemma 5.12 is obtained through standard probabilistic arguments. The digraphs of Theorem 1.4 are obtained by removing a matching from an acyclic tournament (Definition 7.2).
Approximating directed pathwidth. For semicomplete digraphs, the approximation algorithm of Fomin and Pilipczuk [9, Theorem 4.12] outputs a path decomposition of width at most or a tangle that certifies . A degree tangle is a set of vertices whose out-degrees differ by at most , and a matching tangle consists of disjoint arcs such that the out-degree of every head exceeds that of every tail by more than (Definitions 4.1 and 4.2). Both certify large directed pathwidth because a path decomposition of small width sorts the vertices by out-degree, and the corresponding proofs [9, Lemmas 3.8 and 3.11] need semicompleteness only to count as out-neighbors of a vertex all the vertices that are not its in-neighbors. In an -semicomplete digraph, every vertex has at most non-neighbors, so these counts are off by at most . Allowing a slack of in the tangles, namely more vertices and out-degrees within for degree tangles and a gap of more than for matching tangles, lets us repeat the arguments for semicomplete digraphs (Lemmas 4.7 and 4.8). Hence their algorithm runs on itself with in place of , without first making semicomplete (Theorem 4.4). The triples of the next part, in contrast, do not come from these tangles of but from a completion of , a semicomplete digraph obtained from by adding arcs between non-neighbors (Definition 3.3).
Finding triples by counting. A -triple consists of three disjoint sets of vertices such that is complete to , that is, every vertex of has an arc to every vertex of , is complete to , and disjoint arcs go from to (Definition 3.10). Every large enough jungle of a semicomplete digraph contains a -triple, but the proof by Fradkin and Seymour [11, (2.6)] rests on Ramsey's theorem and needs a jungle triply exponential in (see Section 5.3). We replace the Ramsey dependence by counting arguments as follows.
First, we complete by adding arcs between every two non-adjacent vertices. For distinct vertices and , we denote by the set of vertices that are out-neighbors of and in-neighbors of , that is, the middle vertices of the detours from to , the paths of length two. For every two non-neighbors and , we add the arc from to if , and the arc from to if . Notice that both directions are added in case of equality.
This process generates the detour completion of (Definition 3.3), on which we can apply the methods of Fomin and Pilipczuk [9] since is semicomplete.
Second, we run on their algorithm [9, Theorem 4.12 and Lemmas 3.9 and 3.12] through Proposition 5.4. It outputs a path decomposition of of small width, which is also a path decomposition of , or a short jungle of , consisting of a large set of vertices such that any two of them are joined by many internally disjoint paths of length at most four (Definition 5.1). Notice that these paths may use arcs from , which is why the direction of the added arcs matters. For example, see the acyclic and 1-semicomplete digraph of Figure 1.

Figure 1. A digraph . It has all arcs from to and from to , drawn as thick gray arrows, the arcs from to for , and an acyclic tournament inside each of , and , which is omitted. Its non-neighbors are the pairs . The detour completion of adds the dashed arcs , whereas a completion that adds the arcs contains the 3-triple .
Third, we build a triple of from the jungle by counting. We first keep a subset of that induces a semicomplete subgraph of , which loses a factor on the size (Lemma 3.1). For a set of vertices, we say that is a common in-neighbor of if is complete to , and a common out-neighbor of if is complete to . Now, we find a set of vertices with many common in- and out-neighbors in (Lemma 5.5). Any three vertices of a semicomplete digraph span a path of length two. Hence, on average over the sets of vertices, many pairs have every vertex of as the middle of a detour from to . Namely, is a common in-neighbor of and a common out-neighbor. We choose the vertices of one at a time, maintaining the average, so that the common in-neighbors and the common out-neighbors of each keep a fraction of .
Next, we look at a path of the jungle from a common out-neighbor of to a common in-neighbor. Every vertex of has an arc to the first vertex of the path and an arc from its last vertex, and, for all but few paths, is adjacent to the vertices between. Hence is an in-neighbor of the tail and an out-neighbor of the head of some arc of the path, and we say that flips at . Since the path has at most four arcs, at least a quarter of , that is, vertices, flip at the same arc , so is complete to that quarter and the quarter is complete to (Lemma 5.6). Notice that is then a candidate for a matching arc of a triple whose middle set lies in this quarter. It remains to make the candidates agree. We take paths whose candidate arcs have distinct ends. A set of vertices contains more than an fraction of the -subsets of , so some vertices of lie in the quarters of of these paths (Claim 5.8). These vertices form the middle set , the heads of the candidate arcs form , and their tails form , so is a -triple of if the candidate arcs are arcs of (Lemma 5.7).
Finally, we repair the candidate arcs that added. If many candidate arcs are not arcs of , then and are non-neighbors of , and the same count, now over the -subsets of , gives many such pairs whose quarters share a set of vertices (Lemma 5.7). Here the direction of the added arcs pays off. Every vertex of is the middle of a detour from to , so , and since added the arc , also . A middle vertex of a detour from to can stand in for or for , since the arcs and belong to . Notice that, if is adjacent to every vertex of , then is complete to half of or half of is complete to , so replaces in the first case and in the second. The stand-ins of different pairs must be distinct, so a pair needs many detours from to . Unless the arcs of from the vertices to the vertices already contain disjoint arcs, which immediately give a triple, with König's Theorem and by counting out-degrees we show that many pairs have many such detours (Theorem 3.4 and Observation 3.2). Counting subsets of size once more gives pairs whose stand-ins agree on the same half of , which is the middle set of a -triple of (Lemma 5.9). Running the same extraction on another completion, the one with both arcs between non-neighbors, leads to the anti-triples of the next part.
Anti-triples. The dynamic programming of Fomin and Pilipczuk [9, Theorem 10.8] over a path decomposition of a semiccomplete digraph needs semiccompleteness only when a bag introduces a vertex , where it uses that every vertex forgotten so far is an out-neighbor of , which holds in semiccomplete digraphs since a path decomposition has no arc from a forgotten vertex to . So any path decomposition that covers the non-arcs, that is, in which every two non-neighbors share a bag (Definition 3.8), suffices to replicate this dynamic programming. Since two vertices joined by arcs in both directions must share a bag, these decompositions are exactly the path decompositions of the completion of that adds both arcs between every two non-neighbors (Section 6.2). As is semiccomplete, the approximation algorithm for semiccomplete digraphs [9, Theorem 4.12] and the extraction of the previous part apply to it in place of . They give such a decomposition of small width, a triple of , or many pairs of non-neighbors , and a set with every complete to and to every . Since adds both arcs without comparing detours, the repair by detours of the previous part does not apply. Instead, these pairs and form an anti-triple: a triple whose matching arcs from to are replaced by pairs of non-neighbors , (Definition 6.3 and Lemma 6.4). As has the arcs , an anti-triple of is a triple of , so a -anti-triple forces every decomposition covering the non-arcs to have width at least (Corollary 5.3). Notice that an anti-triple may very well be acyclic if, for example, all arcs are oriented from to , and thus it does not certify large directed pathwidth. It is, however, detour-heavy from to by using the vertices of , and this fact is exploited in the algorithm for ADP that follows.
Arc-disjoint paths. Assume we are given an instance of ADP on an -semic-complete digraph containing an anti-triple with , where is the number of paths we want to route. Let be without the terminals of , which the triples that we look for must avoid. If and are non-neighbors in , then every vertex of is the middle of a detour from to . Hence we may add the missing arc without changing the answer to , as observed by Fradkin and Seymour [12, (2.4)] (Proposition 6.5): if a path of a solution uses , then the other paths use at most arcs leaving and at most arcs entering , so some detour from to has both arcs unused, and the path can take it instead. Adding arcs may increase the directed pathwidth, and then the algorithm may later find a large triple instead, from which we delete an irrelevant vertex.

Figure 2. One round of the algorithm of Theorem 1.3 for an instance of ADP.
Our algorithm (Theorem 1.3) repeats such steps in rounds, following the win-win strategy of Fomin and Pilipczuk [9, Theorem 9.9], and keeps an instance equivalent to (Figure 2). In each round, we test if has a path decomposition of width at most that covers its non-arcs, that is, if has small directed pathwidth. For this, we run on the approximation algorithm for semicomplete digraphs [9, Theorem 4.12] (or ours of Theorem 4.4 with ), and turn a tangle that it may output into a short jungle [9, Lemmas 3.9 and 3.12] (Proposition 5.4). Our extraction (Lemma 5.7) then turns this short jungle into an -triple or an -anti-triple with . The approximation algorithm runs with the size of the short jungle that our extraction needs, which is only single exponential in , so (Lemma 6.4). Now, each round outputs for (i) a path decomposition of width at most that covers its non-arcs, (ii) an -triple, or (iii) an -anti-triple.
In the first case, we add the terminals to every bag and solve by the dynamic programming (Lemma 6.2), which ends the algorithm. In the second case, we delete a vertex of the triple that is irrelevant for . As for semicomplete digraphs [9, Theorem 9.1], the paths through this vertex can be rerouted through the triple (Proposition 6.7), but we choose the vertex with a counting lemma for -semi-complete digraphs (Lemmas 6.6 and 6.8). In the third case, we add an arc between two non-neighbors of the anti-triple as above. So each round either solves the instance, makes it smaller, or makes it denser. Since has vertices and at most pairs of non-neighbors (Observation 3.2), the instance is solved after rounds. By the width bound above, the dynamic programming takes the doubly exponential time of Theorem 1.3.
3 Definitions and preliminaries
In this section, we fix the notation, define detours and completions, recall the results of Fomin and Pilipczuk [9] that we use, and define path decompositions that cover the non-arcs and k-triples.
Digraphs. We refer to the book of Bondy and Murty [2] for background on graph theory. Digraphs are finite, without loops or parallel arcs, but may have both arcs and . A digraph has vertex set and arc set . Digraphs are given by their adjacency matrices, so testing whether takes constant time. For , is the subgraph of induced by , , and for a positive integer . An arc has tail and head , and is an in-neighbor of and an out-neighbor of . We write for the set of out-neighbors of , for its out-degree, and for the set of in-neighbors of . The in-degree of a vertex is its number of in-neighbors. Distinct vertices are adjacent if or , and otherwise they are non-neighbors and is a non-arc of . A set is complete to if for all and , where a vertex stands for . The set is matched to if and there are orderings of and of with for every .
A digraph is acyclic if it has an ordering of its vertices with for every arc . It is semicomplete if it has no non-arcs, and a tournament if, in addition, it has exactly one arc between any two distinct vertices. For a non-negative integer , a digraph is -semicomplete if every vertex has at most non-neighbors. Induced subgraphs of -semicomplete digraphs are -semicomplete, and the following lemma finds large semicomplete ones.
Lemma 3.1. Let be a positive integer, be a non-negative integer, and . Let be an -semicomplete digraph on vertices. Then there is a set of size such that is semicomplete, which can be found in time.
Proof. Start with and . While , move a vertex from to and remove all non-neighbors of from . Every vertex of stays adjacent to every vertex of , so is semicomplete. Each step removes at most vertices from , so keeps non-empty until . Each step takes time, and the result follows.
We use the following count of non-arcs and arcs in sections 5 and 6.
Observation 3.2. Every -semicomplete digraph on vertices has at most pairs of non-neighbors and a vertex of out-degree at least .
Proof. Each vertex belongs to at most pairs of non-neighbors, which gives the first bound. Thus the digraph has at least arcs, and the out-degrees of the vertices sum to the number of arcs, so one of them is at least , and the result follows.
A walk from to is a sequence of vertices with for every , and a path if its vertices are distinct. Its length is , its arcs are for , and are its internal vertices. Paths are arc-disjoint if no arc belongs to two of them, and internally disjoint if they are pairwise distinct and no vertex is an internal vertex of two of them.
Definition 3.3 (Detours and completions). Let be a digraph. For distinct vertices and of , a detour from to is a path of length two from to , and is the set . A completion of is a semicomplete digraph with and such that every arc of that is not an arc of joins two non-neighbors of . The detour completion of is the digraph obtained from by adding the arc for every non-arc of with .
Since has the arc or for every non-arc of , it is a completion of , and it has both arcs between non-neighbors and of exactly when . Figure 3 shows an added arc. We use the detour completion in Section 5 and, in Section 6.2, the completion that adds both arcs between every two non-neighbors.

Figure 3. Two non-neighbors and of a digraph with and . The detour completion of adds the arc , drawn dashed.
A separation of is a pair of subsets of with and no arc from to . Its separator is and its order is .
An undirected graph is bipartite with bipartition if and partition and every edge joins to . A matching of is a set of pairwise disjoint edges, is the maximum size of a matching of , and a vertex cover of is a set of vertices meeting every edge.
Theorem 3.4 (König's Theorem [20]). Every bipartite graph has a vertex cover of size .
Given a bipartite graph on vertices and a positive integer , enlarging a matching times along augmenting paths [2, Chapter 16] finds in time a matching of size or a vertex cover of size at most .
Path decompositions. We now formally define directed pathwidth and path decompositions.
Definition 3.5 (Directed pathwidth). A path decomposition of a digraph is a sequence of subsets of , called bags, such that
(i) ,
(ii) for every arc , we have for some , or and for some , and
(iii) for every vertex , the set is an interval of integers.
The width of is , and the directed pathwidth of is the minimum width of a path decomposition of . The path decomposition is nice if and, for every , either for some , or for some . In the first case introduces , and in the second it forgets .
Observation 3.6. Let be a subgraph of a digraph . Then , and if , then every path decomposition of is one of .
Proof. Restricting every bag of a path decomposition of to gives a path decomposition of of at most the same width, since every arc of is an arc of . If , the restriction changes no bag, and the result follows.
Thus an obstruction in a subgraph of bounds from below, and every path decomposition of a completion of is one of .
A path decomposition of with bags and width becomes nice, with the same width, by removing repeated bags and then inserting bags [9, Section 2.4.2], in time, where . An acyclic digraph has , since is a path decomposition of for the ordering in the definition of acyclic digraphs. Path decompositions give separations of as follows, and all our lower bounds on directed pathwidth use them.
Proposition 3.7 (Fomin and Pilipczuk [9, Lemma 2.12 and Section 2.4.2]). Let be a path decomposition of width at most of a digraph on vertices. For , let and . Then is a separation of for every . If is nice, then for every there is with and .
In a nice path decomposition of a semicomplete digraph, every vertex not yet introduced has an arc to every vertex already forgotten [9, Section 2.4.2], and path decompositions put no condition on the non-arcs. We introduce the following notion to recover this property in sections 6 and 7.
Definition 3.8 (Covering the non-arcs). A path decomposition of a digraph covers the non-arcs of if, for every non-arc of , some bag of contains both and .
Making a path decomposition nice as above only removes bags and inserts subsets of its bags, so it preserves the covering of the non-arcs. The proof of the following observation is the argument for semicomplete digraphs [9, Section 2.4.2], with the covering of the non-arcs in place of semicompleteness.
Observation 3.9. Let be a path decomposition of a digraph that covers the non-arcs of , and and be as in Proposition 3.7. Then is complete to for every . If is nice and introduces a vertex , then , the set consists of the vertices forgotten by , and is complete to it.
Proof. Let and . Then belongs only to bags with , and only to bags with , so no bag contains both. Since covers the non-arcs of , the vertices and are adjacent. As is a separation of by Proposition 3.7, there is no arc from to , and we conclude that . If is nice and introduces , then is in no bag before , so , and since and the bags containing a vertex form an interval. Thus consists of the vertices forgotten by . By the first statement, is complete to it, and the result follows.
Definition 3.10 (k-triple [11, Section 1]). Let be a digraph and be a positive integer. A -triple of is a triple of pairwise disjoint subsets of of size such that is complete to , is complete to , and is matched to .
See Figure 4 for a 4-triple.

Figure 4. A 4-triple . The definition puts no condition on the arcs inside , , and or on the other arcs between and .
Parameterized complexity. A parameterized problem is a set of pairs , called instances, of a string and a non-negative integer , the parameter. It is fixed-parameter tractable (FPT for short) if some algorithm decides it in time, and it is in the class XP if some algorithm decides it in time, for computable functions and . We refer to the book of Cygan et al. [7] for background on parameterized complexity. For a non-negative integer , we write tower for the tower of twos with on top, so tower and tower.
4 A polynomial-time approximation algorithm for directed path-width in -semiccomplete digraphs
In this section, we extend the polynomial-time approximation algorithm of Fomin and Pilipczuk [9, Theorem 4.12] for directed pathwidth from semiccomplete to -semic-complete digraphs. Their algorithm outputs, for a parameter , a path de-composition of width at most , a degree tangle, or a matching tangle. We show that tangles remain obstructions to directed pathwidth at most in -semiccomplete digraphs, with a slack of in their out-degrees (Theorem 4.4). We first define tangles [9, Definitions 3.7 and 3.10].
Definition 4.1 ((s, d)-degree tangles). Let be a digraph and be positive integers. An -degree tangle of is a set such that and for all .
Definition 4.2 ((s, d)-matching tangles). Let be a digraph and be positive integers. An -matching tangle of is a pair of disjoint subsets of of size such that is matched to and for all and .
Proposition 4.3 is adapted from the approximation algorithm for semiccomplete digraphs [9, Theorem 4.12]. Although the original statement is restricted to semiccomplete digraphs, we remark that all the tools that its algorithm applies hold for general digraphs. The proof orders the vertices by out-degree, finds the tangles or small vertex covers of bipartite graphs formed by arcs, and turns a monotone sequence of separations into a path decomposition, using their results stated for general digraphs and bipartite graphs. A monotone sequence of separations yields a path decomposition with bounded width [9, Lemma 2.12], and the vertices of a bipartite graph covering an edge of every maximum matching form a vertex cover with at most vertices on each side of that changes monotonically when vertices are added to one side of and removed from the other side [9, Lemmas 4.2 and 4.4]. Semicompleteness is used in the original proof [9, Theorem 4.12] only to guarantee its last conclusion, which depends on degree and matching tangles being certificates of large directed pathwidth of semiccomplete digraphs. In Proposition 4.3 we drop this last conclusion from the statement and write it for general digraphs.
Proposition 4.3 (Adapted from Fomin and Pilipczuk [9, Theorem 4.12]). Let be a digraph on vertices, and and be positive integers. There is an algorithm with run time that outputs an -degree tangle of , a -matching tangle of , or a path decomposition of of width at most .
In Lemma 4.7 and Lemma 4.8, we show that both tangles remain certificates for large directed pathwidth of -semiccomplete digraphs. We apply Proposition 4.3 with in place of to account for -semicompleteness, and we use the two aforementioned lemmas to recover the original conclusion, which proves the following:
Theorem 4.4. Let be an -vertex -semiccomplete digraph, and let be positive integers. There is an algorithm that, in time , outputs one of the following:
-
an -degree tangle of ,
-
a -matching tangle of , or
-
a path decomposition of of width at most .
In the first two cases, .
With we recover exactly the result for semicomplete digraphs [9, Theorem 4.12]. The slack of in the tangles comes from the following fact. Given a separation of , a vertex has as out-neighbors all but at most vertices of , instead of all of them in a semicomplete digraph. This forces us to ask for a -matching tangle, stronger than the -matching tangle for semicomplete digraphs [9], see Lemma 4.8. In turn, the algorithm uses the same bound for the degree tangle, which is thus weaker and needs more vertices.
Corollary 4.5. Let be an -semicomplete digraph on vertices, and let . There is an algorithm with run time that outputs a path decomposition of of width at most .
Proof. Run the algorithm of Theorem 4.4 with for until it outputs a path decomposition. The tangles are impossible once , so the algorithm stops for some with width at most . The -th run takes time, and the result follows.
For , this width is at most , a constant-factor approximation for fixed .
The proofs that the tangles are obstructions use Proposition 3.7 and the following result, stated for semicomplete digraphs [9, Lemma 2.10]; its proof, which takes the vertex introduced last in a nice path decomposition, works without change in every digraph.
Proposition 4.6 (Adapted from Fomin and Pilipczuk [9, Lemma 2.10]). Every digraph with at least one vertex and directed pathwidth at most has a vertex of in-degree at most .
We are ready to show that degree tangles are obstructions to bounded directed pathwidth. The proof follows the one for semicomplete digraphs [9, Lemma 3.8]. Our tangle has more vertices than the original one: compensate the gap between the out-degrees in the tangle, which is in the original lemma, and account for the non-neighbors of the vertex whose out-degree we bound.
Lemma 4.7. Let be an -semicomplete digraph and be a positive integer. If has ()-degree tangle, then .
Proof. Let be such a tangle, , and , so . By contradiction, assume that has a nice path decomposition of width at most . By Proposition 3.7, has a separation with and . A vertex has all its out-neighbors in , so and . Since , has at least vertices, and since is an induced subgraph of (Observation 3.6). By Proposition 4.6, there is with at most in-neighbors in . Since is a separation, every vertex of adjacent to is an out-neighbor of , and so is every vertex of adjacent to that is not an in-neighbor. Since has at most non-neighbors, we conclude that
This contradicts , and the result follows.
Next, we consider matching tangles. The proof follows the one for semicomplete digraphs [9, Lemma 3.11], and the only change is that the gap between the out-degrees absorbs the at most non-neighbors of a vertex of .
Lemma 4.8. Let be an -semicomplete digraph and be a positive integer. If has ()-matching tangle, then .
Proof. Let be such a tangle and . By contradiction, assume that has a nice path decomposition of width at most . By Proposition 3.7, has a separation with and . First, : as above, a vertex has . Next, we claim that . Otherwise, let . Since is a separation and is -semicomplete, all but at most vertices of are out-neighbors of , so . Then every has , contradicting the choice of . Finally, at most of the arcs matching to have an endpoint in . Any other one goes from to , contradicting that is a separation, and the result follows.
Proof of Theorem 4.4. We run the algorithm of Proposition 4.3 with in place of , which is possible as . In time, it outputs a path decomposition of width at most , an -degree tangle, which contains a -degree tangle as , or a -matching tangle . Keeping of the matching arcs and their endpoints gives a -matching tangle. In the last two cases, by Lemmas 4.7 and 4.8, and the result follows.
5 Finding -triples in -semicomplete digraphs of large directed pathwidth
In this section, we show that every -semicomplete digraph on vertices of directed pathwidth greater than contains a -triple, and we find it in time, which is polynomial in (Theorem 5.10). We run an algorithm of Fomin and Pilipczuk [9, proof of Theorem 9.9] on the detour completion of the input digraph , which outputs a path decomposition of bounded width or a short jungle. We turn the short jungle into a -triple of in Section 5.2, and we close the section with lower bounds showing that the linear dependence on is best possible and the dependence on is best possible up to the constant in the exponent (Lemma 5.12).
5.1 Jungles and the detour completion
Definition 5.1 (Jungles [11, Section 1] and short jungles [9, Definition 3.2]). Let be a digraph and be a positive integer. A set is a jungle of size if and, for all distinct , either or there are internally disjoint paths from to in . For a positive integer , the set is a -short jungle if and, for all distinct , there are internally disjoint paths from to in of length at most .
A short jungle is always given or output with the paths required by its definition, as given by Fomin and Pilipczuk [9, Section 3.1]. They also observe that, in a semi-complete digraph, a path decomposition of small width would have a bag containing a whole jungle; their argument works in every digraph, and we include a proof for completeness.
Lemma 5.2. Let be a positive integer. If a digraph contains a jungle of size , then .
Proof. Let be a jungle of size in and be a path decomposition of . Let be the smallest index such that some belongs to and to no later bag. Let and . By Proposition 3.7, is a separation of , and since the bags containing a given vertex form an interval. If , then . Otherwise, let . Since the bags containing form an interval, belongs only to bags before or only to bags after , and the first option contradicts the choice of . Thus , and as belongs to no bag after , so and there are internally disjoint paths from to in . The first vertex of each of these paths outside is in , since there is no arc from to , and it is an internal vertex since it is neither nor . These vertices are distinct and differ from , so , and the result follows.
The middle set of a -triple is a jungle of size , since for distinct the matching arcs give the internally disjoint paths , so by Lemma 5.2 -triples are obstructions as well.
Corollary 5.3. Let be a positive integer. If a digraph contains a -triple, then .
The following algorithm is the first step of the algorithm for ROOTED IMMERSION in semicomplete digraphs [9, proof of Theorem 9.9]; see also the proof in Pilipczuk's PhD thesis [22, Theorem 106]. It runs the approximation algorithm for semicomplete digraphs [9, Theorem 4.12], or ours of Theorem 4.4 with , with and in place of the parameters and , in time, and it extracts a -short jungle from the -degree tangle or the -matching tangle that this algorithm may output, in time [9, Lemmas 3.9 and 3.12].
Proposition 5.4 (Fomin and Pilipczuk [9, proof of Theorem 9.9]). Let be an -vertex semicomplete digraph and let be a positive integer. There is an algorithm that, in time , outputs a path decomposition of of width at most or a -short jungle of .
We apply Proposition 5.4 to the detour completion of (Definition 3.3). By Observation 3.2, an -semicomplete digraph on vertices has at most pairs of non-neighbors. Thus can be computed in time by computing and for each such pair.
5.2 From a short jungle to a k-triple
We now show how to obtain a -triple of from a short jungle of . We first find in the jungle a set of vertices and two large sets and such that is complete to and is complete to in . Then we build the -triple from arcs of the paths of the jungle from to , and we use detours (Definition 3.3) when such an arc is not an arc of .
For a digraph and , we denote by the set of vertices that are complete to , and by the set of vertices such that is complete to (Figure 5). Both sets are disjoint from , since has no loops.

Figure 5. A set of vertices of a digraph with the sets and . Every vertex of is complete to , and is complete to every vertex of . The other arcs are omitted.
The proof of the following lemma is a double count. In a semicomplete digraph , we count, for each set of a fixed size, the pairs of distinct vertices with complete to and complete to , which are exactly the pairs with . The paths of length two of make this number large on average over all sets , and a set with many such pairs has many common in-neighbors and many common out-neighbors. We then choose the vertices of one at a time, each time keeping the average over the sets that contain the chosen vertices as large as possible, which gives, in polynomial time, a set whose number of pairs is at least the average. This is the method of conditional expectations [1], written as a double count, without probability.
Lemma 5.5. Let be a positive integer and be a semicomplete digraph on vertices. There is an algorithm with run time that, given , outputs a set of size such that and .
Proof. We first write the counts as sums over pairs of vertices. For distinct vertices and of , let be the number of detours from to . For a set of at most vertices, let be the set of ordered pairs of distinct vertices with . Let be the number of pairs such that is a set of vertices with , is an ordered pair of distinct vertices, and . Note that, for a set and distinct vertices and , we have if and only if is complete to and is complete to , that is, and . Every pair counted by has , as . Conversely, for , the sets with are the unions of with a subset of of size , so
Next, we show that, if , then some vertex satisfies , that is, the average of over the sets of vertices that contain is at least the average over those that contain . Every pair counted by is counted by exactly for the vertices , so . As this sum has terms, some term is at least their average, which is the claim. The algorithm starts with and, while , adds to a vertex that maximizes . It outputs when , and by the claim applied at each of the steps,
We now bound from below, where consists of all ordered pairs of distinct vertices. The sum of over these pairs is the number of paths of length two in . Any three vertices of span such a path, since choosing one arc between each two of them gives a tournament on three vertices, in which some vertex has an in-neighbor and an out-neighbor. Distinct sets of three vertices give distinct paths, so has at least paths of length two. For , let . We claim that . This is trivial if . Otherwise , and for every we have , as this is equivalent to , which holds since and . The product of these inequalities gives
as claimed. Since , the sum of over the pairs is at least , so their average is at least , where the inequality is equivalent to and holds as . By the power mean inequality, , as . Thus by the bound on , and the bound on gives .
Finally, we bound and . Since , the pairs counted by are the pairs with and , so . Every pair of has its first vertex in , and each such vertex is the first vertex of at most pairs. Thus , which gives , and symmetrically .
For the run time, we compute for all pairs in time, and the binomial coefficients with and by Pascal's rule, in additions. We maintain the sets and , so that is tested in constant time, as it means and . Thus, in each of the steps, each of the at most values is computed by the formula above as a sum of at most binomial coefficients, so each step takes additions and the steps take additions. All numbers are at most , as , so each addition takes time on words of bits, the total run time is , and the result follows.
Next, let be a short path from to . Every vertex is an in-neighbor of and an out-neighbor of , since is complete to and is complete to . We say that flips at the arc , where , if is an in-neighbor of and an out-neighbor of . We show that many vertices of flip at the same arc. The following lemma does not use the arcs of the path, so we state it for a sequence of vertices. See Figure 6.
Lemma 5.6. Let be a digraph, , and be vertices of with . Assume that is complete to , is complete to , and every with is outside and adjacent to every vertex of . Then there are an index and a set of size at least such that is complete to and is complete to .

Figure 6. A path from to and a vertex with in the proof of Lemma 5.6: is an in-neighbor of , , and and an out-neighbor of and , so it flips at the arc , drawn thick. If Lemma 5.6 gives the index , then . Arcs incident to the other vertices of are omitted.
Proof. For , let be the smallest with , which is well defined since . Then . If , then since is complete to . If , then is outside and adjacent to by hypothesis, and by the minimality of , so . Now, the sets with partition , so some has size at least , and the result follows with .
The next lemma extracts a -triple of from a short jungle of any completion of , and we apply it to the detour completion in this section and, in Section 6.2, to the completion that adds both arcs between every two non-neighbors. Its second output arises only when, on many paths of the jungle, the arc at which many vertices of flip is not an arc of .
Lemma 5.7. Let and be positive integers, be a non-negative integer, and . Let be an -semicomplete digraph, be a completion of , and be a -short jungle of , where . There is an algorithm with run time that, given and , outputs one of the following:
-
a k-triple of , or
-
a set of size and pairs of non-neighbors of whose vertices are pairwise distinct, and outside . For every , we have and, in , is complete to and is complete to .
Proof. Let , , , and , so that . Discarding vertices of if necessary, we assume that .
First, we find , , and . Since is -semicomplete and , we apply Lemma 3.1 to to find with such that is semicomplete. As , we have . Thus the algorithm of Lemma 5.5 applied to gives a set of size such that and both have size at least . Let be a subset of of size and be a subset of of size . Then , , and are pairwise disjoint, is complete to in , and is complete to in . We write and , and, for , we let be the given family of internally disjoint paths of from to of length at most 4. Since these paths are internally disjoint, every vertex other than and lies on at most one path of , as an internal vertex.
Now, let . We say that a path of is good if none of its internal vertices belongs to and each of them is adjacent in to every vertex of . At most vertices belong to or are non-neighbors of some vertex of , since each of the vertices of has at most non-neighbors. Each of them is an internal vertex of at most one path of , so at most paths of are not good. Let be a good path of . Since is good, is complete to , is complete to in , and as , we can apply Lemma 5.6 to , , and . Since , it gives an index and a set of size at least , which we fix. Let and . Then is an arc of and of , and in the vertex is complete to and is complete to .
Next, we show that at most 2h good paths of with have or . For such a path, and are non-neighbors of , since is a completion of . If , then , as and are adjacent in the semicomplete digraph , so is an internal vertex of and a non-neighbor of . Since has at most non-neighbors, at most of these paths have , and symmetrically at most of them have . For every other such path, both and are internal vertices of .
Assume first that, for some , at least good paths of have with and internal vertices of . For each of them, fix a subset of of size . Since has subsets of size and , there is a set with for at least of these paths . We output and the pairs of such paths. Their vertices are pairwise distinct, since and each of them is an internal vertex of only one path of , and they are outside , since these paths are good. As , the vertex is complete to and is complete to .
Assume now that this is not the case, and let . Then contains at most paths that are not good and at most good paths with , so it contains at least
good paths with , where the inequality uses , which holds as and . For in turn, we choose such a path whose vertices and are outside
A vertex of differs from and , so it lies on at most one path of and excludes at most one path. As , the path exists. Now, the vertices and with are pairwise distinct. To see this, note that , as they are consecutive on , and let . The vertices and are outside , so they differ from and and belong to . By the choice of , they differ from and . All vertices are outside , since each of them is an internal vertex of a good path or belongs to .
The following claim gives of the paths whose sets share vertices.
Claim 5.8. Let be subsets of of size at least . Then there are sets and of size such that for every .
Proof of the claim. Each set has at least subsets of size , and has subsets of size . Thus, some set of size satisfies for at least indices . Since and for every , we have
Thus, for at least indices , and the claim follows.
By Claim 5.8 applied to , there are sets and of size such that for every . For , the vertex is complete to and is complete to , and is matched to by the arcs of . Thus is a -triple of , which we output. See Figure 7.
The run time follows from the bounds below, where and . By Lemma 3.1, we find in time. By Lemma 5.5, we find in time. For the families , the good paths, the indices , and the sets are computed in time. In the first case, the set is found in time by checking all subsets of of size 2k. In the second case, the paths are chosen in time by comparing and with the at most 4m vertices of . The sets and are found in time by checking all subsets of of size . The total run time is , and the result follows.

Figure 7. The 2-triple () built in the second case of the proof of Lemma 5.7 from the paths and , which go from to . Here and , so . The set is a subset of . Thick arcs form the matching, thin black arcs are the other arcs of and , gray arcs join to and to , and all other arcs are omitted.
In the second output of Lemma 5.7 with , every arc joins non-neighbors of and is an arc of , so by Definition 3.3. The next lemma uses the detours from to to replace or in a triple whose middle set is half of . Either the arcs from the vertices to the vertices contain the matching of a -triple, or by König's Theorem (Theorem 3.4) fewer than vertices meet all of them. In the second case, we show that many of the remaining pairs have many detours from to . If not, then by Observation 3.2 some of a pair with few detours has many out-neighbors among these pairs. All but at most of them lie in , as no arc goes from to them, so the hypothesis gives at least as many detours from to , a contradiction. See Figure 8.
Lemma 5.9. Let be a positive integer, be a non-negative integer, and . Let be an -semicomplete digraph on vertices and be a set of size . Let be pairs of vertices of , with , whose vertices are distinct and outside . Assume that, for every , the vertex is complete to , is complete to , and . Then contains a -triple, which can be found in time.
Proof. For , let , so that for every . Let and .
Let be the bipartite graph with bipartition and an edge between and whenever . If has a matching of size , let and be the sets of its ends among the vertices and among the vertices , respectively. Let be a set of size . Then is matched to by the arcs corresponding to the edges of the matching, and is a -triple of . Otherwise, by Theorem 3.4, has a vertex cover of size at most .

Figure 8. Building a 2-triple in the proof of Lemma 5.9. The vertex is complete to and replaces , and is complete to , which replaces . Thick arcs form the matching, and the arcs between and the replaced vertices and are omitted.
Let be the set of indices with . Each vertex of is or for exactly one index , so . For all , we have , as otherwise would not cover the edge between and . Thus, for all , the vertex is not in , and is not in since .
Now, let be the set of indices with . We claim that . By contradiction, assume that has indices. The digraph is -semiccomplete, so by Observation 3.2 some with has at least out-neighbors with . For each such , we have , so if and are adjacent, then and . Since has at most non-neighbors, at least of these vertices belong to . Also, , as is complete to and is complete to , and contains no vertex . Thus , so , a contradiction. Therefore,
Now, let be distinct indices of . At most vertices are non-neighbors of some vertex of , since each of the vertices of has at most non-neighbors. Thus, for in turn, we can choose a vertex that is adjacent to every vertex of and distinct from , since at most vertices are excluded. As is adjacent to all vertices of , there is a set of size such that is complete to or is complete to . Since has subsets of size and , there are a set and a set of size with for every . For , let if is complete to , and otherwise, in which case is complete to . In both cases, is complete to , is complete to , and since . The vertices with are pairwise distinct, outside , and, as shown above, distinct from all vertices and with . Thus the vertices and with are distinct and outside , and we conclude that is a -triple of .
The run time follows from the following bounds. As described in Section 3, the matching or the vertex cover of is found in time. The sets with and their sizes are computed in time, and we mark the vertices adjacent to every vertex of in time. Then the vertices are found in time, and the sets and in time by comparing the sets pairwise. Since , the total run time is , and the result follows.
We are ready to prove the main result of this section.
Theorem 5.10. Let be a positive integer, be a non-negative integer, and . Every -semicomplete digraph with contains a -triple. There is an algorithm with run time that, given and an -semicomplete digraph on vertices, outputs a path decomposition of of width at most or a -triple of .
Proof. Let , , and . We first show that . As and , we have , where the last inequality uses . Thus,
where the last inequality uses , which gives .
Given , we first compute in time the largest number of non-neighbors of a vertex of , and we replace by , which only decreases the bounds of the statement. Then, if , we output the path decomposition of with a single bag, whose width is . Otherwise, we compute the detour completion of in time, and we run the algorithm of Proposition 5.4 on with , which takes time. If it outputs a path decomposition of , then its width is at most , it is a path decomposition of by Observation 3.6, and we output it. Otherwise, it outputs a -short jungle of . Since , the set with of the given paths for every pair of its vertices is a -short jungle of , and we apply the algorithm of Lemma 5.7 to and with . If it outputs a -triple of , we output it. Otherwise, it outputs a set of size and pairs as in its second item. For every , the vertices and are non-neighbors in and is an arc of , so by the definition of . Thus, Lemma 5.9 applies to , , and these pairs, and we output the -triple of that it finds. The first statement follows, since if , then has no path decomposition of width at most , so the algorithm outputs a -triple of .
For the run time, the steps above take time. Since and , this is . Moreover, these steps run only when , in which case , and are all less than , so the run time is also , and the result follows.
For every k, every semicomplete digraph with a large enough jungle contains a k-triple, a result that Fradkin and Seymour [11, Section 1 and (2.6)] credit to
Chudnovsky, Scott, and Seymour. The analogue for -semicomplete digraphs follows directly. Indeed, let be a positive integer and be a non-negative integer. By Lemma 5.2, an -semicomplete digraph that contains a jungle of size has directed pathwidth greater than , so it contains a -triple by Theorem 5.10, and thus we obtain the following.
Corollary 5.11. Let be a positive integer, be a non-negative integer, and . Every -semicomplete digraph that contains a jungle of size contains a -triple.
5.3 Rooted Immersion
Given a digraph and a semicomplete digraph, ROOTED IMMERSION asks for an injective map from to the vertices of the semicomplete digraph that sends prescribed roots to prescribed roots, together with pairwise arc-disjoint paths joining the images of the ends of every arc of . The proof of Fomin and Pilipczuk [9, Theorem 9.9], with Corollary 5.11 for in place of their Lemma 3.6, gives an algorithm for this problem on a semicomplete digraph on vertices with run time , where . Their rule [9, Theorem 9.1] that deletes a vertex without changing the answer needs a -triple with , so with our bound the path decompositions have width . Their dynamic programming [9, Theorem 10.8] on a path decomposition of width takes time. The proof of Fradkin and Seymour [11, (2.6)], which gives the lemma replaced above [9, Lemma 3.6], finds a -triple in every jungle of size , where the Ramsey number , the least such that every graph on vertices has pairwise adjacent or pairwise non-adjacent vertices, is at most [8]. With this bound in place of ours, the path decompositions have width , and the run time is .
5.4 Lower bounds
The following lemma gives lower bounds on every function that can replace in Theorem 5.10.
Lemma 5.12. Let be a positive integer and . There is a tournament on vertices with no -triple and , and for every non-negative integer there is an -semicomplete digraph with no -triple and directed pathwidth at least .
Proof. For the tournament, we count the tournaments on a fixed set of vertices. Since , we have . There are at most choices of a set of vertices and two -tuples and of vertices. Fix such a choice. If its vertices are distinct, then exactly tournaments make a -triple with for every , as this prescribes the arcs between pairs of vertices. Otherwise, no tournament does. Every -triple of a tournament arises from such a choice, so at most tournaments contain a -triple, as
. Also, there are at most pairs of disjoint sets , and for each such pair with , exactly tournaments have no arc from to . Thus at most tournaments have such a pair with no arc from to . Therefore, some tournament has no -triple and an arc from to for all disjoint with . Let , and assume that , as otherwise there is nothing to show. As explained in Section 3, has a nice path decomposition of width , so Proposition 3.7 gives an index with and . Then , , and there is no arc from to . By the choice of , we obtain , so and .
For the -semicomplete digraph, let be the digraph on disjoint sets and of size with both arcs between every vertex of and every vertex of , and no other arcs. Every vertex of is non-adjacent exactly to the other vertices of its side, so is -semicomplete. Every -triple of gives vertices , , and with . These three vertices are pairwise adjacent, which is impossible as two of them lie on the same side. We conclude that has no -triple. For all distinct , the paths with are internally disjoint, so is a jungle of size . Thus by Lemma 5.2, and the result follows.
Since and tournaments are -semicomplete for every , the tournament and the -semicomplete digraph of Lemma 5.12 give the lower bounds and , respectively.
6 Arc-disjoint paths in -semicomplete digraphs
In this section, we give a fixed-parameter algorithm for ADP on -semicomplete digraphs parameterized by , where is the number of paths (Theorem 1.3). We follow the algorithm of Fomin and Pilipczuk [9, Theorem 9.9] for semicomplete digraphs, which deletes a vertex of a large triple without changing the answer [9, Theorem 9.1] until it finds a path decomposition of small width for its dynamic programming [9, Theorem 10.8]. Here the path decomposition must cover the non-arcs, which leads to a new obstruction, the anti-triples of Section 6.2, and in Section 6.3 we add an arc between two non-neighbors of a large anti-triple, which does not change the answer by a result of Fradkin and Seymour [12, (2.4)].
6.1 Dynamic programming over path decompositions covering the non-arcs
We first fix the terminology of the section, and then we solve ADP when a path decomposition covering the non-arcs is given.
ARC-DISJOINT PATHS (ADP)
Input: A digraph , a positive integer , and a multiset of pairs of vertices of .
Goal: Decide whether there are pairwise arc-disjoint paths in such that goes from to for every .
We call the pairs the requests, the vertices and the terminals, and we denote by the set of terminals. A solution of is a sequence of paths as in the goal of ADP, and is a “yes”-instance if it has a solution. Two instances are equivalent if both or neither of them are yes-instances, and a vertex of is irrelevant for if and are equivalent. A path uses its vertices and its arcs, a solution uses the vertices and arcs of its paths, and the arcs that a solution does not use are unused. Since a path visits each vertex at most once, a solution uses at most arcs leaving any vertex and at most arcs entering it [9, Observation 9.2]. Finally, every walk contains a path from to whose arcs are arcs of the walk, obtained by deleting while for some .
An immersion of a digraph into a digraph maps the vertices of to distinct vertices of and every arc of to a path of from the image of to the image of , such that these paths are pairwise arc-disjoint [9, Section 2.3]. ROOTED IMMERSION, where the images of some vertices of are prescribed, is solved on semicomplete digraphs by dynamic programming over a path decomposition [9, Theorem 10.8]. This proof makes the path decomposition nice and uses semicompleteness only when a bag introduces a vertex , where it needs that every vertex forgotten by the bags is an out-neighbor of [9, proof of Theorem 10.8, Cases 1.2, 1.4 and 2]. By Observation 3.9, every nice path decomposition that covers the non-arcs has this property, so their proof applies without change and gives the following.
Proposition 6.1 (Adapted from Fomin and Pilipczuk [9, Theorem 10.8]). There is an algorithm that, given a digraph , a digraph on vertices with a nice path decomposition of width that covers the non-arcs of , and pairwise distinct prescribed images in for some of the vertices of , decides in time whether has an immersion into that respects the prescribed images.
We reduce ADP to this problem.
Lemma 6.2. There is an algorithm that, given an instance of ADP with and a path decomposition of of width with bags that covers the non-arcs of , in time decides if is a “yes”-instance.
Proof. First, we modify the instance so that no two requests are equal and no request has equal terminals, since the digraph below must have neither loops nor parallel arcs. Let be the given path decomposition. For every , we add to a new vertex with the single arc , we add to every bag of , and we replace the request by . Let , and be the results. Since is the only arc at , a path from to in consists of this arc followed by a path from to in . The arcs are distinct, so is equivalent to . The sequence is a path decomposition of of width at most with bags. It covers the non-arcs of , since every non-arc of is a non-arc of or has an endpoint , which belongs to every bag.
Let be the digraph with vertex set and arc set . These arcs have distinct tails and are not loops, so has neither loops nor parallel arcs, and . By the definition of an immersion, is a yes-instance if and only if there is an immersion of into mapping every vertex of to itself. We make nice in time, which preserves the covering of the non-arcs as noted after Definition 3.8. Then we run the algorithm of Proposition 6.1 on , , this nice path decomposition, and the prescribed image of every vertex of . Since , , the width is at most , and has vertices, its run time is , and the result follows.
6.2 Anti-triples
Anti-triples, together with triples, are the obstructions to path decompositions of small width that cover the non-arcs of an h-semicomplete digraph (Lemma 6.4).
For a digraph , we denote by the completion of (Definition 3.3) obtained by adding both arcs and for every non-arc of . A path decomposition of covers the non-arcs of if and only if it is a path decomposition of . To see this, note that the two arcs of between non-neighbors and of satisfy Definition 3.5 (ii) exactly when some bag contains and . Thus, by Theorem 5.10 and Corollary 5.3 applied to , the triples of are the obstructions to path decompositions of small width that cover the non-arcs of . We find two kinds of them in , namely the triples of and the following new obstruction.
Definition 6.3 (-anti-triple). Let be a digraph and be a positive integer. A -anti-triple of is a triple of pairwise disjoint subsets of of size such that is complete to , is complete to , and there are orderings of and of such that and are non-neighbors for every .
Every -triple of is a -triple of , as , and so is every -anti-triple of , as has the arc for every . Thus, by Corollary 5.3, a -anti-triple of forces every path decomposition of that covers the non-arcs of to have width at least , even if is acyclic. If is a -anti-triple of and and are non-neighbors, then , since is complete to and is complete to . See Figure 9.
We now find the path decomposition or one of the two obstructions. We run the algorithm of Proposition 5.4 on rather than on the detour completion of , since a path decomposition of need not cover the non-arcs of . Then Lemma 5.7 turns the short jungle into a triple of or into pairs of non-neighbors that give an anti-triple of .
Lemma 6.4. Let be a positive integer, be a non-negative integer, , and . There is an algorithm with run time that, given an h-semicomplete digraph on vertices, outputs a path decomposition of of width at most that covers the non-arcs of , an -triple of , or an -anti-triple

Figure 9. A 3-anti-triple . Dotted segments join the non-neighbors and . Every vertex of is the internal vertex of a detour from to , so . The dashed arc is the arc that the algorithm of Theorem 1.3 adds.
of .
Proof. We compute in time and run the algorithm of Proposition 5.4 on with , which takes time. If it outputs a path decomposition of of width at most 140J, then is a path decomposition of that covers the non-arcs of , and we output it. Otherwise, it outputs a -short jungle of . Since is a completion of , we apply the algorithm of Lemma 5.7 to , , and , with in place of and of . This takes time, which is as . If it outputs an -triple of , we output it. Otherwise, it outputs a set of size and pairs of non-neighbors of as in its second item. Let , , and be a set of size . Since the vertices of the pairs are distinct and outside , the second item shows that is an -anti-triple of , and we output it.
6.3 Detours and irrelevant vertices
We now justify that the algorithm can add an arc between two non-neighbors of a large anti-triple and delete a vertex of a large triple without changing the answer. We begin with the arc. For a non-arc of , we denote by the digraph obtained from by adding the arc . Fradkin and Seymour [12] consider digraphs and with the same number of prescribed vertices, called roots, where the roots of are distinct. For all distinct vertices and of , they show that adding arcs from to does not change whether has an infusion in if there are at least detours from to [12, (2.4)]. When every vertex of is a root and the ends of every arc of correspond to distinct roots of , such an infusion maps every arc of to a path of from the root corresponding to to the root corresponding to , and these paths are pairwise arc-disjoint. A request is met by the path in and in . For the other requests , we let consist of pairwise disjoint arcs whose ends are roots corresponding to and . Then the infusions of in and in are the solutions for these requests, and , so we obtain the following.
Proposition 6.5 (Fradkin and Seymour [12, (2.4)]). Let be an instance of ADP and be non-neighbors of with . Then and
are equivalent.
We now turn to triples. Fomin and Pilipczuk [9, Theorem 9.1] show that, for ROOTED IMMERSION in a semicomplete digraph, a large triple avoiding the terminals contains an irrelevant vertex . We prove the analogue for ADP in -semicomplete digraphs in Lemma 6.8. As in their proof, a path through is rerouted through and an arc from to of the triple. Their choice of , however, needs semicompleteness for a lemma on bipartite digraphs with an arc between any two vertices on opposite sides [9, Lemma 9.8], and we choose with the following counting lemma, which only needs that the input is -semicomplete. For a vertex with few out-neighbors in , the set below consists of the vertices of that reaches by an arc or through another such vertex.
Lemma 6.6. Let be an -semicomplete digraph on vertices, , and and be positive integers. Let be the set of vertices of with at most out-neighbors in . For , let be the set of vertices with , or with and for some , and call poor if . Then the set of vertices of with a poor in-neighbor in has size at most and can be computed in time.
Proof. If , there is nothing to prove. Otherwise, for every , choose a poor in-neighbor of , and let . Every has at most out-neighbors in , and is an out-neighbor of , so . Since is -semicomplete, by Observation 3.2 some has at least out-neighbors in . Each out-neighbor of in is for some , and then , as and . Distinct out-neighbors give distinct vertices , since , so . As is poor, , and we conclude that and .
For the run time, we compute for every in time, which gives . For , the set is the union of and of the sets over the out-neighbors of . These sets have size at most , so the sets for all are computed in time. Finally, is the union of the sets over the poor vertices , and the result follows.
Next, a solution with the minimum total number of arcs uses few vertices of a large triple. Fomin and Pilipczuk [9, Observations 9.3 to 9.6] prove this for ROOTED IMMERSION in semicomplete digraphs, with bounds in terms of the number of vertices and arcs of the immersed digraph , for the large triple of their irrelevant vertex rule [9, Theorem 9.1]. Their proofs never use semicompleteness or the roots, and they use the size of the triple only through the fact that it exceeds . Otherwise, they use only as an upper bound on the number of paths, which bounds the used arcs at a vertex [9, Observation 9.2] and the used arcs of the matching. Each proof replaces a subpath of a path by a shorter walk with the same ends whose arcs are unused arcs of the triple, and the path contained in this walk gives a solution with fewer arcs in total. The bound for , which they obtain by symmetry, follows from the bound for after reversing all arcs. Thus their proofs, with the number of paths in place of , give the following for ADP in every digraph.
Proposition 6.7 (Adapted from Fomin and Pilipczuk [9, Observations 9.3 to 9.6]). Let be an instance of ADP, be an -triple of with , and be a set of arcs from to witnessing that is matched to . Let be a solution of with the minimum total number of arcs. Then every path of uses at most two arcs of , at most vertices of each of and , and at most four vertices of .
We are ready to find the irrelevant vertex.
Lemma 6.8 (Adapted from Fomin and Pilipczuk [9, Theorem 9.1]). Let be a positive integer, be a non-negative integer, and . Let be an instance of ADP where is an -semiccomplete digraph on vertices, and be an -triple of with . There is an algorithm with run time that finds an irrelevant vertex for .

Figure 10. Rerouting a path through in the proof of Lemma 6.8. The subpath , drawn dashed, is replaced by the walk , where is an arc of the matching. The gray arc is another arc of the matching, and the arcs from to and from to other than and are omitted.
Proof. Choosing , , and , we have . We fix a set of arcs from to witnessing that is matched to , which we call the matching.
First, we choose . Let and be given by Lemma 6.6 applied to , and . Let be obtained in the same way from the digraph obtained from by reversing all arcs, which is -semiccomplete, so that . Thus , and we choose .
Every solution of is a solution of . Conversely, let be a solution of with the minimum total number of arcs, and let be the set of vertices used by .
Since has paths and , Proposition 6.7 applied to the matching gives and . Thus at most arcs of the matching have an endpoint in , as every vertex of is an endpoint of exactly one of them.
If no path of uses , we are done. Otherwise , and we reroute the paths through one at a time, at most times. We call a vertex taken if it belongs to or was chosen in a previous rerouting, so that every arc with an endpoint that is not taken is unused by the current solution. Each rerouting chooses at most six vertices. Thus at most vertices of are taken during a rerouting, and at most arcs of the matching have a taken endpoint.
Let be a path of the current solution that uses , and let and be the vertices before and after on , which exist since is not a terminal. We replace the subpath of by a walk from to that avoids and whose arcs are unused. The walk consists of a walk from to a vertex , the path , and a walk from to . Here is an arc of the matching, and , and are not taken. See Figure 10. The arc exists by the bound on the arcs of the matching with a taken endpoint. The arcs and exist since is complete to and is complete to .
We find as follows. If has more than out-neighbors in , then one of them, say , is not taken, and we let . Otherwise , and is not poor, as is an in-neighbor of . Thus more than vertices are not taken. For each of them, fix with such that or . If for one of them, we let and . Otherwise, since every vertex of has at most out-neighbors in , there are at least distinct vertices , and at most used arcs leave . Thus is unused for some , and we let , , and , where since is used.
Symmetrically, as , there are a vertex that is not taken and a walk from to . The walk is or , where and is unused.
The resulting walk avoids , which is taken, and its arcs are unused. Replacing on by it and taking the path contained in the result gives a solution in which no longer uses and the other paths are unchanged. After at most reroutings, no path uses , and is a yes-instance.
The run time follows from Lemma 6.6, which computes the sets and in time, and then is found in time.
6.4 The algorithm
We now prove the main result of this section. The algorithm follows the one for semicomplete digraphs [9, proof of Theorem 9.9], with the anti-triple as a new third case of each round, as shown in Figure 2.
Theorem 1.3. Let . There is an algorithm with run time that solves every instance of ADP with k paths on an h-semicomplete digraph with n vertices.
Proof. Let be the given instance, , and , so that and . We maintain a digraph obtained from by deleting vertices outside and adding arcs between non-neighbors, such that is equivalent to . Both operations preserve the property of being -semicomplete, so and are -semicomplete. We look for triples in , so that they contain no terminal. Initially , and we repeat the following round.
We first find a path decomposition of of width at most that covers the non-arcs of , an -triple of , or an -anti-triple of . If
has no vertex, then is such a path decomposition, and otherwise we run the algorithm of Lemma 6.4 with on . In the first case, let be obtained from by adding to every bag. Since the vertices of belong to every bag, is a path decomposition of of width at most that covers the non-arcs of . We run the algorithm of Lemma 6.2 on and , and we return its answer. In the second case, the -triple of is an -triple of that contains no terminal. Thus Lemma 6.8 gives an irrelevant vertex for , and we replace by . In the third case, let be the -anti-triple and and be non-neighbors. Then , as noted after Definition 6.3, so , and is equivalent to by Proposition 6.5. We replace by .
Each round but the last deletes a vertex or makes two non-neighbors adjacent, and no round creates non-neighbors. As has at most pairs of non-neighbors by Observation 3.2, there are at most rounds.
For the run time, let . Each round takes time for Lemma 6.4 and time for Lemma 6.8. As and , we have . Thus the rounds take time in total. The algorithm of Lemma 6.2 runs once, on a path decomposition of width with bags, since Lemma 6.4 outputs it within this time. This takes time for some , so the total run time is , and the result follows.
7 Cliquewidth of 1-semicomplete digraphs
In this section, we show that, unlike in semicomplete digraphs, directed pathwidth does not bound directed cliquewidth in 1-semicomplete digraphs, even acyclic ones (Theorem 1.4). Fomin and Pilipczuk [9, Lemma 2.14] show that the directed cliquewidth of a semicomplete digraph is at most its directed pathwidth plus two. The following definition of directed cliquewidth goes back to Courcelle and Olariu [6].
Definition 7.1 (Directed cliquewidth). A colored digraph is a pair where is a digraph and for some positive integer . We call the color of . A clique expression is built from the constants , where is the colored digraph with one vertex of color , using the following three operations on colored digraphs.
- The disjoint union of and with is .
– For distinct colors and , the directed join of adds to every arc with and , and keeps unchanged.
– For distinct colors and , the recoloring of gives color to every vertex of color , and keeps unchanged.
A clique expression constructs a digraph if it evaluates to for some coloring . Its width is the number of colors it uses, and the directed cliquewidth dcw of is the minimum width of a clique expression that constructs .
We introduce the following digraph, which is acyclic and 1-semicomplete but has large directed cliquewidth, see Figure 11 for .
Definition 7.2 (Mirrored grid). For a positive integer , the mirrored grid has the vertices with . We call the -th column of , and is on the -th row. We order the vertices column by column and bottom-up, that is, if , or if and . The arcs of are the pairs with , except that and are non-neighbors for all .
All arcs go forward in , so is acyclic and . Every vertex has at most one non-neighbor, namely when , so is 1-semicomplete, and the non-neighbors of the vertices of a column lie in distinct columns.

Figure 11. The mirrored grid . Dashed curves join the pairs of non-neighbors and , which are mirror images with respect to the dotted diagonal. Arcs omitted from the drawing go bottom-up inside each column and from left to right between columns.
We are ready to prove Theorem 1.4.
Theorem 1.4. For every integer , there exists an acyclic 1-semicomplete digraph, hence of directed pathwidth 0, whose directed cliquewidth is at least .
Proof. Let . Since is acyclic and 1-semicomplete, it remains to prove that . Let be a clique expression of width that constructs . For a subexpression of , let be the value of . A block of is a maximal interval of contained in . The idea of the proof is the following. Two vertices of with the same color have the same arcs to and from every vertex outside , since these arcs are created later in . In , a vertex receives arcs from the vertices before it in and sends arcs to those after it, with at most one exception. A vertex of whose non-neighbor is outside is the only vertex of not adjacent to it. So is large if meets many columns, or contains much of one column but meets few columns (Claim 7.3). One part of a minimal subexpression whose vertex set contains a column is of one of these kinds.
Claim 7.3. Let be a subexpression of and . Then is at least the number of blocks of and at least the number of vertices of with a non-neighbor outside .
Proof of the claim. First, we show that two vertices with have the same in-neighbors and out-neighbors outside . Let . Every arc between and is created by a directed join applied to a subexpression of that has as a subexpression. In each such subexpression, and have the same color, since recolorings act on whole color classes and the other operations do not change colors. Thus a directed join creates if and only if it creates , and similarly for and .
Now, let be in distinct blocks of with . By the maximality of blocks, there is with . Since has at most one non-neighbor, or is an arc. Neither nor is an arc, since all arcs go forward in . Thus and have distinct colors, and is at least the number of blocks of .
Finally, let have a non-neighbor . Since is the only non-neighbor of , every other vertex of is adjacent to , so is the only vertex of its color in , and the claim follows.
Let be a minimal subexpression of such that contains a column, say . By minimality, is the disjoint union of two subexpressions whose vertex sets contain no column, as the other operations do not change the vertex set. For one of them, say , the set contains at least vertices of . Every block of meets at most two columns, since a block that meets and with contains , and contains no column. If at least columns meet , then has at least blocks, and by Claim 7.3. Otherwise, at most columns meet , so among the at least rows with there are at least such that does not meet . For each such , we have since meets , so the non-neighbor of is not in , and by Claim 7.3. In both cases , and the result follows.
The following proposition shows that path decompositions covering the non-arcs bound the directed cliquewidth as in semicomplete digraphs. The proof for semicomplete digraphs [9, Lemma 2.14] first makes the path decomposition nice, which preserves the covering of the non-arcs as noted after Definition 3.8. It then uses semicompleteness only when a bag introduces a vertex , where it needs that is complete to the forgotten vertices; that no forgotten vertex has an arc to holds in every digraph by Proposition 3.7. By Observation 3.9, every nice path decomposition that covers the non-arcs has this property, so this proof applies without change and gives the following.
Proposition 7.4 (Adapted from Fomin and Pilipczuk [9, Lemma 2.14]). Let be a digraph and be a path decomposition of of width that covers the non-arcs of . Then .
In particular, every path decomposition of that covers its non-arcs has width at least .
References
[1] N. Alon and J. H. Spencer. The Probabilistic Method. 4th edition. Hoboken, New Jersey: Wiley, 2016.
[2] J. A. Bondy and U. S. R. Murty. Graph Theory. Volume 244. Graduate Texts in Mathematics. London: Springer, 2008. DOI: 10.1007/978-1-84628-970-5.
[3] V. Campos, R. Lopes, A. K. Maia and I. Sau. "Adapting the directed grid theorem into an FPT algorithm". In: SIAM Journal on Discrete Mathematics 36.3 (2022), pages 1887–1917. DOI: 10.1137/21M1452664.
[4] B. Courcelle. "The monadic second-order logic of graphs. I. Recognizable sets of finite graphs". In: Information and Computation 85.1 (1990), pages 12–75. DOI: 10.1016/0890-5401(90)90043-H.
[5] B. Courcelle, J. A. Makowsky and U. Rotics. "Linear Time Solvable Optimization Problems on Graphs of Bounded Clique-Width". In: Theory of Computing Systems 33.2 (2000), pages 125–150. DOI: 10.1007/s002249910009.
[6] B. Courcelle and S. Olariu. "Upper bounds to the clique width of graphs". In: Discrete Applied Mathematics 101.1–3 (2000), pages 77–114. DOI: 10.1016/S0166-218X(99)00184-5.
[7] M. Cygan, F. V. Fomin, L. Kowalik, D. Lokshtanov, D. Marx, M. Pilipczuk, M. Pilipczuk and S. Saurabh. Parameterized Algorithms. Springer, 2015. DOI: 10.1007/978-3-319-21275-3.
[8] P. Erdős and G. Szekeres. "A combinatorial problem in geometry". In: Compositio Mathematica 2 (1935), pages 463–470. URL: https://www.numdam.org/item/CM_1935_2_463_0/.
[9] F. V. Fomin and M. Pilipczuk. "On width measures and topological problems on semi-complete digraphs". In: Journal of Combinatorial Theory, Series B 138 (2019), pages 78–165. DOI: 10.1016/j.jctb.2019.01.006.
[10] S. Fortune, J. E. Hopcroft and J. Wyllie. "The Directed Subgraph Homeomorphism Problem". In: Theoretical Computer Science 10.2 (1980), pages 111–121. DOI: 10.1016/0304-3975(80)90009-2.
[11] A. O. Fradkin and P. D. Seymour. "Tournament pathwidth and topological containment". In: Journal of Combinatorial Theory, Series B 103.3 (2013), pages 374–384. DOI: 10.1016/j.jctb.2013.03.001.
[12] A. O. Fradkin and P. D. Seymour. "Edge-disjoint paths in digraphs with bounded independence number". In: Journal of Combinatorial Theory, Series B 110 (2015), pages 19–46. DOI: 10.1016/j.jctb.2014.07.002.
[13] R. Ganian, P. Hliněný, J. Kneis, A. Langer, J. Obdržálek and P. Rossmanith. "Digraph width measures in parameterized algorithms". In: Discrete Applied Mathematics 168 (2014), pages 88–107. DOI: 10.1016/j.dam.2013.10.038.
[14] R. Ganian, P. Hliněný, J. Kneis, D. Meister, J. Obdržálek, P. Rossmanith and S. Sikdar. "Are there any good digraph width measures?" In: Journal of Combinatorial Theory, Series B 116 (2016), pages 250–286. DOI: 10.1016/j.jctb.2015.09.001.
[15] R. Ganian, P. Hliněný and J. Obdržálek. "Clique-width: When Hard Does Not Mean Impossible". In: 28th International Symposium on Theoretical Aspects of Computer Science (STACS 2011). Volume 9. Leibniz International Proceedings in Informatics (LIPIcs). Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2011, pages 404–415. DOI: 10.4230/LIPIcs.STACS.2011.404.
[16] G. C. M. Gomes, R. Lopes and I. Sau. "Revisiting directed disjoint paths on tournaments (and relatives)". In: 52nd International Colloquium on Automata, Languages, and Programming (ICALP 2025). Volume 334. Leibniz International Proceedings in Informatics (LIPIcs). Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2025, 90:1–90:20. DOI: 10.4230/LIPIcs.ICALP.2025.90. Full version available at https://arxiv.org/abs/2504.19957.
[17] F. Gurski, D. Komander, C. Rehs and S. Wiederrecht. "Directed Width Parameters on Semicomplete Digraphs". In: 15th International Conference on Combinatorial Optimization and Applications (COCOA 2021). Volume 13135. Lecture Notes in Computer Science. Springer, 2021, pages 615–628. DOI: 10.1007/978-3-030-92681-6_48.
[18] T. Johnson, N. Robertson, P. D. Seymour and R. Thomas. "Directed tree-width". In: Journal of Combinatorial Theory, Series B 82.1 (2001), pages 138–154. DOI: 10.1006/jctb.2000.2031.
[19] K. Kitsunai, Y. Kobayashi and H. Tamaki. "On the Pathwidth of Almost Semicomplete Digraphs". In: 23rd Annual European Symposium on Algorithms (ESA 2015). Volume 9294. Lecture Notes in Computer Science. Springer, 2015, pages 816–827. DOI: 10.1007/978-3-662-48350-3_68.
[20] D. König. "Gráfok és mátrixok". In: Matematikai és Fizikai Lapok 38 (1931), pages 116–119.
[21] M. Lampis, G. Kaouri and V. Mitsou. "On the algorithmic effectiveness of digraph decompositions and complexity measures". In: Discrete Optimization 8.1 (2011), pages 129–138. DOI: 10.1016/j.disopt.2010.03.010.
[22] M. Pilipczuk. "Tournaments and Optimality: New Results in Parameterized Complexity". Defended November 22, 2013. PhD thesis. Bergen, Norway: University of Bergen, 2013. URL: https://hdl.handle.net/1956/7650.
[23] N. Robertson and P. D. Seymour. "Graph Minors. II. Algorithmic aspects of tree-width". In: Journal of Algorithms 7.3 (1986), pages 309–322. DOI: 10.1016/0196-6774(86)90023-4.
[24] N. Robertson and P. D. Seymour. "Graph Minors. V. Excluding a planar graph". In: Journal of Combinatorial Theory, Series B 41.1 (1986), pages 92–114. DOI: 10.1016/0095-8956(86)90030-4.
[25] N. Robertson and P. D. Seymour. "Graph Minors. XIII. The disjoint paths problem". In: Journal of Combinatorial Theory, Series B 63.1 (1995), pages 65–110. DOI: 10.1006/jctb.1995.1006.
[26] N. Robertson and P. D. Seymour. "Graph Minors. XXII. Irrelevant vertices in linkage problems". In: Journal of Combinatorial Theory, Series B 102.2 (2012), pages 530–563. DOI: 10.1016/j.jctb.2007.12.007.
[27] A. Slivkins. "Parameterized tractability of edge-disjoint paths on directed acyclic graphs". In: SIAM Journal on Discrete Mathematics 24.1 (2010), pages 146–157. DOI: 10.1137/070697781.