Next Article in Journal
Q8S: Emulation of Heterogeneous Kubernetes Clusters Using QEMU
Previous Article in Journal
Modelica-Based Energy Management of PEMFC Hybrid Power System of Vehicle
Previous Article in Special Issue
Geometric Methods and Computational Tools for Switching Structured Linear Systems
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

The Clique-Width of Minimal Series-Parallel Digraphs

by
Frank Gurski
1,* and
Ruzayn Quaddoura
2
1
Institute of Computer Science, Heinrich Heine University, 40225 Dusseldorf, Germany
2
Department of Computer Science, Zarqa University, Zarqa 13110, Jordan
*
Author to whom correspondence should be addressed.
Algorithms 2025, 18(6), 323; https://doi.org/10.3390/a18060323
Submission received: 28 March 2025 / Revised: 22 May 2025 / Accepted: 27 May 2025 / Published: 28 May 2025
(This article belongs to the Special Issue Graph and Hypergraph Algorithms and Applications)

Abstract

:
MSP DAGs (short for minimal series-parallel digraphs) can be defined from the single vertex graph by applying the parallel composition and series composition. We prove an upper bound of 6 for the directed clique-width of MSP DAGs and show how a directed clique-width 6-expression can be found in linear time. Our 6-expression can be used to construct an MSP DAG G from its binary decomposition tree T ( G ) in linear time. We apply our bound on the directed clique-width to conclude a number of algorithmic consequences for MSP DAGs.

1. Introduction

The clique-width of graphs and digraphs has been defined by Courcelle and Olariu [1]. Clique-width is an important graph parameter due to its algorithmic and structural properties. If the clique-width of a graph class or digraph class is bounded by a constant, a wide range of problems that are NP-complete in general have been shown to be polynomial time solvable on this class [2,3,4,5]. While there are a lot of results on the clique-width of undirected graph classes [6,7,8], there are only a few known digraph class of bounded directed clique-width. Among these are directed co-graphs [5], specific orientations of distance hereditary graphs [9], and orientations of trees [5].
In this paper we consider a directed version of undirected series-parallel graphs, which are graphs with two distinguished vertices called terminals, formed recursively by parallel and series composition ([10], Section 11.2). These graphs are interesting from a practical point of view due to their applications in modeling certain types of electric networks. Furthermore, they also play an important role in theoretical computer science, since they have tree-width at most 2 and are K 4 -minor free graphs [11]. Further, a number of graph problems are solvable in linear time on series-parallel graphs [12]. Recently, it was proven by López-Medina et al. that the clique-width of undirected series-parallel graphs on n vertices is at most 5, and an O ( n 2 ) algorithm was proposed to construct a clique-width 5-expression for this type of graph [13].
We consider minimal series-parallel digraphs (MSP DAGs) which are defined in [14] from the single vertex graph by applying the parallel composition and series composition. By ([15], Section 11.1) these graphs are useful for modeling flow diagrams and dependency charts and they have applications to scheduling under constraints. In [16] it was shown that the directed clique-width of an MSP DAG is at most 7. We prove a lower upper bound of 6 for the directed clique-width of MSP DAGs and show how a directed clique-width 6-expression can be found in linear time. Our given expression implies that every MSP DAG G can be constructed from its binary decomposition tree T ( G ) in linear time. We apply the shown bound on the directed clique-width to conclude a couple of algorithmic consequences for MSP DAGs. Since the directed clique-width occurs in the exponent of the runtimes of algorithms for interesting problems our result improves the runtime of several algorithms on MSP DAGs.

2. Preliminaries

