Abstract
We initiate the parameterized complexity study of minimum t-spanner problems on directed graphs. For a positive integer t, a multiplicative t-spanner of a (directed) graph G is a spanning subgraph H such that the distance between any two vertices in H is at most t times the distance between these vertices in G, that is, H keeps the distances in G up to the distortion (or stretch) factor t. An additive t-spanner is defined as a spanning subgraph that keeps the distances up to the additive distortion parameter t, that is, the distances in H and G differ by at most t. The task of Directed Multiplicative Spanner is, given a directed graph G with m arcs and positive integers t and k, decide whether G has a multiplicative t-spanner with at most arcs. Similarly, Directed Additive Spanner asks whether G has an additive t-spanner with at most arcs. We show that (i) Directed Multiplicative Spanner admits a polynomial kernel of size and can be solved in randomized time, (ii) the weighted variant of Directed Multiplicative Spanner can be solved in time on directed acyclic graphs, (iii) Directed Additive Spanner is -hard when parameterized by k for every fixed even when the input graphs are restricted to be directed acyclic graphs. The latter claim contrasts with the recent result of Kobayashi from STACS 2020 that the problem for undirected graphs is when parameterized by t and k.
Keywords: Graph spanners, Directed graphs, Parameterized complexity, Kernelization
Introduction
Given a (directed) graph G, a spanner is a spanning subgraph of G that approximately preserves distances between the vertices of G. Graph spanners were formally introduced by Peleg and Schäffer in [16] (see also [17]). Originally, the concept was introduced for constructing network synchronizers [17]. However, graph spanners have a plethora of theoretical and practical applications in various areas like efficient routing and fast computing of shortest paths in networks, distributed computing, robotics, computational geometry and biology. We refer to the recent survey of Ahmed et al. [1] for the introduction to graph spanners and their applications.
We are interested in the classical multiplicative and additive graph spanners in graphs. Let G be a (directed) graph. For two vertices , denotes the distance between u and v in G, that is, the number of edges (arcs, respectively, for the directed case) of a shortest (u, v)-path. Let t be a positive integer. It is said that a spanning subgraph H of G is a multiplicative t-spanner if for every two vertices , i.e., H approximates distances in G within factor t. A spanning subgraph H of G is called an additive t-spanner if for every , that is, H approximates the distances in G within the additive parameter t. The standard task in the graph spanner problems is, given an allowed distortion parameter t, find a sparsest t-spanner, i.e., a spanner with the minimum number of edges. We consider the parameterized versions of this task:
Informally, the task of these problems is to decide whether we can delete at least k edges (arcs, respectively, for the directed case) in such a way that all the distances in the resulting graph are “t-close” to the original ones.
Previous work. We refer to [1] for the comprehensive survey of the known results and mention here only those that directly concern our work. First, we point that the considered graph spanner problems are computationally hard. It was already shown by Peleg and Schäffer in [16] that deciding whether an undirected graph G has a multiplicative t-spanner with at most edges is -complete even for fixed . In fact, the problem is -complete for every fixed [2]. Moreover, for every , it is -hard to approximate the minimum number of edges of a multiplicative t-spanner within the factor for some [12]. The same complexity lower bounds for directed graphs were also shown by Cai [2] and Kortsarz [12]. Stronger inapproximability bounds were given by Elkin and Peleg [7]. Additive t-spanners for undirected graphs were introduced by Liestman and Shermer in [13, 14]. In particular, they proved in [14], that for every fixed , it is -complete to decide whether a graph G admits an additive t-spanner with at most edges. It was shown by Chlamtác et al. [4] that for every integer and any constant , there is no polynomial-time -approximation for the minimum number of edges of an additive t-spanner unless .
The aforementioned hardness results make it natural to consider these spanner problems in the parameterized complexity framework. The investigation of Multiplicative Spanner and Additive Spanner on undirected graphs was initiated by Kobayashi in [10] and [11]. In [10], it was proved that Multiplicative Spanner admits a polynomial kernel of size . For Additive Spanner, it was shown in [11] that the problem can be solved in time , that is, the problem is fixed-parameter tractable () when parameterized by k and t.
Our results. We initiate the study of Multiplicative Spanner and Additive Spanner on directed graphs and further refer to them as Directed Multiplicative Spanner and Directed Additive Spanner, respectively. We show that Directed Multiplicative Spanner admits a kernel of size . We complement this result by observing that the problem can be solved in time by a Monte Carlo algorithm with false negatives. We leave open the question whether the problem is when parameterized by k only. However we show that this is the case when the inputs are restricted to be directed acyclic graphs (DAGs). In fact, we show the more general claim for the weighted variant of the problem called Weighted Directed Multiplicative Spanner, where the input directed graph G is supplied with a weight function with positive values defining the lengths of the arcs and the distances are defined with respect to these arc lengths. Clearly, Directed Multiplicative Spanner is the special case of this problem with unit arc lengths. We show that Weighted Directed Multiplicative Spanner can be solved in on DAGs. We also observe that Directed Multiplicative Spanner is -complete on DAGs. For additive spanners, we show that the problem becomes much harder on directed graphs by showing that Directed Additive Spanner is -hard for every fixed even on DAGs.
Organization of the paper. In Section 2, we introduce basic notions used in the paper. In Section 3, we prove that Directed Multiplicative Spanner admits a polynomial kernel and sketch an algorithm. Further in this section, we show that Directed Multiplicative Spanner is -complete on DAGs and prove that Weighted Directed Multiplicative Spanner is for the parameterization by k only for this class of directed graphs. In Section 4, we show hardness for Directed Additive Spanner. We conclude in Section 5 by stating some open problems.
Preliminaries
Parameterized Complexity and Kernelization. We refer to the recent books [5, 6, 8] for the detailed introduction. In the Parameterized Complexity theory, the computational complexity is measured as a function of the input size n of a problem and an integer parameter k associated with the input. A parameterized problem is said to be fixed-parameter tractable (or ) if it can be solved in time for some function . A kernelization algorithm for a parameterized problem is a polynomial algorithm that maps each instance (I, k) of to an instance of such that
-
(i)
(I, k) is a yes-instance of if and only if is a yes-instance of , and
-
(ii)
is bounded by f(k) for a computable function .
Respectively, is a kernel and is its size. A kernel is polynomial if is polynomial. It is common to present a kernelization algorithm as a series of reduction rules. A reduction rule for a parameterized problem is an algorithm that takes an instance of the problem and computes in polynomial time another instance that is more “simple” in a certain way. A reduction rule is safe if the computed instance is equivalent to the input instance.
Graphs. Recall that an undirected graph is a pair , where V is a set of vertices and E is a set of unordered pairs of distinct vertices called edges. A directed graph is a pair, where V is a set of vertices and A is a set of ordered pairs (u, v) of distinct vertices called arcs. We say that u and v are incident to (u, v). Note we do not allow loops and multiple arcs (that are irrelevant for distances). We use V(G) and E(G) (A(G), respectively) to denote the set of vertices and the set of edges (set of arcs, respectively) of G. For a (directed) graph G and a subset of vertices, we write G[X] to denote the subgraph of G induced by X. For a set of vertices S, denotes the (directed) graph obtained by deleting the vertices of S, that is, ; for a vertex v, we write instead of . Similarly, for a set of edges (arcs, respectively) S (an edge or arc e, respectively), (, respectively) denotes the graph obtained by the deletion of the elements of S (the deletion of e, respectively). A subgraph H of a (directed) graph G is a spanning subgraph of G if . Every directed acyclic graph (DAG) G has a topological ordering of its vertex set, that is there exists such that if then . The notation denotes and denotes that either or .
We write to denote a path with the vertices and the edges (arcs , respectively); and are the end-vertices of P and we say that P is a -path. A single vertex path is trivial, and for a trivial , P is a (v, v)-path. All considered paths are assumed to be simple, that is, are distinct. The length of a path is the number of edges (arcs, respectively) in the path. Also A(P) denotes the arc set of the path P. For a (u, v)-path and a (v, w)-path , we denote by the concatenation of and . We use similar notation for walks; the difference between and a path and a walk is that, the vertices of a walk are not required to be distinct and a walk may go through the same edges (arcs, respectively) several times. Notice that the concatenation of two paths is a walk but not necessarily a path. For two vertices , denotes the distance between u and v in G, that is, the length of a shortest (u, v)-path; we assume that if there is no (u, v)-path in G. Clearly, for undirected graphs but this not always the case for directed graphs.
Let t be a positive integer. It is said that a spanning subgraph H of G is a multiplicative t-spanner if for every . A spanning subgraph H of G is called an additive t-spanner if for every .
We also consider the weighted variant of spanners for directed graph. Let G be an arc wighted directed graph, that is, we a given a weight (or length) function with positive values; we say that is the length of an arc e. The length of a weighted path is ; the length of a trivial path is zero. Then the weighted distance is the length of a shortest path with respect to the arc lengths. For real and a weighted directed graph G, it is said that a spanning subgraph H a weighted multiplicative t-spanner if for every ; note that the stretch factor t is not required to be an integer.
Directed Multiplicative t-spanners
In this section, we consider Directed Multiplicative Spanner. We show that the problem admits a polynomial kernel and then complement this result by obtaining an algorithm. Further, we consider multiplicative spanners on DAGs. We prove that Directed Multiplicative Spanner is -complete on this class of directed graphs and show that Weighted Directed Multiplicative Spanner is when parameterized by k only. These results are based on locality of multiplicative spanners in the sense of the following observation made by Peleg and Schäffer [16].
Observation 1
([16]). Let t be a positive integer (or be a real for the weighted case). A spanning subgraph H of a directed graph G is a (weighted) multiplicative t-spanner if and only if for every arc , there is a (u, v)-path in H of length at most t (t times the length of (u, v) in the weighted case).
Let t be a positive integer (or real for the weighted spanners) and let G be a directed graph. For an arc of G, we say that a (u, v)-path P is a t-detour for a if the length of P is at most t (t times the length of a in the weighted case) and P does not contain a. By Observation 1, to solve Directed Multiplicative Spanner for (G, t, k), it is necessary and sufficient to identify k arcs that have t-detours that do not contain selected arcs. Then H can be constructed by deleting these arcs. Notice that this observation holds for both unweighted and weighted spanners. However, for the weighted case, the number of arcs in a t-detour may be arbitrary and depends on the length of a.
Polynomial Kernel for Directed Multiplicative Spanner
In this subsection, we show that Directed Multiplicative Spanner admits a polynomial kernel.
Theorem 1
Directed Multiplicative Spanner has a kernel of size .
Proof
Let (G, t, k) be an instance of Directed Multiplicative Spanner. Clearly, if , then (G, t, k) is a yes-instance, and our algorithm returns a trivial yes-instance in this case. We assume from now that .
We say that is t-good if G has a t-detour for a. Let S be the set of t-good arcs. Clearly, S can be constructed in polynomial time by making use of Dijkstra’s algorithm. We follow the idea of Kobayashi [10] for constructing a polynomial kernel for undirected case and show that if S is sufficiently big, then (G, t, k) is a yes-instance of Directed Multiplicative Spanner.
Claim 1
If , then (G, t, k) is a yes-instance of Directed Multiplicative Spanner.
Proof of Claim 1
Let . For every , let be a t-detour for a.
Let . For , we iteratively construct sets of arcs such that
and sets of arcs such that and for using the following procedure. For ,
select an arbitrary set of size in ,
set .
We show by induction, that the sets and exist. Since , we conclude that of size can be selected. Assume that the sets and have been constructed for . Observe that because ,
for . Therefore,
| 1 |
Notice that
| 2 |
This means that can be selected and we can construct .
Now we select arcs for . Since , the choice of is unique. Assume that have been selected for . Then we select an arbitrary
Because and , exists.
Let . By the choice of , we have that for . From the other side, for , because and does not contain the arcs of for for by the construction of the sets . We obtain that the t-detours for do not contain any for . By Observation 1, is a multiplicative t-spanner. Therefore, (G, t, k) is a yes-instance of Directed Multiplicative Spanner.
By Claim 1, we can apply the next rule:
Reduction Rule 1
If , then return a trivial yes-instance of Directed Multiplicative Spanner and stop.
From now, we assume that .
The analog of Reduction Rule 1 is a main step of the kernelization algorithm of Kobayashi [10] for the undirected case, because it almost immediately allows to upper bound the total number of edges of the graph. However, the directed case is more complicated, since the arcs of t-detours for may be outside S contrary to the undirected case, where all the edges of t-detours are in cycles of length at most and, therefore, have t-detours themselves. We use the following procedure to mark the crucial arcs of potential detours.
Marking Procedure Let .
-
(i)
For every , find a shortest (u, v)-path P in and if the length of P is at most t, then mark the arcs of P.
-
(ii)For every ordered pair of two distinct arcs ,
- find a shortest -path in and if the length of is at most t, then mark the arcs of ,
- find a shortest -path in and if the length of is at most t, then mark the arcs of ,
- find a shortest -path in and if the length of is at most t, then mark the arcs of .
Observe that marking can be done in polynomial time by Dijkstra’s algorithm. Denote by L the set of marked arcs. Our final rule constructs the output instance.
Reduction Rule 2
Consider the graph . Delete the isolated vertices of H, and for the obtained , output .
We argue that the rule is safe.
Claim 2
(G, t, k) is a yes-instance of Directed Multiplicative Spanner if and only if is a yes-instance.
Proof of Claim 2
Suppose that (G, t, k) is a yes-instance of Directed Multiplicative Spanner. Then, by Observation 1, there are k distinct arcs with their t-detours , respectively, such that . Notice that . Consider and let .
Suppose that does not contain arcs from S. Then is a (u, v)-path in . By the first step of Marking Procedure, there is a t-detour for whose arcs are in and are marked. Then is a t-detour for in and for .
Assume that contains some arcs from S. Let be these arcs (in the path order with respect to starting from u). Note that and they are distinct from . Let for . Then can be written as the concatenation of the paths , where is the -subpath of , is the -subpath of for , and is the -subpath of ; note that some of the paths may be trivial, i.e., contain a single vertex. We allow trivial paths to make the notation for uniform. Let . If is trivial, then is a path in , because the vertices incident to the arcs of S are vertices of . Suppose that is not trivial. If , then by step (ii)(a) of Marking Procedure, there is a -path , whose arcs are in and are marked, and the length of is at most the length of . For , we have, by step (ii)(b), that there is a -path , whose arcs are in and are marked, and the length of is at most the length of . Suppose that . Then by step (ii)(c), there is a -path , whose arcs are in and are marked, and the length of is at most the length of . Consider the (u, v)-walk . We have that is a (u, v)-walk of length at most t in such that for . This implies that has a t-detour in such that for .
We obtain that for every , has a t-detour such that . By Observation 1, we conclude that is a multiplicative spanner for , that is, is a yes-instance of Directed Multiplicative Spanner.
For the opposite direction, assume that is a yes-instance of Directed Multiplicative Spanner. By Observation 1, there are k distinct arcs with their t-detours , respectively, such that . Since is a subgraph of G, have the same t-detours in G. By Observation 1, (G, t, k) is a yes-instance.
To upper bound the size of , observe that Marking Procedure marks at most t arcs for each in step (i), that is, at most |S|t arcs are marked in this step. In step (ii), we mark at most 3t arcs for each ordered pair of arcs of S. Hence, at most arcs are marked in total in the second step. Since , we have that has arcs. Because has no isolated vertices, the number of vertices is .
Since each of the reduction rules and Marking Procedure can be applied in polynomial time, we conclude that the total running time of our kernelization algorithm is polynomial.
Algorithm for Directed Multiplicative Spanner
Combining Theorem 1 with the brute-force procedure that guesses k arcs of G and verifies whether the deletion of these arcs gives a multiplicative t-spanner, we obtain the straightforward algorithm for Directed Multiplicative Spanner. If we use the intermediate steps of the kernelization algorithm, then the running time may be improved (upto some constants in the exponent) to . Namely, we can construct the set S of t-good arcs and execute Reduction Rule 1 of the kernelization algorithm. Then we either solve the problem or obtain an instance, where the set S has size at most . Then for every of size k, we check whether is a multiplicative t-spanner by computing the distances between every pair of vertices. However, we can slightly improve the parameter dependence by making use of the random separation technique proposed by Cai, Chan, and Chan in [3] (we refer to [5, Chapter 5] for the detailed introduction to the technique). In this subsection, we briefly sketch a Monte Carlo algorithm with false negatives for Directed Multiplicative Spanner.
Theorem 2
Directed Multiplicative Spanner can be solved in time by a Monte Carlo algorithm with false negatives.
Proof
Let (G, t, k) be an instance of Directed Multiplicative Spanner. If or , then the problem is trivial: if , then (G, t, k) is a yes-instance, and if and , then (G, t, k) is a no-instance. From now we assume that and .
By Observation 1, (G, t, k) is a yes-instance of Directed Multiplicative Spanner for (G, t, k) if and only if there are k arcs that have t-detours avoiding these arcs. We use random separation to distinguish the arcs that have t-detours and the arcs of the detours. We randomly color the arcs of G by two colors red and blue. An arc is colored red with probability and is colored blue with probability . Then we try to find k red arcs that have t-detours composed by blue arcs. Let R be the set of arcs colored red and let B the set of blue arcs. For , it can be checked in polynomial time whether (u, v) has a t-detour with blue arcs by finding the distance between u and v in . Then we greedily construct the set S of all red arcs with blue t-detours. If , then we conclude that (G, t, k) is a yes-instance by Observation 1.
Suppose that (G, t, k) is a yes-instance of Directed Multiplicative Spanner. Then by Observation 1, there are k distinct arcs and their t-detours , respectively, such that . Notice that . Then the probability that the considered random coloring colors the arcs red is and the probability that the arcs of L are colored blue is at least . We have that
Therefore, the probability that the arcs are red and their t-detours are blue is at least . Respectively, the probability that the random coloring fails to color the arcs red and their t-detours blue is at most . This implies that if we iterate our algorithm for colorings, then we either find a solution and stop or we conclude that (G, t, k) is a no-instance with the mistake probability at most . This gives us a Monte Carlo algorithm with running time .
The same approach can be used for undirected graphs and it can be shown that Multiplicative Spanner can be solved by a Monte Carlo algorithm with false negatives in time. This improves the running time given in [10] at the cost of randomization.
The algorithm from Theorem 2 can be derandomized by using universal sets [15] instead of random colorings (see also [5, Chapter 5]). However, this leads to an algorithm with worst running time that is not better than .
Directed Multiplicative Spanners on Acyclic Graphs
In this section, we show that Weighted Directed Multiplicative Spanner is on DAGs when parameterized by k only. Formally, the problem is stated as follows: 
Multiplicative Spanner is know to be -complete for restricted graph families. However, we are not aware of hardness results for the directed variants of the problem on DAGs. Hence, we begin with showing that Directed Multiplicative Spanner and Weighted Directed Multiplicative Spanner are -hard on DAGs. As we are mainly interested in Parameterized Complexity, we do not try to push down the value of t for which Directed Multiplicative Spanner becomes -hard.
Theorem 3
Directed Multiplicative Spanner is -complete for every on DAGs. Moreover, Weighted Directed Multiplicative Spanner is -hard for every when the input is restricted to DAGs.
Proof
We show the theorem for Directed Multiplicative Spanner and then explain how to modify the reduction for Weighted Directed Multiplicative Spanner. We reduce from the Independent Set problem that is well-known to be -complete [9]. Given a graph G and a positive integer k, the problem asks whether G has an independent set of size at least k.
Let (G, k) be an instance of Independent Set and let be an integer. Denote by the vertices of G and denote .
For every , construct two vertices , an arc , and then construct a directed -path of length .
- For every such that , do the following:
- construct a vertex and arcs and ,
- construct vertices and vertices ,
- for every , construct arcs , , and , and set .
Denote the obtained directed graph by D (see Figure 1). Clearly, D is a DAG. To complete the reduction, we set . Let also .
Fig. 1.

