Multivariate Exploration of Metric Dilation
Abstract
Let be a weighted graph embedded in a metric space . The vertices of correspond to the points in , with the weight of each edge being the distance between their respective points in . The dilation (or stretch) of is defined as the minimum factor such that, for any pair of vertices , the distance between and – represented by the weight of a shortest -path – is at most . We study Dilation -Augmentation, where the objective is, given a metric , a graph , and numerical values and , to determine whether can be transformed into a graph with dilation by adding at most edges.
Our primary focus is on the scenario where the metric is the shortest path metric of an unweighted graph . Even in this specific case, Dilation -Augmentation remains computationally challenging. In particular, the problem is W[2]-hard parameterized by when is a complete graph, already for . Our main contribution lies in providing new insights into the impact of combinations of various parameters on the computational complexity of the problem. We establish the following.
-
The parameterized dichotomy of the problem with respect to dilation , when the graph is sparse: Parameterized by , the problem is FPT for graphs excluding a biclique as a subgraph for and the problem is W[1]-hard for even if is a forest consisting of disjoint stars.
-
The problem is FPT parameterized by the combined parameter , where is the maximum degree of the graph or .
Keywords and phrases:
Metric dilation, geometric spanner, fixed-parameter tractabilityFunding:
Fedor V. Fomin: Supported by the Research Council of Norway via the project BWCA (grant no. 314528).Copyright and License:
![[Uncaptioned image]](x1.png)
and Saket Saurabh; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Design and analysis of algorithmsEditors:
Olaf Beyersdorff, Michał Pilipczuk, Elaine Pimentel, and Nguyễn Kim ThắngSeries and Publisher:

1 Introduction
Consider a finite metric space , and let be a sparse weighted graph with vertices corresponding to the points in . The weights assigned to the edges of represent the distances in between their end-points. That is, the graph is embedded in a metric space . The graph is called a -spanner if, for every pair of vertices , the distance between them in is at most . The concept of spanners, introduced by Peleg and Schäffer [19], has evolved into a fundamental tool in various domains, including algorithms, distributed computing, networking, data structures and metric geometry, as highlighted in [18]. The minimum number for which is a -spanner defines the stretch or dilation of .
In their book [18, p.474, Problem 9], Narasimhan and Smid presented the problem of enhancing the dilation of a spanner by adding at most edges: Develop an efficient algorithm to identify the edges that minimize (or approximately minimize) the stretch factor of the resulting geometric graph. Formally, the problem is defined as follows.
Input: A graph embedded in a metric space and an integer .
Question: Does there exist a set of edges such that the dilation of is at most ?
The case where , was investigated by Farshi, Giannopoulos, Gudmundsson [8], Luo, Wulff-Nilsen [17], and Wulff-Nilsen [20]. However, for the more general scenario where , the problem becomes significantly more challenging and poorly understood. Giannopoulos et al. [12] and Gudmundsson and Smid [13] demonstrated that obtaining the best dilation spanner by adding edges to an empty graph is already NP-hard. Gudmundsson and Wong [14] proposed an algorithm that in time, identifies edges whose addition to results in a graph with a stretch factor within of the minimum stretch factor. Related problems have also been studied in geometric settings, e.g., Aronov et al. [1], who showed that, given a set of points in , and an integer , we can construct a geometric graph with vertex set , at most edges, maximum degree five, and dilation in time .
We approach the Dilation -Augmentation problem from the perspective of Multivariate (Parameterized) Complexity – another popular paradigm to deal with intractable problems [4, 6, 10]. The two most natural parameters associated with the problem are the size of the solution (the size of the augmented set) and the stretch factor . We are looking for an algorithm with running time or . Here, . These algorithms are called fixed-parameter tractable (FPT) algorithms. There is also an accompanying theory of W-hardness that allows us to show that problems do not admit FPT algorithms (see [4, 6, 10] for further details). The problem of finding a -spanner for a given graph is considered from the perspective of parameterized complexity in [15, 16]. Observe that, Dilation -Augmentation admits an algorithm with running time – try all possible subsets of size of as . Thus, this naturally leads to the following.
Does Dilation -Augmentation admit an FPT algorithm?
A simple result shows that, in its full generality, the problem is W[2]-hard. In fact, consider derived from an unweighted clique on vertices. That is, the vertices of the metric correspond to the vertices of , and is the length of shortest path between and in , which is . Then, for , Dilation -Augmentation corresponds to adding edges to so that the diameter of the augmented graph becomes (see Figure 1 for an illustration). This is the well-known Diameter -Augmentation problem which is known to be W[2]-hard [11]. Thus, we do not expect that Dilation -Augmentation to admit an algorithm with running time . This simple hardness result motivates the following set of questions:
-
For which metrics , does Dilation -Augmentation admit an FPT algorithm?
-
For which family of input graphs , does Dilation -Augmentation admit an FPT algorithm?
-
For which pairs of family of input graphs and metric, , does Dilation -Augmentation admit an FPT algorithm?
In this article, we specifically concentrate on the fundamental and non-trivial scenario where the metric corresponds to the shortest-path metric of an unweighted graph. Our contribution represents a substantial addition to the limited body of literature that addresses the challenging problem of Dilation -Augmentation.
1.1 Our Model, Results, and Methods
Throughout this paper, we deal with the shortest-path metric derived from an unweighted graph, unless otherwise mentioned.111Any metric can be derived from an edge weighted graph. Thus, our assumption represents a simplification. For an edge weighted graph , let denote the weighted shortest path distance in the graph between two vertices and . Additionally, we use to denote the length of the shortest path between and when we forget the edge weights. In other words, this denotes the length of the shortest path in when all edges receive weight . We will use and only when is edge weighted; otherwise, both and represent the same thing. Throughout the article, the metric will be derived from an undirected unweighted graph . That is, the vertices of the metric correspond to the vertices of , and is assigned the shortest path distance in , between and . Observe that . We will use as an instance of Dilation -Augmentation problem. Since is derived from , for ease of notation, we use instead of . Furthermore, recall that is embedded in the metric space derived from . That is, is an edge-weighted graph, where the weights assigned to the edges of represent the distances in between their end-points. That is, and denote the weighted shortest path distance in .
The starting point of our research is the result of Peleg and Schäffer [19] that Dilation -Augmentation is NP-hard for , where is an empty graph and the metric is derived from an undirected graph . So, a natural question is whether this special subcase is FPT. Starting with this question, we trace the boundaries of the Dilation -Augmentation problem by instantiating different graph families to which can belong or by instantiating different graph families to which can belong. Our results consist of the following.
-
1.
Our main algorithmic result is an FPT algorithm for Dilation -Augmentation when belongs to the family of -free graphs. Recall that a graph is -free if it does not contain a complete bipartite graph with vertices, each on both sides of the bipartition, as a subgraph. However, there is no restriction on .
We complement this result by showing that this result cannot be extended for . Indeed, we show that when is a disjoint union of a star and an independent set, and is an arbitrary graph, then Dilation -Augmentation is W[1]-hard. In a slight converse we also show that Dilation -Augmentation is W[2]-hard when is a star, and is an arbitrary graph. On the other hand, in a generalization of the latter setting when is a tree, we show that Dilation -Augmentation is polynomial-time solvable.
-
2.
Observe that for the families of stars we cannot bound the maximum degree of each graph uniformly. We show that if (resp. ) belongs to the family of graphs with a maximum degree at most and (resp. ) is an arbitrary graph, then Dilation -Augmentation admits an algorithm FPT with running time .
We complement this result by showing that this result cannot be extended for the weighted metric. That is, when belongs to the family of graphs of maximum degree and the graph is edge-weighted, then the problem becomes intractable. In fact, the edges of get weights from the two-size set . We show that Dilation -Augmentation is W[1]-hard in this case.
It is important to note that the family of -free graphs includes trees, planar graphs, graphs that exclude a fixed graph as a minor, graphs of bounded expansion, nowhere dense graphs, and graphs of bounded degeneracy.222For a formal definition of many of these graph classes, we refer to standard texts on graph theory, e.g., Diestel [5]. We refer to Table 1 for a quick reference of all the results shown in this article.
Metric () | Parameter(s) | Complexity | ||
-free | General | 2 | FPT (Section 3) | |
Star forest | General | 3 | W[1]-hard (Section 5.1) | |
General | Star | 3 | W[1]-hard (Section 5.2) | |
General | Tree | 2 | P () | |
General | Bounded degree | FPT (Section 4.1) | ||
Bounded degree | General | FPT (Section 4.2) | ||
Subcubic | -weighted | W[1]-hard () | ||
Edgeless | General | 2 | NP-hard () | |
General | Clique | 2 | W[2]-hard () |
Our algorithmic results are based on the structural interaction between and . We start by defining the notion of conflict pairs (a pair in such that ) and show that to resolve these pairs it suffices to focus on those pairs that are adjacent in (that is, ). We call them adjacent conflicts. Resolving adjacent conflict pairs is the key to our results, both algorithms and hardness.
Our main result regarding Dilation -Augmentation when is -free is given in Section 3. Our algorithm can be broadly divided into three separate phases. First, in Section 3.1 we define the notion of a conflict graph and bound the size of the minimum vertex cover in this graph using the restrictions imposed on the solution for Dilation -Augmentation in the special case of . Then, in Section 3.2, we analyze the interplay between the bounded-size vertex cover, along with the structural properties of due to the fact that it is -free, and use it to design a recursive algorithm that tries to guess a certain kind of edges that must belong to any solution in a yes-instance. At the leaves of this recursive procedure, we can upper bound the total number of vertices involved in conflicts. Nevertheless, we cannot get rid of all other vertices since they may be crucial for certain shortest paths. Finally, in Section 3.3 we bound the size of the instance by carefully eliminating a subset of conflict-free vertices, at which point we can enumerate all possible solutions. For the other two algorithmic results, we obtain a small set of that contains all the end-points of edges of the solution. The hardness results are shown via parameter preserving reductions from known W-hard problems, using classical gadget constructions. The details of the results/statements marked with can be found in the full version of the paper [2].
Notations.
Let be the set of integers . For any graph , we denote the set of vertices of by and the set of edges by . We denote the set of non-edges by , that is, , where is the set of all unordered pairs of distinct vertices in . For notational convenience, even though our edges/non-edges are undirected, we use the notation instead of – note that due to this convention, . A graph is said to be a star, if there exists a vertex such that . In this case, we say that is the center of the star. Vertices of (if any) are said to be the leaves of the star. If every connected component of a graph is a star, then we say that is a star forest.
For a graph and a subset of edges in , we use the notation to mean the graph . For a graph , a path is a sequence of distinct vertices such that for and this path is denoted by . For an undirected unweighted graph , we use to denote the length of the shortest path between and . For a graph , a vertex and an integer , denotes all vertices such that . Similarly, for a graph , a vertex subset and an integer , .
2 Conflict versus Adjacent Conflicts
Let be an instance of Dilation -Augmentation problem. Two vertices and in are in -conflict if . Furthermore, two vertices are said to be in adjacent -conflict with each other, if and are in conflict and and are adjacent in . We say that a graph is (adjacent) -conflict-free if there is no pair of vertices such that and are in (adjacent) -conflict. Throughout the discussion, the value of will be clear from the context, so we use the terms conflict/conflict-free instead of -conflict/-conflict-free. The following lemma shows the relationship between conflict-free and adjacent conflict-free.
Lemma 1 ().
For any set of edges , is conflict-free iff is adjacent conflict-free.
For our problem, we add edges to to make it conflict-free. Lemma 1 shows that for this purpose it is sufficient to focus only on adjacent conflicts. Thus, from now on, we only focus on adjacent conflicts. Unless explicitly mentioned otherwise, by conflict, we mean adjacent conflict. Nevertheless, we may use adjacent conflict at some places to emphasize the adjacent-ness of the conflict.
The next result formalizes the fact that the distances in are lower bounded by the distances in . The proof follows from definition, and hence omitted.
Observation 2.
Let be a graph embedded in a metric space derived from the undirected graph . Then for any pair of vertices and we have .
Let be a yes-instance of Dilation -Augmentation and be an (unknown) minimal solution. The set is also called dilation -augmentation set. We use to denote the set of end-points of the edges in . Let denote the set of all vertices in that are in conflict with some other vertex. In the next two sections, and will be used repeatedly.
3 Dilation -Augmentation for -free Graphs
Let be an instance of Dilation -Augmentation. In this section, we consider the case where belongs to the family of -free graphs. Recall that a graph is -free if it does not contain a complete bipartite graph with vertices each on both sides of the bipartition. However, there is no restriction on .
3.1 Conflict Graph and Vertex Cover
We first define a conflict graph on the set of vertices , which captures all adjacent conflicts. We place an edge between two vertices and in if and only if and are in adjacent conflict with each other. Note that (the set of vertices present in adjacent conflicts) is exactly the set of vertices with degree at least one in . The next result shows that every edge in intersects some edge of a dilation -augmentation set .
Lemma 3 ().
Let be a yes-instance of Dilation -Augmentation and let be a minimal solution to the given instance. In addition, let be the corresponding conflict graph. Then, for any edge , .
Lemma 3 allows us to bound the size of a minimum vertex cover (set of vertices that intersects all the edges) of . To do so, we propose the next reduction rule and prove its correctness (or safety).
Reduction Rule 1.
If the size of a maximum matching in is more than , return no.
Lemma 4 ().
Reduction Rule 1 is safe.
First, we use a polynomial-time algorithm (e.g., [7]) to find the maximum matching in and apply Reduction Rule 1. Notice that if the reduction rule 1 is not applicable, then , which implies that it has a vertex cover of size at most – in particular, we can take the set of end-points of the edges of in to be such a vertex cover, call it .
Let . Note that induces an independent set in , but not necessarily in . Next, we bound the degree of each vertex in in . This will imply that the number of conflict pairs is bounded.
The set is at most of size . For our algorithm at this stage, we “guess the edges of that have both end-points in ”. This results in an equivalent annotated instance, which is now formalized. We first define an “annotated” instance of the problem. An example of the annotated version of the problem is given by the tuple , where we also provide a vertex cover of the corresponding conflict graph, which is used mainly for book keeping purposes. The task is still to find a dilation -augmentation set of size at most . Here, we are not allowed to add an edge to a solution that does not have an end-point outside .
Let be the set of non-edges in . For every subset of size at most , we create an instance of the annotated problem, as follows: where and . The following lemma is immediate.
Lemma 5.
is a yes-instance if and only if one of the instances in is a yes-instance.
From now on, we assume that we have an annotated instance of Dilation -Augmentation. That is, is an instance of Dilation -Augmentation and we are seeking a dilation -augmentation set such that for any edge in , . That is, every edge added must contain at least one end-point that does not belong to .
3.2 Bounding the Size of the in Annotated Instances
We now describe how to solve the annotated version of the problem. As a first step, we give a recursive algorithm such that at the end we obtain instances such that the size of gets upper-bounded by a function of and alone. To this end, and to make it easier to understand, we adapt the following technical definition of [3] in the context of our problem.
Definition 6 ([3]).
A decreasing FPT-Turing-reduction is an FPT algorithm which, given an annotated instance , produces annotated instances , such that: (1) is a yes-instance iff one of the annotated instances in is a yes-instance, and (2) for every .
We now give a sequence of FPT Turing reductions to solve the problem. At a high level, we will iterate over the vertices in that have high degrees in , and at each step we will add at least one vertex from to , and at least one new edge to . Thus, in each step, the budget reduces by at least one. At least one of the resulting instances will correspond to a “correct” set of choices. Note that initially the size of is at most ; however during the sequence of Turing FPT reductions, the size of may increase. Nevertheless, we will maintain the invariant that remains bounded by .
Let us define an auxiliary function that is useful for defining some parameters in the upcoming steps. This function is defined as follows.
It is easy to verify that satisfies the following property.
Proposition 7.
For any , .
Thus, if each vertex of has at most many neighbours in in , then eventually gets bounded by . We then move to the final step described below after Corollary 16.
Now we are in the situation where there is a vertex in with at least neighbors in in . Let be such a vertex in . Let be the set of neighbours of in , where .
Reduction Rule 2.
If there is no vertex such that then we return no.
Lemma 8.
Reduction Rule 2 is safe.
Proof.
Assume that for every vertex , we have . Then, we will show that we cannot resolve all conflicts involving . Suppose is a yes-instance of Dilation -Augmentation and be a minimial solution of size at most . Since each is an adjacent conflict, we have . This implies . Therefore, the edge of that resolves the conflict must be adjacent to or or both. Fix an edge . Since is a solution to the annotated instance of the vertex , the number of paths of hop in starting at , using and ending at a vertex in is upper-bounded by . Therefore, the total number of conflicts that can be resolved by edges of the form is at most . Here, contains edges of the form . Let us now focus on the conflicts that are resolved by edges of the form , . This implies that we have paths of the form such that and . The number of paths of this kind is upper bounded by . This implies that the total number of conflicts in which participates, and can be resolved by , is bounded by .
Now, if 2 is not applicable, then there must be a vertex such that has at least neighbors in . We use to identify a small set of edges that must intersect every solution of size at most .
Lemma 9.
There exists a polynomial-time algorithm to find a set such that (1) , and (2) If we have a yes-instance, then any solution of size at most satisfies that .
Proof.
By our definition of , the vertex is in adjacent conflict with each vertex in . First, by Reduction Rule 2 and Lemma 8, we know that for a yes-instance there exists a vertex such that . We let this vertex to be . Now either , and then we are done. Else we are in the case when . Let us define .
Suppose we have inductively found a set for some . Further, inductively assume that is such that . See Figure 2 for an illustration. We prove the following crucial claim which lets us obtain the next vertex in the sequence. Its proof is along the same lines as Lemma 8.
Claim 10.
Suppose is a yes-instance of Dilation -Augmentation and be a solution of size at most . If . Then there exists a vertex such that has more than neighbours in , from .
Proof.
Assume that for every vertex , we have . Then, we will show that we cannot resolve all conflicts involving with the vertices from . Suppose is a yes-instance of Dilation -Augmentation and is a solution of size at most such that . Now we have that for each , is an adjacent conflict but . This implies . Therefore, the edge of that resolves the conflict must be adjacent to or or both. Fix an edge . Since is a solution to the annotated instance of the vertex , and (by assumption), the number of paths of hop in starting at , using and ending at a vertex in is upper-bounded by . Therefore, the total number of conflicts where that can be resolved by edges of the form where is at most . Here, contains edges of the form . Let us now focus on the conflicts that are resolved by edges of the form , . This implies that we have paths of the form such that and . The number of paths of this kind is upper bounded by . This implies that the total number of conflicts where , and can be resolved by , is bounded by , by Proposition 7. Recall that, by induction, . This contradicts that is a solution, and the claim follows.
Thus, if we find a vertex satisfying the requirements as mentioned in Claim 10, we define and proceed to the next iteration. Otherwise, if we cannot find , then we stop and output the current set as the set as required by the lemma. In this case, by Claim 10, we know that, if we have a yes-instance, then .
Suppose the iterative procedure goes on for iterations, i.e., . Observe that if then the vertex set and induce a in which contradicts the fact that is -free. Thus, , and (1) holds.
We use the algorithm in Lemma 9 to find the set of size as claimed. We know that, if we have a yes-instance, then any minimal solution contains at least one edge of the form , . The following reduction rule essentially tries to guess the set for which such edges belong to the solution, and add those vertices to the vertex cover . Further, due to our invariant, when we add to , we also need to guess the edges between and the vertices already in . The following reduction rule is a Turing reduction from the annotated version of the problem to itself – we prove later that it is a valid decreasing Turing FPT reduction step.
Reduction Rule 3.
Let be any vertex such that . For every non-empty subset , and for any subset
of non-edges in , we create the following instances. where , and .
Lemma 11.
3 is a valid decreasing FPT-Turing-reduction.
Proof.
First, note that , which implies that the number of subsets is at most . Then, for each fixed subset of size , there are at most many subset . So in total the number of instances we created is bounded by . Now we show the safeness of the 3.
Claim 12.
is a yes-instance if and only if one of the instances in is a yes-instance.
Proof.
The backward direction is trivial. In the forward direction, assume that is a yes-instance and is a minimal solution. Due to the Lemma 9 the solution must satisfy the condition that . Let , , and . Clearly and . Now considering and , we have that is a yes-instance. As is a non-empty subset of so . So in each created instance, the value of the parameter decreases by at least one. Hence the lemma follows.
Next we formalize an observation that follows from the definition of FPT-Turing -reduction.
Observation 13.
Starting from an annotated instance , let be one of the instances produced by Reduction Rule 3. Then, . In particular, this implies that the size of in any of the instances produced by a sequence of decreasing Turing FPT reductions, remains bounded by .
We keep applying Reduction Rule 3 until each vertex in has at most neighbors in in the graph . In each step, we maintain the invariant that we have included all possible solution edges within in and reduced appropriately. Observe that when Reduction Rule 3 is not applicable, the total number of vertices in the conflict is at most .
Let be an annotated instance of Dilation -Augmentation. Find a dilation -augmentation set such that . That is, every edge added must contain at least one end-point that does not belong to . In addition, and , where .
3.3 Solving Annotated Instances with bounded
In the rest of the section, we describe how to solve an annotated instance when the size of is bounded by some function of and . Note that although , we cannot completely forget about the vertices outside – since some conflicts may be resolved by using edges incident to vertices outside . We will argue that we do not need to keep all such vertices, but it suffices to keep one representative from each “equivalence class”, which we formalize below. Note that in this last step, we do not need the vertex cover .
Let denote the vertices outside . For each with , let denote the set of vertices satisfying the following two properties:
-
1.
Set of vertices such that is exactly equal to , and
-
2.
Set of vertices such that , but is exactly equal to .
We have the following observation.
Observation 14.
-
1.
forms a partition of .
-
2.
is bounded by for some computable function .
For each such that , we mark an arbitrary vertex . Let denote the set of unmarked vertices. In the following reduction rule, we eliminate all the vertices of from and , and then prove that it is correct.
Reduction Rule 4.
Given the annotated instance , produce the annotated instance , where and .
Lemma 15.
Reduction Rule 4 is safe.
Proof.
We argue that is a yes-instance if and only if is a yes-instance. The reverse direction is trivial, since any solution for is also a solution for (recall that the vertices of are not involved in any conflict). So we show the forward direction.
Let be a minimal solution of size with the set of end-points being . From this solution, we define another solution as follows. Consider any , and let , and let . First, note that – suppose not, i.e., there exists some but , then cannot be part of a path of hop length between two vertices in , which contradicts the minimality of . Now, suppose belongs to the set , then , which implies that some . We define another set . Note that . We prove that is also a solution.
Consider any path in , such that . There are three cases: (i) and . In this case, note that with , and . Further, . (ii) and is symmetric. (iii) . In this case, , and . Thus, in all three cases, path exists in , or in other words, the replaced edges incident to can resolve the same set of conflicts as the edges of . By iterating over the vertices of and modifying the solution in this way, we obtain a solution containing entirely the edges within . This completes the forward direction.
Corollary 16.
The number of vertices in the reduced annotated instance is bounded by some .
Thus, there are at most possibilities for the end-points of the solution edges. For each such subset, we can guess the actual set of at most edges in time . Thus, the total number of possibilities is bounded by for some computable function . We finish the discussion with the following theorem, and its immediate corollary.
Theorem 17.
Dilation -Augmentation can be solved in time when is a -free graph for any .
Corollary 18.
Dilation -Augmentation can be solved in time when is a forest, planar graph, bounded-treewidth graph, an -minor free graph for some fixed , a nowhere dense graph, or bounded degeneracy graph.
4 Dilation -Augmentation for Bounded Degree Graphs is FPT
In this section either is of bounded degree or is of bounded degree. Observe that a -free graph generalizes bounded-degree graphs, and thus the result when is of bounded degree may appear to be subsumed by those presented in Section 3. However, the result presented here works for any value of , but the result in Section 3 only worked for .
In either case, we will use the following easy lemma to bound the number of vertices in a ball of radius around a vertex subset of small size.
Observation 19.
Let be a graph with maximum degree . For any subset of vertices , .
4.1 is of Bounded Degree
Let be an instance of Dilation -Augmentation. In this subsection, we consider the case where belongs to the family of graphs of maximum degree at most . However, there is no restriction on . That is, is an arbitrary undirected graph. The idea of the proof is to identify a subset of vertices of of size at most such that belongs to balls of radius around them. Once the set is identified, the algorithm tries all potential solutions of size at most and returns yes, if either leads to the desired solution. The hypothetical solution is of size at most , and hence from Observation 19 we have . First, we show that the vertices of are in distance from the vertices of in .
Lemma 20 ().
Let be a yes-instance of Dilation -Augmentation. Then, .
Observe that we cannot upper bound the size of , as the size of may not be bounded by any function of and . Next, we show a kind of converse of Lemma 20 showing that, in fact, is contained inside the balls of radius around in . The proof is identical to Lemma 20 and is presented separately for clarity.
Lemma 21 ().
Let be a yes-instance of Dilation -Augmentation. Then, .
Lemma 21, along with Observation 19 implies that in a yes-instance, the size of is bounded by . Thus, if , we say no. Now assume that . Next, via Lemma 20, we have that , say. Again, by Observation 19, . We know we have to add at most edges between the vertices in to resolve all the conflicts. Since the size of is bounded by a function of , and , this leads to the following theorem.
Theorem 22.
Dilation -Augmentation can be solved in time , where denotes the maximum degree of the graph .
4.2 is of Bounded Degree
Let be an instance of Dilation -Augmentation. In this subsection, we consider the case where belongs to the family of graphs of maximum degree at most . However, there is no restriction on . The proof strategy in this section is similar to that used for Theorem 22. As before, the idea is to identify a subset of vertices of of maximum size such that belongs to balls of radius around them.
Lemma 23 ().
Let be a yes-instance of Dilation -Augmentation. Then, .
As , the next observation follows from Observation 19.
Observation 24.
.
Lemma 23 and Observation 24 together yield the following reduction rule that yields an upper bound on the size of the conflict set .
Reduction Rule 5.
If , return no.
To identify the vertices in , we show that they lie in the balls of radius around in .
Lemma 25.
Let be a yes-instance of Dilation -Augmentation and be a hypothetical minimal solution. Then, .
Proof.
Let and be an edge in containing . Due to the minimality of , for every edge in , there exist at least two vertices and such that (i) and are in conflict (again, adjacent conflict) with each other in , and (ii) appears in a shortest path of length at most between and in . Note that and may not be in conflict. We show that there exists a vertex such that is at most hop distance from the vertex in (that is, ). Let be the subpath of length between and (see Figure 3). Since is also a graph embedded in a metric space derived from the undirected graph , by Observation 2 we have .
Let be a path between and in of length . Let be the largest index such that . Since , an index always exists. Observe that for all , and are not in conflict and and are adjacent in . Therefore, there exists a path between and , , in of maximum length . Thus, by concatenating the paths , we get a walk with a weighted length at most between and in . This implies that there is a path between and in of length . That is, . Since all the edge weights in are at least , we have . This implies . From Lemma 25 and Reduction Rule 5, and Observation 19, we get the following.
Lemma 26.
Let be a yes-instance of Dilation -Augmentation. Then, .
We have to add at most edges between the vertices in to resolve all the conflicts. Since the size of is bounded by , this leads to the following theorem.
Theorem 27.
Dilation -Augmentation can be solved in time , where denotes the maximum degree of the graph .
5 Dilation -Augmentation For Forest and Stars
In this section, we focus on Dilation -Augmentation when is a forest (Section 5.1), or when is a star (Section 5.2). We show that Dilation -Augmentation is W-hard in both cases. In contrast to this, we know that Dilation -Augmentation is FPT when is a forest, due to Theorem 17.
5.1 W[1]-hardness of Dilation -Augmentation when is Forest
We sketch a polynomial-time parameter preserving reduction from the Multicolored Clique problem – which is known to be W[1]-hard [9] – to an instance of Dilation -Augmentation when is a disjoint union of a star and an independent set. The input of Multicolored Clique consists of a graph , an integer , and a partition of the vertices of ; our aim is to decide if there is a clique of size containing exactly one vertex from each set . We denote this instance by . We can assume that for each , is an independent set.
From an instance of Multicolored Clique for , we construct an instance of Dilation -Augmentation with the following way (see Figure 4).
-
For every set , we introduce a set of vertices and a set of vertices.
-
Construction of the graph :
-
1.
The vertex set in consists of vertex set where .
-
2.
The edge set of is defined by ; here , , and .
-
1.
-
The graph consists of the vertex set and the edge set .
-
We set .
It is easy to see that in the constructed instance the graph is indeed a disjoint union of a star and independent set. Also, the construction can be performed in time polynomial in and . Towards the correctness of our reduction, we prove the following.
Lemma 28.
is a yes-instance of Multicolored Clique if and only if is a yes-instance of Dilation -Augmentation.
Proof.
In the forward direction, suppose that there is a multicolored clique in . Let the set of vertices in be where and the edgeset of be . Consider the set of edges . Observe that and as for each . Next, we show that the dilation of is at most . Notice that all the edges incident to in are also present in . Hence is not involved in any adjacent conflicts. Now we consider all other pairs of adjacent vertices in , say and , and show that there exists a path between them of length at most 3 in . This suffices our proof due to Lemma 1. We argue with the following cases.
- Case (i): and .
-
There is a length path between them in itself which is precisely .
- Case (ii): and .
-
If then and are adjacent in . Otherwise, there is a length path between them in which is precisely .
- Case (iii): and .
-
If , we use two edges from . The vertices and are connected by a length path in . Suppose that . Then is a path in of length 2.
- Case (iv): and .
-
In this case, we use an edge from . The vertices and are connected by a length path in .
In the backward direction, let be a solution to the instance of Dilation -Augmentation, that means dilation of is at most . We start with the following claim.
Claim 29.
For each and every , the set contains an edge for .
Proof.
The proof is by contradiction. Suppose that there are and such that for every , . Because and , we have that and, therefore, there is such that is not incident to any edge of . Thus, any shortest -path in contains the edge and an edge for some . However, the distance between and in is 2. This implies that the length of any -path in is at least 4. Because and are adjacent in , this contradicts that the dilation of is at most 3 and proves the claim. Due to the above claim, summing over all , we have that the set contains at least edges incident to the vertices of whose second end-points are outside . Because , we have that for each , there are at least vertices of that are adjacent to exactly one edge of . For , we denote by the set of vertices incident to unique edges of . We make the following observation.
Claim 30.
For each , there is such that is incident to a single edge such that .
Proof.
Consider arbitrary . This vertex has a unique neighbor in where by Claim 29. If , the claim holds. Suppose that . Recall that . Thus, there is distinct from . In the same way as above, has a unique neighbor in where . Then any -path in contains the edges and . Since and the dilation of is at most 3, we have that the length of is one. Therefore, . This concludes the proof.
Using Claim 30, for every , we denote by the vertex of that is incident to a single edge of and we use to denote the second end-point of the edge.
Claim 31.
is a clique of .
Proof.
First, we show that for each . Consider . Note that by Claims 29 and 30 and the construction of , either or . Suppose that and consider for distinct from . We have that . Therefore, should have a -path of length at most 3. Any -path contains the edges and . Thus, a shortest -path should contain . However, since and , we have no such an edge by the construction of . This contradiction proves that .
Finally, we show that for all distinct , and are adjacent in . For this, we again observe that should have a -path of length at most 3 that includes and . This implies that . Because and , we have that is in and is an edge of . This proves the claim.
Claim 31 completes the proof of the lemma.
Hence, we have the following theorem.
Theorem 32.
Dilation -Augmentation is W[1]-hard parameterized by when is star forest.
5.2 W[1]-hardness of Dilation -Augmentation when is Star
We present a parameter preserving reduction from the Dominating Set problem.
Let be an instance of Dominating Set. We create the instance of the Dilation -Augmentation problem as follows. Graphs and are defined over the vertex sets , where is a new vertex distinct from the vertices of . is a star with center and leaves . That is, . Note that in the shortest path metric defined by , for any . We let , which implies that is a disjoint union of and the singleton vertex . Note that the weight of each edge in is . The proof of equivalence can be found in the full version.
Observation 33 ().
is an yes-instance of Dominating Set if and only if is an yes-instance of Dilation -Augmentation.
Hence we have the following theorem.
Theorem 34.
Dilation -Augmentation is W[2]-hard parameterized by even when is star.
6 Conclusion
In this article, we introduced Dilation -Augmentation and explored its multivariate complexity of the problem by restricting either the graph class to which could belong or the graph class to which could belong. Other special graph classes that one could consider include geometric intersection graphs such as interval graphs, unit-disk graphs, disk-graphs, or, more generally, string graphs. In an alternate direction, we can consider the problem in its full generality. However, as we saw, the problem in its full generality cannot admit FPT algorithm. So, a next natural question that stems from our work is exploring these problems from the perspective of FPT-approximation.
References
- [1] Boris Aronov, Mark de Berg, Otfried Cheong, Joachim Gudmundsson, Herman J. Haverkort, Michiel H. M. Smid, and Antoine Vigneron. Sparse geometric graphs with small dilation. Comput. Geom., 40(3):207–219, 2008. doi:10.1016/J.COMGEO.2007.07.004.
- [2] Aritra Banik, Fedor V. Fomin, Petr A. Golovach, Tanmay Inamdar, Satyabrata Jana, and Saket Saurabh. Multivariate exploration of metric dilation, 2025. arXiv:2501.04555.
- [3] Édouard Bonnet, Nicolas Bousquet, Stéphan Thomassé, and Rémi Watrigant. When maximum stable set can be solved in FPT time. In Pinyan Lu and Guochuan Zhang, editors, 30th International Symposium on Algorithms and Computation, ISAAC 2019, December 8-11, 2019, Shanghai University of Finance and Economics, Shanghai, China, volume 149 of LIPIcs, pages 49:1–49:22. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2019. doi:10.4230/LIPICS.ISAAC.2019.49.
- [4] Marek Cygan, Fedor V. Fomin, Lukasz Kowalik, Daniel Lokshtanov, Dániel Marx, Marcin Pilipczuk, Michal Pilipczuk, and Saket Saurabh. Parameterized Algorithms. Springer, 2015. doi:10.1007/978-3-319-21275-3.
- [5] Reinhard Diestel. Graph theory. Springer (print edition); Reinhard Diestel (eBooks), 2024.
- [6] Rodney G. Downey and Michael R. Fellows. Parameterized Complexity. Monographs in Computer Science. Springer, 1999. doi:10.1007/978-1-4612-0515-9.
- [7] Jack Edmonds. Paths, trees, and flowers. Canadian Journal of mathematics, 17:449–467, 1965.
- [8] Mohammad Farshi, Panos Giannopoulos, and Joachim Gudmundsson. Improving the stretch factor of a geometric network by edge augmentation. SIAM J. Comput., 38(1):226–240, 2008. doi:10.1137/050635675.
- [9] Michael R Fellows, Danny Hermelin, Frances Rosamond, and Stéphane Vialette. On the fixed-parameter intractability and tractability of multiple-interval graph properties. Theoretical Computer Science. v410, pages 53–61, 2007.
- [10] Jörg Flum and Martin Grohe. Parameterized Complexity Theory. Texts in Theoretical Computer Science. An EATCS Series. Springer, 2006. doi:10.1007/3-540-29953-X.
- [11] Yong Gao, Donovan R. Hare, and James Nastos. The parametric complexity of graph diameter augmentation. Discret. Appl. Math., 161(10-11):1626–1631, 2013. doi:10.1016/J.DAM.2013.01.016.
- [12] Panos Giannopoulos, Rolf Klein, Christian Knauer, Martin Kutz, and Dániel Marx. Computing geometric minimum-dilation graphs is np-hard. Int. J. Comput. Geom. Appl., 20(2):147–173, 2010. doi:10.1142/S0218195910003244.
- [13] Joachim Gudmundsson and Michiel H. M. Smid. On spanners of geometric graphs. Int. J. Found. Comput. Sci., 20(1):135–149, 2009. doi:10.1142/S0129054109006486.
- [14] Joachim Gudmundsson and Sampson Wong. Improving the dilation of a metric graph by adding edges. ACM Trans. Algorithms, 18(3):20:1–20:20, 2022. doi:10.1145/3517807.
- [15] Yusuke Kobayashi. NP-hardness and fixed-parameter tractability of the minimum spanner problem. Theor. Comput. Sci., 746:88–97, 2018. doi:10.1016/J.TCS.2018.06.031.
- [16] Yusuke Kobayashi. An FPT algorithm for minimum additive spanner problem. In 37th International Symposium on Theoretical Aspects of Computer Science, STACS 2020, March 10-13, 2020, Montpellier, France, volume 154 of LIPIcs, pages 11:1–11:16. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2020. doi:10.4230/LIPICS.STACS.2020.11.
- [17] Jun Luo and Christian Wulff-Nilsen. Computing best and worst shortcuts of graphs embedded in metric spaces. In Seok-Hee Hong, Hiroshi Nagamochi, and Takuro Fukunaga, editors, Algorithms and Computation, 19th International Symposium, ISAAC 2008, Gold Coast, Australia, December 15-17, 2008. Proceedings, volume 5369 of Lecture Notes in Computer Science, pages 764–775. Springer, 2008. doi:10.1007/978-3-540-92182-0_67.
- [18] Giri Narasimhan and Michiel Smid. Geometric spanner networks. Cambridge University Press, 2007.
- [19] David Peleg and Alejandro A. Schäffer. Graph spanners. J. Graph Theory, 13(1):99–116, 1989. doi:10.1002/JGT.3190130114.
- [20] Christian Wulff-Nilsen. Computing the dilation of edge-augmented graphs in metric spaces. Comput. Geom., 43(2):68–72, 2010. doi:10.1016/J.COMGEO.2009.03.008.