A directed graph (or a digraph for short) G = ( V , E ) is defined by two sets. V ( G ) , or simply V, is the vertex set, and E ( G ) , or simply E, is the arc set. Every arc of E is an ordered pair of vertices of V. The number n indicates to the number of vertices of G and the number m indicates to the number of arcs of G. If ( x , y ) E then x is called a predecessor of y and y is called a successor of x. A vertex x is called a source if x has no predecessor, and is called a sink if x has no successor. Given a subset X of the vertex set V, the subgraph induced by X will be denoted by G [ X ] . A path of length k is a sequence of vertices x 1 , x 2 , , x k such that any two consecutive vertices form an arc. A path x 1 , x 2 , , x k is called a circuit if x 1 = x k and k 2 . A directed acyclic graph, denoted by DAG, is a digraph with no circuit.
Directed clique-width measures the difficulty of decomposing a digraph into a special tree-structure. The directed clique-width of digraphs has been defined by Courcelle and Olariu [1] as follows.
Definition 1 
(Directed clique-width [1]). The directed clique-width of a digraph G, d - cw ( G ) for short, is the minimum number of labels needed to define G using the following four operations:
1. 
Creation of a new vertex v with label a (denoted by a ( v ) ).
2. 
Disjoint union of two vertex-disjoint labeled digraphs G and H (denoted by G H ).
3. 
Inserting an arc from every vertex with label a to every vertex with label b ( a b , denoted by α a , b ).
4. 
Change label a into label b (denoted by ρ a b ).
An expression X built with the operations defined above using k labels is called a directed clique-width k-expression.
Example 1. 
The directed clique-width of digraph G with vertex set V ( G ) = { a , b , c , d } and arc set E ( G ) = { ( a , b ) , ( b , c ) , ( c , d ) , ( d , a ) , ( d , b ) } shown in Figure 1 is at most 3, since it can be defined by the following directed clique-width 3-expression:
α 3 , 1 ( α 2 , 3 ( 3 ( d ) ( ρ 3 2 ( ρ 2 1 ( α 2 , 3 ( 3 ( c ) ( α 1 , 2 ( 2 ( b ) 1 ( a ) ) ) ) ) ) ) ) )
Given a digraph G and an integer k, deciding whether the directed clique-width of G is at most k is NP-complete [17]. In contrast to the undirected case, there are only very few digraph classes for which we know how to compute a directed clique-width expression in polynomial time. This holds for directed co-graphs [5], digraphs of bounded directed modular width [18], and orientations of trees [5]. In order to find directed clique-width expressions for general digraphs one can use results on the related parameter bi-rank-width [19]. By ([15], Lemma 9.9.12) we can use approximate directed clique-width expressions obtained from rank-decomposition with the drawback of a single-exponential blow-up on the parameter.

3. Directed Clique-Width of Minimal Series-Parallel Digraphs (MSP DAGs)

We recall the definition of an MSP DAG which is based on [14] to be the digraph that can be constructed starting from one vertex and recursively using two fundamental operations: series composition and parallel composition.
Definition 2 
(MSP DAG [14]). An MSP DAG is defined recursively as follows:
1. 
A DAG containing only one vertex is an MSP DAG.
2. 
If G 1 and G 2 are two vertex-disjoint MSP DAGs, then the DAG constructed by each of the following two operations is also an MSP DAG:
(a) 
Parallel composition: G = G 1 P G 2 = ( V ( G 1 ) V ( G 2 ) , E ( G 1 ) E ( G 2 ) ) .
(b) 
Series composition: G = G 1 S G 2 = ( V ( G 1 ) V ( G 2 ) , E ( G 1 ) E ( G 2 ) T 1 × S 2 ) where T 1 is the set of sink vertices of G 1 and S 2 is the set of source vertices of G 2 .
An MSP DAG G can be represented by a binary decomposition tree T ( G ) that reflects the construction of G starting with its vertices using series and parallel operations as follows:
Definition 3 
(Binary decomposition tree of MSP DAGs). The binary decomposition tree T ( G ) for an MSP DAG G containing only one vertex v consists of a single node r (the root of T) labeled by v.
The binary decomposition tree T ( G ) for an MSP DAG G = G 1 P G 2 ( G = G 1 S G 2 ) consists of a copy T 1 of the binary decomposition tree for G 1 , a copy T 2 of the binary decomposition tree for G 2 , an additional node r (the root of T) labeled by P (S) and two additional edges between the roots of T 1 and T 2 and node r. The root of T 1 is the left child of r and the root of T 2 is the right child of r.
For some node u of T ( G ) we define by G [ u ] the subgraph of G defined by the subtree of T ( G ) rooted at u.
It is proven in [14] that the construction of T ( G ) when G is an MSP DAG can be completed in O ( | V ( G ) | + | E ( G ) | ) time complexity. This binary decomposition tree of an MSP DAG is the key of defining a directed clique-width expression.
Example 2. 
Figure 2 illustrates an example of an MSP DAG G and its binary decomposition tree T ( G ) .
Remark 1. 
Since MSP DAGs can define orientations of large complete bipartite graphs the underlying undirected graphs are not K 4 -minor free graphs. Thus, the underlying undirected graphs of MSP DAGs are not series-parallel graphs. Both graph classes are even incomparable. A more close relation can be shown for the set of edge series-parallel multidigraphs, ESP DAGs for short, which are also defined in [14] from the single arc graph by applying a parallel composition and a series composition. The underlying undirected graph of an ESP DAG is a series-parallel graph. Furthermore, a DAG G with a single source and a single sink is an ESP DAG if and only if its line digraph L D ( G ) is an MSP DAG [14].
Notation 1. 
In our directed clique-width expressions, we define an empty expression, denoted by ∅, to be an expression of an empty set of vertices. For any expression t, we consider that t = t , so α i , j ( t ) = α i , j ( t ) and ρ i j ( t ) = ρ i j ( t ) .
In [16] it was shown that the directed clique-width of an MSP DAG is at most 7. Next we improve this bound.
Theorem 1. 
Every MSP DAG G has directed clique-width at most 6.
Proof. 
Let G be an MSP DAG and T ( G ) be a binary decomposition tree for G. We prove that G has directed clique-width at most 6 by defining a directed clique-width 6-expression for G. We use the 6 labels for the vertices in G as follows (see Figure 3):
  • Label 1 is used for the set of non-isolated sources.
  • Label 2 is used for the set of non-isolated sinks.
  • Label 3 is used for the set of vertices being neither sources nor sinks.
  • Label 4 is used for the set of isolated vertices.
  • Label 5 is used as an auxiliary label for label 2 for the first graph when we have to distinguish the labels from two combined graphs during the arc insertion operation.
  • Label 6 is used as an auxiliary label for label 1 for the second graph when we have to distinguish the labels from two combined graphs during the arc insertion operation.