Construction of D for
We claim that (G, k) is a yes-instance of Independent Set if and only if is a yes-instance of Directed Multiplicative Spanner.
For the forward direction, assume that is an independent set of G. Consider
Observe that . We show that is a multiplicative t-spanner. For this, observe that every arc of S has a t-detour with its arcs in H. For every , the path is a t-detour for . Consider an arbitrary arc . Then for some indices such that and some . Because X is an independent set, either or . In the first case, has length t and, therefore, is a t-detour for a. Symmetrically, is a t-detour if . We conclude that every arc of S has a t-detour in H. Hence, H is a multiplicative t-spanner by Observation 1.
For the opposite direction, assume that H is a multiplicative t-spanner of D with at most arcs. Let . Recall that every arc of S should have a t-detour in D by Observation 1. Then our construction implies that , because only these arcs have detours. Let . Because , . Let for some . We show that is an independent set of G. For the sake of contradiction, assume that and are adjacent in G for some . Consider an arc for arbitrary . Notice that every -path P in D avoiding contains the arcs and , the paths and , and some -path Q. Clearly, the length of Q is at least 2. Then the length of P is at least , because . This implies that . Then and . Since , we obtain that ; a contradiction. This proves that X is an independent set of G and concludes the proof of the theorem for Directed Multiplicative Spanner.
For the second claim, we modify the above reduction. Let (G, k) be an instance of Independent Set and let . We construct the instance of Weighted Directed Multiplicative Spanner as follows. First, we construct D for and define exactly in the same way as above. Then we define the weight function :
Then by the essentially the same arguments as above, one can show that (G, k) is a yes-instance of Independent Set if and only if is a yes-instance of Weighted Directed Multiplicative Spanner.
Now we show the main claim of the subsection that Weighted Directed Multiplicative Spanner is on DAGs when parameterized by k only.
Theorem 4
Weighted Directed Multiplicative Spanner can be solved in time on DAGs.
Proof
Let be an instance of Weighted Directed Multiplicative Spanner. Consider the set S of arcs of G having t-detours. For every , denote by an arbitrary t-detour for a.
Let be distinct arcs, and let and . Assume that G has a path P such that . We claim that and . To show this, assume that occurs in P before . Then with respect to an arbitrary topological ordering of the vertices of D. Suppose that . Then has the -subpath Q. However, this contradict that . Symmetrically, if , then has the -subpath contradicting that . This proves the claim.
Using the above claim, we now show that if , then is a yes-instance. If there exists an arc such that the set contains at least k arcs, then is a multiplicative t-spanner by Observation 1. Indeed, because the arcs of are on the same path , the detours for do not contain any arc of from the previous claim. In the other case, for every . Clearly, for every . Then because , we can greedily select k distinct arcs such that the sets for are disjoint. We choose arbitrarily. Let and assume that are selected. Because and for every , we have that . Then we arbitrary choose . This way we construct . Then we conclude that is a multiplicative t-spanner from Observation 1.
This leads to the following algorithm for Weighted Directed Multiplicative Spanner. First, we construct S. Clearly, it can be done in polynomial time by Dijkstra’s algorithm. If , then we return the answer yes. Otherwise, we consider all subsets of size k, and for each R, we check whether is a multiplicative t-spanner. This can be done by making use of Observation 1 and the Dijkstra’s algorithm. The algorithm returns yes if is a multiplicative t-spanner. We return no if we fail to find a spanner this way. Since there are at most sets R, the algorithm runs in time. This concludes the proof.
Note that unlike Directed Multiplicative Spanner, the arguments of Theorem 4 do not yield a kernel because even though the weight of t-detours of the arcs of S is bounded, their lengths could be very long because the weights are real numbers.
Directed Additive t-spanners
In this section, we consider Directed Additive Spanner and show that the problem is hard on DAGs for every .
Theorem 5
Directed Additive Spanner is -hard on DAGs when parameterized by k for every .
Proof
We reduce from the Independent Set problem. Recall that, given a graph G and a positive integer k, the problem asks whether G has an independent set of size at least k. Independent Set parameterized k is well-known to be one of the basic -complete problems (see [5, 6]).
Let (G, k) be an instance of Independent Set and let t be a positive integer. Denote by the vertices of G.
For every , construct two vertices , an arc , and then construct a directed -path of length .
- For every such that , do the following:
- if , then construct a directed -path of length ,
- if , then construct a directed -path of length .
Denote the obtained directed graph by D (see Figure 2). It is straightforward to verify that D is a DAG. We show that (G, k) is a yes-instance of Independent Set if and only if (D, t, k) is a yes-instance of Directed Additive Spanner.
Fig. 2.
Construction of D for
Suppose that is an independent set of size k in G. Let . We show that is an additive t-spanner for D.
We first claim that for every two vertices u and w of D, each shortest (u, w)-path in D contains at most one arc of S. The proof is by contradiction. Assume that there are and a shortest (u, w)-path P such that P contains at least two arcs of S. Let and be such arcs and let . By the construction, occurs before in P. Since the arcs of S correspond to vertices of the independent set I, and are not adjacent in G. Therefore, D contains the -path of length . Since P is a shortest path containing and , the -subpath of P should have length at most . However, by the construction, the distance between and is at least ; a contradiction proving the claim.
Now let u and w be two vertices of D. Let P be a shortest (u, w)-path in D. If P is a path in , then . Suppose that P is not a path in . Then P contains a unique arc by the proved claim. Let be the -subpath of P and let be the -subpath. Let . Observe that is a path in . Since the length of is the length of P plus the length of , that is, , . This implies that is an additive t-spanner of D.
Now we assume that (D, t, k) is a yes-instance of Directed Additive Spanner. Then there is a set of k arcs such that is an additive t-spanner. Observe that if , then D has an (u, v)-path P that does not use the arc (u, v). Otherwise, and . Therefore, . Let . We claim that is an independent set of G. Assume, for the sake of contradiction, that this is not the case and there are such that and are adjacent in G. Let . Consider the vertices and of D. Since , is an -path of length , that is, . The path has length and is a path in . Any other -path in uses at least two paths of length : one of the paths and for some such that , and one of the paths and for some such that . This means that contradicting that is an additive t-spanner. We conclude that I is an independent set of G and, therefore, (G, k) is a yes-instance of Independent Set.
Conclusion
We proved that Directed Multiplicative Spanner admits a kernel of size and can be solved in randomized time. We also demonstrated that (Weighted) Directed Multiplicative Spanner is -complete on DAGs and can be solved in on this class of directed graphs. This leads to the question whether Multiplicative Spanner is FPT on general graphs when parameterized by k only for both undirected and directed cases. Also, is the weighted version of Multiplicative Spanner when parameterized by k and t on general graphs? Again, this question is open for both undirected and directed graphs.
Further we proved that Directed Additive Spanner is -hard for every fixed even if the input graphs are restricted to DAGs. This result leads to the question whether Directed Additive Spanner is tractable on some special classes of directed graphs, like planar directed graphs. We believe that this problem may be interesting even if the distortion parameter t is assumed to be a constant.
Another possible direction of research is considering different types of directed graph spanners. For example, what can be said about the roundtrips spanners introduced by Roditty, Thorup, and Zwick [18]? A spanning subgraph H of a directed graph G is a multiplicative t-roundtrip-spanner if for every two vertices u and v, , that is, H approximates the sum of the distances between any two vertices in both directions. Is the analog of Directed Multiplicative Spanner for roundtrip spanners ? Notice that we cannot use Observation 1 that is crucial for our results for the new problem. Consider, for example, the directed graph G constructed as follows: construct two vertices u and v and an arc (u, v), and then add a (u, v)-path and a (v, u)-path of arbitrary length that are internally vertex disjoint. Then it is easy to see that is a 2-roundtrip spanner for G. However, H has no short detour for (u, v). It is also possible to define additive t-roundtrip-spanners and consider the analog of Directed Additive Spanner. We conjecture that this problem is at least as hard as Directed Additive Spanner.
Acknowledgements
The research received funding from European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (grant no. 819416), Swarnajayanti Fellowship grant DST/SJF/MSA-01/2017-18, and the Research Council of Norway via the project BWCA (grant no. 314528).
Funding
Open access funding provided by University of Bergen (incl Haukeland University Hospital).
Footnotes
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Contributor Information
Fedor V. Fomin, Email: Fedor.Fomin@uib.no
Petr A. Golovach, Email: Petr.Golovach@uib.no
Pranabendu Misra, Email: pmisra@mpi-inf.mpg.de.
Saket Saurabh, Email: saket@imsc.res.in.
Roohani Sharma, Email: rsharma@mpi-inf.mpg.de.
References
- 1.Ahmed AR, Bodwin G, Sahneh FD, Hamm K, Jebelli MJL, Kobourov SG, Spence R. Graph spanners: A tutorial review. Comput. Sci. Rev. 2020;37:100–252. doi: 10.1016/j.cosrev.2020.100253. [DOI] [Google Scholar]
- 2.Cai L. NP-completeness of minimum spanner problems. Discret. Appl. Math. 1994;48(2):187–194. doi: 10.1016/0166-218X(94)90073-6. [DOI] [Google Scholar]
- 3.Cai, L., Chan, S.M., Chan, S.O.: Random separation: A new method for solving fixed-cardinality optimization problems. In: Parameterized and Exact Computation, Second International Workshop, IWPEC 2006, Zürich, Switzerland, September 13-15, 2006, Proceedings. Lecture Notes in Computer Science, vol. 4169, pp. 239–250. Springer, Heidelberg (2006). 10.1007/11847250_22
- 4.Chlamtác, E., Dinitz, M., Kortsarz, G., Laekhanukit, B.: Approximating spanners and directed steiner forest: Upper and lower bounds. In: Proceedings of the Twenty-Eighth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2017, Barcelona, Spain, Hotel Porta Fira, January 16-19, pp. 534–553. SIAM (2017). 10.1137/1.9781611974782.34
- 5.Cygan, M., Fomin, F.V., Kowalik, L., Lokshtanov, D., Marx, D., Pilipczuk, M., Pilipczuk, M., Saurabh, S.: Parameterized Algorithms. Springer (2015). 10.1007/978-3-319-21275-3
- 6.Downey RG, Fellows MR. Fundamentals of parameterized complexity. Texts in computer science. Heidelberg: Springer; 2013. [Google Scholar]
- 7.Elkin M, Peleg D. The hardness of approximating spanner problems. Theory Comput. Syst. 2007;41(4):691–729. doi: 10.1007/s00224-006-1266-2. [DOI] [Google Scholar]
- 8.Fomin FV, Lokshtanov D, Saurabh S, Zehavi M. Kernelization: Theory of parameterized preprocessing. Cambridge: Cambridge University Press; 2019. p. 515. [Google Scholar]
- 9.Garey MR, Johnson DS. Computers and intractability: A guide to the theory of NP-completeness. United States: W. H. Freeman & Co.; 1979. [Google Scholar]
- 10.Kobayashi Y. NP-hardness and fixed-parameter tractability of the minimum spanner problem. Theor. Comput. Sci. 2018;746:88–97. doi: 10.1016/j.tcs.2018.06.031. [DOI] [Google Scholar]
- 11.Kobayashi, Y.: An FPT algorithm for minimum additive spanner problem. In: Paul, C., Bläser, M. (eds.) 37th International Symposium on Theoretical Aspects of Computer Science, STACS 2020, March 10-13, 2020, Montpellier, France. LIPIcs, vol. 154, pp. 11–11116. Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2020). 10.4230/LIPIcs.STACS.2020.11
- 12.Kortsarz G. On the hardness of approximating spanners. Algorithmica. 2001;30(3):432–450. doi: 10.1007/s00453-001-0021-y. [DOI] [Google Scholar]
- 13.Liestman AL, Shermer TC. Additive spanners for hypercubes. Parallel Process. Lett. 1991;1:35–42. doi: 10.1142/S0129626491000197. [DOI] [Google Scholar]
- 14.Liestman AL, Shermer TC. Additive graph spanners. Networks. 1993;23(4):343–363. doi: 10.1002/net.3230230417. [DOI] [Google Scholar]
- 15.Naor, M., Schulman, L.J., Srinivasan, A.: Splitters and near-optimal derandomization. In: 36th Annual Symposium on Foundations of Computer Science, Milwaukee, Wisconsin, USA, 23-25 October 1995, pp. 182–191. IEEE Computer Society (1995). 10.1109/SFCS.1995.492475
- 16.Peleg D, Schäffer AA. Graph spanners. J. Graph Theor. 1989;13(1):99–116. doi: 10.1002/jgt.3190130114. [DOI] [Google Scholar]
- 17.Peleg D, Ullman JD. An optimal synchronizer for the hypercube. SIAM J. Comput. 1989;18(4):740–747. doi: 10.1137/0218050. [DOI] [Google Scholar]
- 18.Roditty L, Thorup M, Zwick U. Roundtrip spanners and roundtrip routing in directed graphs. ACM Trans. Algorithms. 2008;4(3):29–12917. doi: 10.1145/1367064.1367069. [DOI] [Google Scholar]