We define for every node α of T ( G ) a directed clique-width 6-expression t α which defines the subgraph G [ α ] of G defined by the subtree of T ( G ) rooted at α such that all non-isolated sources are labeled by 1, all non-isolated sinks are labeled by 2, all vertices being neither sources nor sinks are labeled by 3, and all isolated vertices are labeled by 4. For every such t α we use two subexpressions t 1 , α and t 2 , α , such that
  • t 1 , α defines the subgraph of G [ α ] given by the non-isolated vertices and
  • t 2 , α defines the subgraph of G [ α ] given by isolated vertices.
This allows us to obtain G [ α ] by t α = t 1 , α t 2 , α .
First, we distinguish between leaf vertices and inner vertices of T ( G ) :
  • Let α be a leaf of T ( G ) which represents vertex v of G. We define
    t 1 , α = t 2 , α = 4 ( v )
    For the correctness we note that t α = t 1 , α t 2 , α defines digraph G [ α ] and the single isolated vertex is labeled by 4.
  • Let α be an internal node of T ( G ) and α 1 , α 2 are respectively the left and right children of α . We will construct a directed clique-width 6-expression t α for G [ α ] using a directed clique-width 6-expression t α 1 for G [ α 1 ] and a directed clique-width 6-expression t α 2 for G [ α 2 ] . We can assume that for α 1 and α 2 we know the subexpression for the non-isolated and isolated part of G [ α 1 ] and G [ α 2 ] , such that
    t α 1 = t 1 , α 1 t 2 , α 1
    and
    t α 2 = t 1 , α 2 t 2 , α 2 .
    To illustrate our following constructions we use two digraphs G [ α 1 ] and G [ α 2 ] in Figure 4a,b. Without loss of generality, and for simplification of reading, we represented in this figure each type of vertex (non-isolated source, non-isolated sink, neither source nor sink, isolated) by a single vertex. The labeling of the vertices using labels from { 1 , , 4 } obviously fulfills our given conditions.
    To construct a directed clique-width 6-expression t α for G [ α ] we distinguish two cases according to the type of α :
    Suppose that α is a P-node. In this case, we define t α = t 1 , α t 2 , α , where
    t 1 , α = t 1 , α 1 t 1 , α 2 t 2 , α = t 2 , α 1 t 2 , α 2 .
    Figure 4c illustrates the construction of G [ α ] from the two digraphs shown in Figure 4a,b following the expressions t 1 , α and t 2 , α .
    For the correctness we note that an P-node does not insert any new arcs in the disjoint union of G [ α 1 ] and G [ α 2 ] , thus t α = t 1 , α t 2 , α defines the digraph G [ α ] . Furthermore, by the definition of t α without any relabeling and the assumptions for t α 1 and t α 2 , in G [ α ] all non-isolated sources are labeled by 1, all non-isolated sinks are labeled by 2, all vertices being neither sources nor sinks are labeled by 3, and all isolated vertices are labeled by 4.
    Hence, the expression t α = t 1 , α t 2 , α constructs digraph G [ α ] using at most 6 labels.
    Suppose that α is an S-node. In this case, we define t α = t 1 , α t 2 , α , where
    t = α 4 , 2 ( t 2 , α 1 ρ 4 2 ( t 2 , α 2 ) ) t = α 5 , 2 ( ρ 2 5 ( t 1 , α 1 ) t ) t = α 4 , 6 ( α 5 , 6 ( t ρ 1 6 ( t 1 , α 2 ) ) ) t 1 , α = ρ 6 3 ( ρ 5 3 ( ρ 4 1 ( t ) ) ) t 2 , α = .
    Figure 4d–g illustrate the construction of G [ α ] from the two digraphs shown in Figure 4a,b following the expressions t , t , t , t 1 , α , and t 2 , α .
    For the correctness, we observe that t defines the arcs from t 2 , α 1 to t 2 , α 2 , i.e. the arcs between the isolated vertices of G [ α 1 ] to the isolated vertices of G [ α 2 ] using a relabeling from 4 to 2 for those of G [ α 2 ] , since they become non-isolated sinks of G [ α ] . Next t defines the arcs from t 1 , α 1 to t 2 , α 2 , i.e. the arcs between the non-isolated sinks of G [ α 1 ] and the isolated vertices of G [ α 2 ] are inserted using a relabeling from 2 to auxiliary label 5 for the non-isolated sinks of G [ α 1 ] . Further t defines the arcs from t 1 , α 1 and t 2 , α 1 to t 1 , α 2 , i.e. the arcs from the non-isolated sinks of G [ α 1 ] and the isolated vertices of G [ α 1 ] to the non-isolated sources of G [ α 2 ] using a relabeling from 1 to auxiliary label 6 for the non-isolated sources of G [ α 2 ] . Finally in t 1 , α the relabeling from 4 to 1 ensures that the isolated vertices of G [ α 1 ] are labeled by 1 since they are non-isolated sources in G [ α ] and the auxiliary labels 5 and 6 are both changed to 3 since the non-isolated sinks of G [ α 1 ] and the non-isolated sources of G [ α 2 ] are neither sources nor sinks in G [ α ] . Expression t 2 , α is empty, since G [ α ] does not contain isolated vertices.
    Hence, the expression t α = t 1 , α t 2 , α constructs digraph G [ α ] using at most 6 labels.
By traversing T ( G ) in post-order we can calculate a directed clique-width 6-expression t α for every node α of T ( G ) by the expressions given above. Since the r root of T ( G ) represents to whole digraph G we know that G can be constructed by directed clique-width 6-expression t r and thus has directed clique-width at most 6.    □
The construction of an MSP DAG by a directed clique-width 6-expression described in the proof of Theorem 1 can be translated into a pseudo code shown in Algorithm 1. Our algorithm associates with every node α of T ( G ) two expressions t 1 ( α ) and t 2 ( α ) , where t 1 ( α ) represents the construction of the subgraph induced by the non-isolated vertices of G [ α ] and t 2 ( α ) represents the construction of the subgraph induced by the isolated vertices of G [ α ] . At most one of the expressions t 1 ( α ) and t 2 ( α ) may be empty. The labels at the end of the computation of t 1 ( α ) or t 2 ( α ) represent implicitly whether the corresponding vertices are non-isolated sources (labeled by 1), non-isolated sinks (labeled by 2), vertices that are not sources and not sinks (labeled by 3), or isolated vertices (labeled by 4) in G [ α ] . Initially, in Step 3, every vertex is labeled by 4 since the subgraph induced by a leaf of T ( G ) consists only of one isolated vertex. Step 5 determines the left child α 1 and the right child α 2 of an internal node α . Steps 7 and 8 construct the expression t 1 ( α ) and t 2 ( α ) for a P-node α to be respectively the disjoint union of t 1 ( α 1 ) , t 1 ( α 2 ) and the disjoint union of t 2 ( α 1 ) , t 2 ( α 2 ) . Steps 10–14 construct the expressions t 1 ( α ) and t 2 ( α ) for an S-node α as follows: Step 10 changes the label of isolated vertices of G [ α 2 ] from 4 to 2 and inserts all arcs from an isolated vertex of G [ α 1 ] to an isolated vertex of G [ α 2 ] ; Step 11 changes the label of non-isolated sinks of G [ α 1 ] from 2 to (auxiliary label) 5 and inserts all arcs from a non-isolated sink of G [ α 1 ] to an isolated vertex of G [ α 2 ] ; Step 12, changes the label of non-isolated sources of G [ α 2 ] from 1 to (auxiliary label) 6 and inserts all arcs from an isolated vertex of G [ α 1 ] to a non-isolated source of G [ α 2 ] and all arcs from a non-isolated sink of G [ α 1 ] to a non-isolated source of G [ α 2 ] . Step 13, changes the label of every isolated vertex of G [ α 1 ] from 4 to 1 since these vertices are non-isolated sources in G [ α ] , changes the label of every non-isolated sink of G [ α 1 ] from 5 to 3, since these vertices are neither sources nor sinks in G [ α ] , and changes the label of every non-isolated source of G [ α 2 ] from 6 to 3, since these vertices are also neither sources nor sinks in G [ α ] . The expression t 2 ( α ) must be empty because of G [ α ] is connected. Since the number of nodes in T ( G ) is O ( n ) and every step can be done in O ( 1 ) time, the total time complexity of Algorithm 1 is in O ( n ) .
Corollary 1. 
For every MSP DAG G which is given by its binary decomposition tree T ( G ) a directed clique-width 6-expression can be found in time O ( | V ( G ) | ) .
Algorithm 1 Construction directed clique-width 6-expression of an MSP DAG
Input A binary decomposition tree T ( G ) of an MSP DAG G.
Output A directed clique-width 6-expression of G.
Let α be a node on a post-order traversal of T ( G ) .
1:if   α is a leaf representing vertex v then
2:        t 1 ( α ) =
3:       t 2 ( α ) = 4 ( v )
4:else
5:       let α 1 and α 2 be respectively the left and right children of α
6:      if  α is a P-node then
7:           t 1 ( α ) = t 1 ( α 1 ) t 1 ( α 2 )
8:           t 2 ( α ) = t 2 ( α 1 ) t 2 ( α 2 )
9:      else α is an S-node
10:           E 1 = α 4 , 2 ( t 2 ( α 1 ) ρ 4 2 ( t 2 ( α 2 ) ) ) ▹ arcs from t 2 ( α 1 ) to t 2 ( α 2 )
11:           E 2 = α 5 , 2 ( ρ 2 5 ( t 1 ( α 1 ) ) E 1 ) ▹ arcs from t 1 ( α 1 ) to t 2 ( α 2 )
12:           E 3 = α 4 , 6 ( α 5 , 6 ( E 2 ρ 1 6 ( t 1 ( α 2 ) ) ) ) ▹ arcs from t 1 ( α 1 ) and t 2 ( α 1 ) to t 1 ( α 2 )
13:           t 1 ( α ) = ρ 6 3 ( ρ 5 3 ( ρ 4 1 ( E 3 ) ) ) ▹ relabeling
14:           t 2 ( α ) =  
Example 3. 
Figure 5 illustrates the application of Algorithm 1 for the digraph G and its binary decomposition tree T ( G ) shown in Figure 2. The inner nodes are visited according to a post-order traversal of T ( G ) which is defined by the symbols α i , 1 i 9 , written near every internal node of T ( G ) . Every subfigure in Figure 5 shows a digraph G [ α i ] , 1 i 9 , defined by expression t 1 ( α i ) t 2 ( α i ) of Algorithm 1. Digraph G [ α 9 ] obviously corresponds to digraph G.
Remark 2. 
A useful property of Algorithm 1 is that the number of relabelings of the vertices is bounded. A relabeling of a vertex is done if and only if the state (non-isolated source, non-isolated sink, neither source nor sink, isolated) of the vertex is changed. Since the state of a vertex can change at most twice and an auxiliary label 5 or 6 is given at most once to every vertex, every vertex changes its label at most three times.
The problem of finding a decomposition tree T ( G ) for some special graph G in polynomial time is a well studied problem. For every MSP DAG and also for every directed co-graph, a decomposition tree can be found in linear time [14,20]. The reverse direction, i.e. constructing G in linear time from T ( G ) seems to be unsolved for MSP DAGs. Our shown 6-expression allows to solve this problem.
Corollary 2. 
Every MSP DAG G can be constructed from its binary decomposition tree T ( G ) in time O ( | V ( G ) | + | E ( G ) | ) .
Proof. 
Let T ( G ) a binary decomposition tree for some MSP DAG G. By Corollary 1 from T ( G ) we can define a directed clique-width 6-expression X for G in time O ( | V ( G ) | ) .
In order to access vertices of a given label i we maintain in each node u of the 6-expression-tree (see Section 4) for X an array containing at i a pointer to a list of the vertices of label i in the digraph defined by subtree with root u for 1 i 6 . Our expression X only inserts new arcs, such that these operations use time O ( | E ( G ) | ) and by Remark 2, the number of relabelings is at most three for every vertex. Thus, G can be constructed from T ( G ) in time O ( | V ( G ) | + | E ( G ) | ) . □

4. Algorithmic Consequences

By the given definition every graph of directed clique-width at most k can be represented by a tree structure, denoted as k-expression-tree. The leaves of the k-expression-tree represent the vertices of the digraph and the inner nodes of the k-expression-tree correspond to the operations applied to the subexpressions defined by the subtrees. Using the k-expression-tree many hard problems have been shown to be solvable in polynomial time when restricted to graphs of bounded directed clique-width [4,5].
In order to show tractability for several digraph problems w.r.t. the parameter directed clique-width one can use its defineability within monadic second order logic (MSO). We restrict to MSO 1 -logic, which allows propositional logic, variables for vertices and vertex sets of digraphs, the predicate arc ( u , v ) for arcs of digraphs, and quantifications over vertices and vertex sets [21]. For defining optimization problems we refer to the LinEMSO 1 framework given in [2].
In several papers (cf. [4,19,22]) it has been shown, that all digraph problems expressible in monadic second order logic with quantifications over vertices and vertex sets ( MSO 1 -logic) are fixed parameter tractable with respect to the parameter “directed clique-width of the input graph”. Theorem 1 leads to the next result.
Corollary 3. 
Every digraph problem expressible in MSO 1 -logic can be solved in polynomial time on MSP DAGs.
Examples for problems expressible in MSO 1 -logic are the directed vertex disjoint paths problem [4] and also the arc disjoint paths problem [23].
Corollary 4. 
The directed vertex disjoint paths problem and the arc disjoint paths problem can be solved in polynomial time on MSP DAGs.
There are a lot of further problems which can be solved efficiently on graphs of bounded directed clique-width. This follows by the xp-algorithms for the problems directed Hamiltonian path, directed Hamiltonian cycle, directed cut, and regular subdigraph with respect to the parameter directed NLC-width given in [5].
Corollary 5. 
The directed Hamiltonian path problem, directed Hamiltonian cycle problem, directed cut problem, and regular subdigraph problem can be solved in polynomial time on MSP DAGs.

5. Conclusions and Outlook

We have given an improved upper bound for the directed clique-width of MSP DAGs. Since the directed clique-width occurs in the exponent of the runtimes of algorithms for interesting problems our result improves the runtime of several algorithms on MSP DAGs. Further our findings extend the few known results on digraph classes with bounded directed clique-width.
It remains to show that the improved upper bound of 6 for the directed clique-width of MSP DAGs is tight. This might be done by further characterizations of MSP DAGs or using a computer program.
In our future work we also want to analyze the structure, relation, and directed clique-width of digraph classes obtained by slight modifications of the series operation considered in this paper. Among these are connecting every source of the first digraph with every sink of the second digraph (MSP-ST DAGs, ([24], Definition 2)), connecting every source of the first digraph with every source of the second digraph (MSP-SS DAGs, ([24], Definition 5)), and connecting every sink of the first digraph with every sink of the second digraph (MSP-TT DAGs, ([24], Definition 8)).
Further, we want to analyze whether the recursive structure of MSP DAGs and the similar classes mentioned above can be used to give linear time solutions for the directed vertex disjoint paths problem and the arc disjoint paths problem in order to improve our results of Corollary 4.
As mentioned in Remark 1 the class of edge series-parallel multidigraphs defined in [14] leads to a specific orientation of (undirected) series-parallel graphs and seems also to be interesting for our further research on digraph classes on bounded directed clique-width.
Finally, in [14] only oriented graphs are considered. Therefore we want to analyze series operations which also define both possible directed edges between two vertices, i.e., so-called symmetric arcs.

Author Contributions

Conceptualization, R.Q.; methodology, R.Q.; validation, F.G.; writing—original draft preparation, R.Q.; writing—review and editing, F.G. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

No new data were created or analyzed in this study. Data sharing is not applicable to this article.

Acknowledgments

The authors thank the reviewers for their suggestions and comments that helped us to substantially improve the manuscript in the revision.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Courcelle, B.; Olariu, S. Upper bounds to the clique width of graphs. Discret. Appl. Math. 2000, 101, 77–114. [Google Scholar] [CrossRef]
  2. Courcelle, B.; Makowsky, J.; Rotics, U. Linear Time Solvable Optimization Problems on Graphs of Bounded Clique-Width. Theory Comput. Syst. 2000, 33, 125–150. [Google Scholar] [CrossRef]
  3. Espelage, W.; Gurski, F.; Wanke, E. How to solve NP-hard graph problems on clique-width bounded graphs in polynomial time. In Graph-Theoretical Concepts in Computer Science (WG), Proceedings of the 27th International Workshop, WG 2001, Boltenhagen, Germany, 14–16 June 2001; LNCS; Springer: Berlin/Heidelberg, Germany, 2001; Volume 2204, pp. 117–128. [Google Scholar]
  4. Ganian, R.; Hliněný, P.; Kneis, J.; Langer, A.; Obdrzálek, J.; Rossmanith, P. Digraph width measures in parameterized algorithmics. Discret. Appl. Math. 2014, 168, 88–107. [Google Scholar] [CrossRef]
  5. Gurski, F.; Wanke, E.; Yilmaz, E. Directed NLC-width. Theor. Comput. Sci. 2016, 616, 1–17. [Google Scholar] [CrossRef]
  6. Brandstädt, A.; Engelfriet, J.; Le, H.O.; Lozin, V. Clique-Width for Four-Vertex Forbidden Subgraphs. Theory Comput. Syst. 2006, 39, 561–590. [Google Scholar] [CrossRef]
  7. Golumbic, M.; Rotics, U. On the Clique-Width of Some Perfect Graph Classes. Int. J. Found. Comput. Sci. 2000, 11, 423–443. [Google Scholar] [CrossRef]
  8. Makowsky, J.; Rotics, U. On the Clique-width of graphs with few P4. Int. J. Found. Comput. Sci. 1999, 10, 329–348. [Google Scholar] [CrossRef]
  9. Komander, D.; Rehs, C. Twin-distance-hereditary digraphs. Theor. Comput. Sci. 2023, 968, 114009. [Google Scholar] [CrossRef]
  10. Brandstädt, A.; Le, V.; Spinrad, J. Graph Classes: A Survey; SIAM Monographs on Discrete Mathematics and Applications; SIAM: Philadelphia, PA, USA, 1999. [Google Scholar]
  11. Bodlaender, H. A partial k-arboretum of graphs with bounded treewidth. Theor. Comput. Sci. 1998, 209, 1–45. [Google Scholar] [CrossRef]
  12. Takamizawa, K.; Nishizeki, T.; Saito, N. Linear-time computability of combinatorial problems on series-parallel graphs. J. ACM 1982, 29, 623–641. [Google Scholar]
  13. López-Medina, M.; González-Ruiz, J.; Marcial-Romero, J.; Hernández, J. Computing the Clique-Width on Series-Parallel Graphs. Comput. Sist. 2022, 26, 815–822. [Google Scholar] [CrossRef]
  14. Valdes, J.; Tarjan, R.; Lawler, E. The recognition of series-parallel digraphs. SIAM J. Comput. 1982, 11, 298–313. [Google Scholar] [CrossRef]
  15. Bang-Jensen, J.; Gutin, G. (Eds.) Classes of Directed Graphs; Springer: Berlin/Heidelberg, Germany, 2018. [Google Scholar]
  16. Gurski, F.; Komander, D.; Lindemann, M. Efficient computation of the oriented chromatic number of recursively defined digraphs. Theor. Comput. Sci. 2021, 890, 16–35. [Google Scholar] [CrossRef]
  17. Fellows, M.; Rosamond, F.; Rotics, U.; Szeider, S. Clique-width is NP-complete. SIAM J. Discret. Math. 2009, 23, 909–939. [Google Scholar] [CrossRef]
  18. Steiner, R.; Wiederrecht, S. Parameterized Algorithms for Directed Modular Width. arXiv 2019, arXiv:1905.13203. [Google Scholar]
  19. Kanté, M.; Rao, M. The Rank-Width of Edge-Coloured Graphs. Theory Comput. Syst. 2013, 52, 599–644. [Google Scholar] [CrossRef]
  20. Crespelle, C.; Paul, C. Fully dynamic recognition algorithm and certificate for directed cographs. Discret. Appl. Math. 2006, 154, 1722–1741. [Google Scholar] [CrossRef]
  21. Courcelle, B.; Engelfriet, J. Graph Structure and Monadic Second-Order Logic. A Language-Theoretic Approach; Encyclopedia of Mathematics and Its Applications; Cambridge University Press: Cambridge, UK, 2012. [Google Scholar]
  22. Ganian, R.; Hliněný, P.; Obdrzálek, J. A unified approach to polynomial algorithms on graphs of bounded (bi-)rank-width. Eur. J. Comb. 2013, 34, 680–701. [Google Scholar] [CrossRef]
  23. Ganian, R.; Hliněný, P.; Obdrzálek, J. Clique-width: When hard does not mean impossible. In Proceedings of the Annual Symposium of Theoretical Aspects of Computer Science (STACS), Dortmund, Germany, 10–12 March 2011; LIPIcs. Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik: Wadern, Germany, 2011; Volume 9, pp. 404–415. [Google Scholar]
  24. Quaddoura, R. Symmetric classes of series-parallel digraphs. Int. Arab. J. Inf. Technol. 2025, 22, 217–224. [Google Scholar] [CrossRef]
Figure 1. Digraph defined by the directed clique-width 3-expression given in Example 1.
Figure 1. Digraph defined by the directed clique-width 3-expression given in Example 1.
Algorithms 18 00323 g001
Figure 2. (a) An MSP DAG G and (b) its binary decomposition tree T ( G ) .
Figure 2. (a) An MSP DAG G and (b) its binary decomposition tree T ( G ) .
Algorithms 18 00323 g002
Figure 3. Labels used in the proof of Theorem 1: Label 1 is used for the set of non-isolated sources, label 2 is used for the set of non-isolated sinks, label 3 is used for the set of vertices being neither sources nor sinks, and label 4 is used for the set of isolated vertices.
Figure 3. Labels used in the proof of Theorem 1: Label 1 is used for the set of non-isolated sources, label 2 is used for the set of non-isolated sinks, label 3 is used for the set of vertices being neither sources nor sinks, and label 4 is used for the set of isolated vertices.
Algorithms 18 00323 g003
Figure 4. Illustration of construction in the proof of Theorem 1. The indices of the vertices represent their clique-width label. (a) The subgraph G [ α 1 ] , (b) the subgraph G [ α 2 ] , (c) G [ α ] = G [ α 1 ] P G [ α 2 ] , (d) digraph defined by expression t , (e) digraph defined by expression t , (f) digraph defined by expression t , (g) G [ α ] = G [ α 1 ] S G [ α 2 ] .
Figure 4. Illustration of construction in the proof of Theorem 1. The indices of the vertices represent their clique-width label. (a) The subgraph G [ α 1 ] , (b) the subgraph G [ α 2 ] , (c) G [ α ] = G [ α 1 ] P G [ α 2 ] , (d) digraph defined by expression t , (e) digraph defined by expression t , (f) digraph defined by expression t , (g) G [ α ] = G [ α 1 ] S G [ α 2 ] .
Algorithms 18 00323 g004
Figure 5. Application of Algorithm 1 on the binary decomposition tree T ( G ) shown in Figure 2b for the MSP DAG G shown in Figure 2a. For every inner node α i of binary decomposition tree T ( G ) we give the digraph G [ α i ] defined by expression t 1 ( α i ) t 2 ( α i ) of Algorithm 1. The indices of the vertices represent their clique-width label. (a) Digraph G [ α 1 ] , (b) digraph G [ α 2 ] , (c) digraph G [ α 3 ] , (d) digraph G [ α 4 ] , (e) digraph G [ α 5 ] , (f) digraph G [ α 6 ] , (g) digraph G [ α 7 ] , (h) digraph G [ α 8 ] , and (i) digraph G [ α 9 ] .
Figure 5. Application of Algorithm 1 on the binary decomposition tree T ( G ) shown in Figure 2b for the MSP DAG G shown in Figure 2a. For every inner node α i of binary decomposition tree T ( G ) we give the digraph G [ α i ] defined by expression t 1 ( α i ) t 2 ( α i ) of Algorithm 1. The indices of the vertices represent their clique-width label. (a) Digraph G [ α 1 ] , (b) digraph G [ α 2 ] , (c) digraph G [ α 3 ] , (d) digraph G [ α 4 ] , (e) digraph G [ α 5 ] , (f) digraph G [ α 6 ] , (g) digraph G [ α 7 ] , (h) digraph G [ α 8 ] , and (i) digraph G [ α 9 ] .
Algorithms 18 00323 g005
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Gurski, F.; Quaddoura, R. The Clique-Width of Minimal Series-Parallel Digraphs. Algorithms 2025, 18, 323. https://doi.org/10.3390/a18060323

AMA Style

Gurski F, Quaddoura R. The Clique-Width of Minimal Series-Parallel Digraphs. Algorithms. 2025; 18(6):323. https://doi.org/10.3390/a18060323

Chicago/Turabian Style

Gurski, Frank, and Ruzayn Quaddoura. 2025. "The Clique-Width of Minimal Series-Parallel Digraphs" Algorithms 18, no. 6: 323. https://doi.org/10.3390/a18060323

APA Style

Gurski, F., & Quaddoura, R. (2025). The Clique-Width of Minimal Series-Parallel Digraphs. Algorithms, 18(6), 323. https://doi.org/10.3390/a18060323

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop