Tree-Like Shortcuttings of Trees
Abstract
Sparse shortcuttings of trees – equivalently, sparse 1-spanners for tree metrics with bounded hop-diameter – have been studied extensively (under different names and settings), since the pioneering works of [24, 14, 2, 7], initially motivated by applications to range queries, online tree product, and MST verification, to name a few. These constructions were also lifted from trees to other graph families using known low-distortion embedding results. The works of [24, 14, 2, 7] establish a tight tradeoff between hop-diameter and sparsity (or average degree) for tree shortcuttings and imply constant-hop shortcuttings for -node trees with sparsity . Despite their small sparsity, all known constant-hop shortcuttings contain dense subgraphs (of sparsity ), which is a significant drawback for many applications.
We initiate a systematic study of constant-hop tree shortcuttings that are “tree-like”. We focus on two well-studied graph parameters that measure how far a graph is from a tree: arboricity and treewidth. Our contribution is twofold.
-
New upper and lower bounds for tree-like shortcuttings of trees, including an optimal tradeoff between hop-diameter and treewidth for all hop-diameter up to . We also provide a lower bound for larger values of , which together yield for all values of hop-diameter, resolving an open question of [16, 19].
-
Applications of these bounds, focusing on low-dimensional Euclidean and doubling metrics. A seminal work of Arya et al. [4] presented a -spanner with constant hop-diameter and sparsity , but with large arboricity. We show that constant hop-diameter is sufficient to achieve arboricity . Furthermore, we present a -stretch routing scheme in the fixed-port model with 3 hops and a local memory of bits, resolving an open question of [18].
Keywords and phrases:
spanner, tree shortcutting, arboricity, treewidthFunding:
Hung Le: Supported by NSF grant CCF-2517033 and NSF CAREER Award CCF-2237288.Copyright and License:
2012 ACM Subject Classification:
Theory of computation Sparsification and spannersEditors:
Hee-Kap Ahn, Michael Hoffmann, and Amir NayyeriSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
Given a tree and an integer , a tree shortcutting of with hop-diameter is a graph such that for every two vertices , there is a path in consisting of at most edges such that , where represents the distance between and in . The problem of constructing sparse tree shortcuttings with small hop-diameter has been studied extensively (under different names and settings) since the pioneering works of [24, 14, 2, 7]. The optimal tradeoff is hop-diameter with edges, where is a very slowly-growing inverse Ackermann function, , , , etc.111Throughout the paper, we use . (See the full version of the paper for a formal definition.)
Tree shortcutting has many applications, for example, finding max-flow [23], MST verification [23], maintaining MST under edge weight increases [23], computing semigroup product along paths and trees [24, 2], to name a few. In these applications, the shortcut graph serves as a compact data structure where determines the query time, and the number of edges is the space. Tree shortcutting is a key subroutine in constructing low-hop -spanners for Euclidean [4, 22, 21] and doubling metrics [9, 18]. (See Section 2 for a formal definition.)
The fundamental drawback of sparse tree shortcuttings is that they are not uniformly-sparse – all of the aforementioned tree shortcutting constructions contain subgraphs with average degree of for and for . As increases, the (global) sparsity of the shortcutting reduces substantially, but the uniform sparsity remains . Motivated by this, we initiate a systematic study of low-hop tree shortcuttings that are “tree-like”. In particular, we are interested in two notions that capture uniform sparsity: treewidth and arboricity. (See Section 2 for formal definitions.)
Low-treewidth shortcutting.
Low-treewidth shortcutting was introduced in the context of low-treewidth embedding of planar metrics. Specifically, Filtser and Le [16] showed that if one can construct a tree shortcutting with hop-diameter and treewidth , then one obtains an embedding of planar metrics into graphs of treewidth and additive distortion , where is the diameter of the input metric. They constructed a tree shortcutting with hop-diameter and treewidth , and hence obtained an embedding with treewidth . This bound does not seem to be optimal – other works [17, 11] used different embedding techniques to remove the dependency on but at the cost of a (much) higher dependency on . If one can construct a shortcutting with hop-diameter and treewidth (which matches the sparsity bound), then one gets an embedding of planar metrics with treewidth , which is almost as good as . The linear dependency on is optimal [16], whereas the other embedding techniques [17, 11] have an inherent barrier. Motivated by this observation, Filtser and Le [16] asked:
Question 1 ([19, 16]).
Is there a tree shortcutting with treewidth and hop-diameter such that ? Furthermore, is it possible for to approach ?
In this work, we seek to answer a broader question: What is the exact tradeoff between the hop-diameter and the treewidth of tree shortcuttings? Understanding the full tradeoff would not only answer Question 1 but could also be useful for other applications that require a different hop-diameter. Specifically, in this paper, we use our construction for to resolve an open problem posed by Kahalon et al. [18] regarding compact routing schemes.
Low-arboricity shortcutting.
Given a set of points in an Euclidean (or doubling) space of dimension , one can construct a sparse -spanner with a small hop-diameter. This is achieved via tree covers. (See Section 2 for a definition.) Known tree cover constructions for Euclidean and doubling metrics achieve stretch using trees [4, 5, 12]. By constructing a -hop shortcutting for each tree in the cover , the union is a -hop -spanner. For a constant and , the sparsity is only times worse than the sparsity of the shortcuttings, which is . However, if has low treewidth for every tree , the union might have a very large treewidth. A recent work on low-treewidth Euclidean spanners by Buchin, Rehs, and Scheele [8] showed that treewidth- spanners must have stretch . That is, if the stretch is , the treewidth has to be very large: .
While the treewidth grows substantially under taking union, the arboricity does not: if has arboricity at most for every , then has arboricity , which is for constant and . This makes arboricity an appealing tree-like measure. Specifically, one could hope to construct a low-arboricity Euclidean (or doubling) -spanner with small hop-diameter using low-arboricity tree shortcuttings.
1.1 Our contribution
Our key conceptual contribution is in identifying the power of tree-like shortcuttings of trees, in particular in the regime of very small hop-diameter. We employ the low-treewidth construction with hop-diameter 3 to improve the state-of-the-art on low-hop compact routing schemes in tree and doubling metrics. Using the low-arboricity shortcuttings, we devise a -spanner with arboricity and hop-diameter 6 for doubling metrics. We also fully resolve Question 1 in the negative, which is our main technical contribution.
Treewidth.
Our main technical contribution is a lower bound on the treewidth of tree shortcuttings for any hop-diameter , which holds even when the underlying graph is a path. This result fully resolves Question 1 in the negative.
Theorem 2.
For every , every shortcutting with hop-diameter for an -point path must have treewidth:
-
for even and for odd , whenever ;
-
whenever .
Specifically, Theorem 2 implies that , and therefore, the artificially looking upper bound by Filtser and Le [16] is indeed optimal.
We prove Theorem 2 by constructing a large clique minor in any given shortcutting with hop-diameter . Such a clique minor is a certificate that the treewidth of is at least . Our lower bound instance is an -vertex path, and the proof is by induction on . We observe that when , shortcutting contains the clique as a minor. For a higher even value of , we use the induction hypothesis for . We divide the path into equally sized subpaths and consider two cases. If there is a subpath where every vertex has an edge going out of it, we can readily construct a large minor using this subpath. Otherwise, each subpath has at least one vertex without an edge going out of . This allows us to use the induction hypothesis for on a graph obtained by contracting each subpath into a single vertex. The argument for odd values of is analogous. Although the method of constructing the minor is simple to describe, the analysis is much more intricate, specifically handling the dependency between and in the recurrences. See Section 3 for details.
We also give an upper bound construction that matches the lower bound when , which arguably is the most interesting regime. Our construction is a rather natural adaptation of the known result by Filtser and Le [16]. The difference is that when we shortcut a set of “cut vertices” recursively, we set the hop bound to be . This requires some technical work; the proofs are deferred to the full version. The following theorem summarizes the construction.
Theorem 3.
For every and every , every -vertex tree admits a shortcutting with hop-diameter and treewidth for even and for odd .
In Section 5, we use this construction to devise a 3-hop routing scheme for tree metrics with stretch 1 and bits per vertex. This answers the open question from [18]: “Whether or not one can use a spanner of larger (sublogarithmic and preferably constant) hop-diameter for designing compact routing schemes with bits is left here as an intriguing open question.” In the full version of the paper, we prove that the bound is tight. Using tree covers, we obtain a 3-hop routing scheme with stretch that uses bits per vertex for every -point metric with doubling dimension . (See Section 5.)
Theorem 4.
For every and every -point metric with doubling dimension , there is a 3-hop routing scheme with stretch that uses bits per vertex.
This provides the first routing scheme in Euclidean and doubling metrics, where the number of hops is , and the labels consist of bits.
Arboricity.
In Section 4 we focus on low-arboricity shortcuttings. We show how to construct shortcuttings of hierarchically separated trees (HSTs) where the arboricity grows proportionally to an inverse Ackermann function.
Our starting point is a sparse shortcutting of an -vertex path. We use the well-known fact about arboricity – if the edges of a given graph can be oriented so that the in-degree is bounded by , then the arboricity is at most . Our key observation is that one can split every edge of a sparse shortcutting into two edges and in order to reduce the in-degrees of and . By carefully choosing vertex for every edge , we show that the arboricity can be bounded by when the hop-diameter is . Roughly speaking, we achieve the same sparsity bound with a twice as large hop-diameter, which is the consequence of splitting each edge into two. Our construction for paths is then readily applicable to HSTs. Using the known HST cover [15], we obtain the following theorem. See Section 4 for details.
Theorem 5.
Let be an even integer and let be an arbitrary parameter. Then, for every positive integer , every -point metric with doubling dimension admits a -spanner with hop-diameter and arboricity .
This significantly strengthens the construction of Arya et al. [4], by providing a uniformly sparse (rather than just sparse) construction with constant hop-diameter: For hop-diameter , we transition from sparsity to arboricity . In particular, we get arboricity with a hop-diameter of 6. Recall that, in contrast to arboricity, one cannot achieve similar dependencies on the treewidth.
For general trees, we obtain a -hop shortcutting with arboricity . While the arboricity is larger than that of ultrametrics (cf. Lemma 16), it is smaller than the treewidth in Theorem 3 by about a factor of (at a cost of some slack to the exponent of ). Specifically, when , the arboricity is , while the treewidth is . Using this result and the known tree cover constructions [10, 11, 5, 20], we obtain low-hop spanners for planar, minor-free, and general metrics with small arboricity. See the full version for details.
2 Preliminaries
Treewidth.
A tree decomposition of is a tree where each node is associated with a subset of called a bag. The bags satisfy: (i) , (ii) for every vertex , the collection of bags containing it forms a connected subtree of , and (iii) for every edge , there is a bag containing and . The width of is ; the treewidth of is the minimum width among all possible tree decompositions of . If a graph contains as a minor, then the treewidth of is at least .
Arboricity.
The arboricity of is defined as , where the maximum is taken over all subgraphs of with at least two vertices.
Spanners.
Given a metric space , which we view as a complete graph , a -spanner of is a subgraph with , such that for every two vertices , their distance in is at most . The path realizing this distance is called a -spanner path. The hop-diameter of a spanner is the minimum such that between every two vertices there is a -spanner path with at most edges.
Tree covers.
Given a metric space , a tree cover of with stretch is a collection of trees such that for every two vertices we have , where is the distance between and in .
3 Low-treewidth shortcuttings of trees: lower bound
In this section, we prove Theorem 2, restated below for the reader’s convenience.
Theorem 2. [Restated, see original statement.]
For every , every shortcutting with hop-diameter for an -point path must have treewidth:
-
for even and for odd , whenever ;
-
whenever .
Given an arbitrary integer , our instance is the -point path. We argue that any shortcutting of the path has a large minor. Due to the inductive nature of our argument, we prove a stronger version of the statement, which considers shortcuttings that could potentially use points outside of the given path. We start with the proof for hop-diameter .
Lemma 6.
For every and every -vertex path , every shortcutting with hop-diameter 2 has as a minor.
Proof.
We prove the claim by complete induction over . For the base case, we use , where the claim holds vacuously. Let be a shortcutting for with hop-diameter 2. Split into two consecutive parts, and , of sizes and , respectively. Let and be subgraphs of induced on and , respectively. From the induction hypothesis, and have and as minors, respectively. Consider the case where every point of has an edge in to some point in . Then induces a clique minor of size . Consider the complementary case where has a point that does not have an edge in to any point in . Then, every point in has a neighbor in because has hop-diameter . Thus, induces a clique minor of size . Hence, the minor size satisfies recurrence , with a base case . The solution is given by .
We next give a proof for even values of such that in Lemma 7. The proof for odd values is analogous. The proof for is given in Lemma 8. We will need some auxiliary claims (Claims 9, 11, and 10) in the proofs of Lemmas 7 and 8, as well as in the upper bound proof of Theorem 3. These claims are deferred to the end of this section.
Lemma 7.
For every , every even such that , and every -vertex path , every shortcutting with hop-diameter has treewidth at least , where is an absolute constant.
Proof.
We prove the statement by complete induction over and . For the base case, we take , and . Otherwise, let be such that for even values of . (The proof for odd values is similar. There, we choose so that .) By Claim 10, we have that , whenever .
Split into consecutive sets of points of size each and ignore the remaining points. Let be a shortcutting with hop-diameter for . Our goal is to show that the size of a clique minor of can be lower bounded by the following recurrence.
| (1) |
We say that a point in is global if it has an edge to a point outside and non-global otherwise. We say that is global if all of its points are global and non-global otherwise.
Case 1: Every is non-global.
See Figure 1 for an illustration. For every and the path between a non-global point in and a non-global point in must have the first (resp., last) edge inside (resp., ). Let be obtained from by contracting each into a single vertex. (Clearly, is connected.) Let be the path obtained from by contracting every into a single point. Then is a -hop spanner of with stretch 1. Thus, has a minor of size .
Case 2: Some is global.
See Figure 2 for an illustration. Let , so that (resp., ) is on the left (resp., right) of . (Possibly or .) At least points in have edges to either or . Without loss of generality, we assume the latter. Let be the subset of points that have edges to and let be a subgraph of which is a shortcutting of with hop-diameter . Inductively, has a clique minor of size at least . (Since is a -spanner, it does not include any point outside of .) Then and are vertex-disjoint (because we are considering -spanners) and hence their union has a clique minor of size . Thus, satisfies Equation 1, which we lower bound next.
The last inequality follows from Claim 9 by replacing , and .
Lemma 8.
For every , every , every shortcutting with hop-diameter for an -vertex path has treewidth at least , for an absolute constant .
Proof.
We set so that . (We use .) For the clarity of exposition, we ignore the rounding issues. We note that . Using the same argument as in Lemma 7, we have . We prove the lemma by induction, where the base case is Lemma 7 whenever . Our goal is to prove that and . For the first inequality we distinguish two cases. If , then by Lemma 7 we have
The penultimate inequality holds because . The last inequality holds for a proper choice of constant . If , we have by the induction hypothesis. Hence, in both cases, we have:
For the second inequality, let . We have . Since , we have that and the induction hypothesis gives the following.
To show that the right-hand side is at least , it suffices to show the following:
| (2) |
From Claim 11 we have .
The last inequality holds because . We next consider two cases. If , then and Equation 2 is proved. Otherwise, we proceed as follows.
The last inequality holds for any .
We conclude the section by proving the auxiliary claims used in the lemmas above.
Claim 9.
There is an absolute constant such that for , every integer and every where the expression is defined, it holds
Proof.
We rewrite the expression as follows.
| (3) |
Using Maclaurin expansion, we have that , where is a number between and . We set .
| (4) | |||
| (5) |
Plugging Equation 4 into Equation 3, we obtain the following.
The lower bound in Claim 9 holds because and . Next we prove the upper bound.
The right-hand side is decreasing with in the whole domain and we can upper bound it by taking .
Letting , the upper bound from Claim 9 follows.
Claim 10.
For every , it holds that .
Proof.
We have that . Rearranging the last inequality, we have that . The proof is completed by observing that is monotonically increasing for and .
Claim 11.
For every and ,
Proof.
Let . Then, . Using Taylor series around , we have that . The term has the following form for .
To complete the proof, we replace by .
4 Low-arboricity shortcuttings
In this section, we prove Theorem 5. See 5 We first describe the shortcutting on paths (Section 4.1) and then adapt it to HSTs via an analogous argument (Section 4.2). Instead of directly arguing about the arboricity, we show that the shortcutting can be oriented so that it has a bounded in-degree. The connection is provided by the following fact.
Fact 12.
If the edges of a graph can be oriented such that the maximum in-degree of every vertex is at most , then the arboricity of is at most .
4.1 Paths
The main intuition of this part of the proof is given in Figure 3. We shall use a modification of the following well-known result.
Theorem 13 (Cf. [3, 7, 22]).
For every and , every -point tree metric admits a shortcutting with hop-diameter and edges.
We next prove a slightly modified version of this theorem.
Lemma 14.
Let and be two arbitrary integers. Let be a line metric induced by a set of points on a line so that between every two points there are Steiner points for and points for . Then, admits a Steiner -spanner with hop-diameter such that the Steiner points belong to and every vertex in has a constant in-degree.
Proof.
We prove the lemma by induction over . For , we interconnect the vertices in by a clique. Consider an arbitrary clique edge and split it into two using a Steiner point . Orient the edges and into . By using a fresh Steiner point for every clique edge, we obtain the guarantees from the statement. For , we take a central vertex in and connect it to every other point in ; orient the edges outwards from . Proceed recursively with the two halves. This way we obtain a -spanner for with hop-diameter . Denote by the edge set of this spanner. The depth of the recursion in the construction is , and the size of is . Every vertex in has in-degree 1 per recursion level. We can split every such edge into two using a fresh Steiner point for each recursion level. This concludes the proof for .
Consider now an arbitrary . Divide into intervals of size using cut vertices. Denote by the set of cut vertices and invoke the induction hypothesis on with parameter . Let be the obtained set of edges. Let be obtained by connecting every cut vertex to every point in the two neighboring intervals; the edges are oriented out of . Proceed recursively with parameter on each of the intervals.
To analyze the in-degree, we observe that the depth of the recursion with parameter is , which coincides with the number of Steiner vertices between every two consecutive points in . One level of recursion contributes a constant in-degree to each vertex in the construction. This means that we can split all such vertices into two and use a fresh Steiner point at each recursion level. This concludes the proof.
Proposition 15.
For every and every even , every -point path admits a shortcutting with hop-diameter and arboricity .
Proof.
Let be an arbitrary line metric. For an integer , we describe a construction of a shortcutting for with hop-diameter and arboricity .
Consider a set of equally-spaced cut vertices dividing into subpaths consisting of points. To construct the shortcutting , we connect every cut vertex to all the vertices in its two neighboring intervals. Denote the corresponding edge by . Let be the set of cut vertices. Let be obtained by invoking Lemma 14 with parameter on using as Steiner points. Proceed recursively with each of the intervals.
To analyze the arboricity, we will show that the edges in and can be oriented so that the in-degree of every vertex is constant. Orient every edge in so that it goes out of the corresponding cut vertex. Since every interval is adjacent to at most two cut vertices, the in-degree of every point with respect to is at most 2. By Lemma 14, the edges in have a constant in-degree on . In conclusion, and contribute to the in-degree of each vertex in . The number of recursion levels satisfies the recurrence , which has solution . Every recursion level contributes to the in-degree of vertices, meaning that the overall in-degree in is . The hop-diameter of is . This concludes the description of a shortcutting with hop-diameter and arboricity .
Note that we have only shown how to get a tradeoff of hop-diameter and arboricity . We could similarly get a construction with hop-diameter and arboricity for a parameter . Specifically, we divide into intervals of size . The cut vertices are interconnected using Lemma 14 with hop-diameter . The hop-diameter is and the arboricity is using a similar argument.
4.2 Ultrametrics and doubling metrics
A metric is an ultrametric if it satisfies a strong form of the triangle inequality: for every , . It is well known that an ultrametric can be represented as a hierarchical well-separated tree (HST). More precisely, an -HST is a tree where (i) each node is associated with a label such that whenever is a child of and (ii) each internal node has at most children. Parameter is called the separation while is called the degree of the HST. Let be the set of leaves of . The labels of internal nodes in induce a metric on the leaves, called leaf-metric, where for every two leaves , where is the lowest common ancestor of and . It is well-known, e.g., [6], that is an ultrametric, and that any ultrametric is isomorphic to the leaf-metric of an HST.
Chan and Gupta [9] showed that any -HST can be embedded into the line metric with (worst-case) distortion . Therefore, by applying Proposition 15, we obtain a -spanner with hop diameter and arboricity for -HSTs. In our setting, we are interested in large-degree -HSTs where and ; the embedding result by Chan and Gupta [9] no longer holds for these HSTs. Instead, we directly apply our technique for the line metric to get a -spanner with low-hop diameter. We describe the modifications of Proposition 15 required to prove Lemma 16.
Lemma 16.
Let , be parameters, and be an even positive integer. Then, any -HST with leaves admits a -spanner with hop-diameter and arboricity .
Proof.
Let be the -HST and let be the metric induced by . For an integer , we describe a construction of a -spanner for with hop-diameter and arboricity . The construction is similar to that in Proposition 15.
Let be the set of internal nodes of , called cut vertices, such that the subtrees rooted at these nodes has size . The number of cut vertices is . First, connect every cut vertex to all of its descendants in and let the corresponding set of edges be . Next, let be the set of edges interconnecting the cut vertices using Theorem 13 with hop-diameter and edges. We construct a set by subdividing every edge into two edges using a vertex, say , in the subtree rooted at . The spanner is obtained using the edges in and those in . Finally, the recursive construction is applied to each subtree rooted at a vertex in . This concludes the description of the recursive construction of . The same argument in Proposition 15 implies that the arboricity is . The stretch is since the path between two cut vertices and has stretch .
To construct a low-hop spanner with small arboricity for doubling metrics (Theorem 5), we will rely on the ultrametric cover by Filtser and Le [15]. Following their notation, for a given metric space , we say that a collection of at most different -HSTs such that (i) for every HST , points in are leaves in , and (ii) for every two points , for every , and there exists a tree such that .
Theorem 17 (Cf. Theorem 3.4 in [15]).
For every , every metric with doubling dimension admits an -ultrametric cover.
Let be the -ultrametric cover in Theorem 17 for the input doubling metric. We construct the spanner from Lemma 16 on each of -HST in and take the union of them. This concludes the proof of Theorem 5.
5 Routing schemes
A compact routing scheme is a distributed algorithm that uses local information (routing tables and unique labels) to deliver packets between any source and destination node in a network. In this section, we prove Theorem 4. See 4 Our starting point is the routing scheme for the trees.
Theorem 18.
For every and every -vertex tree , there is a 3-hop routing scheme in the fixed-port model for the metric induced by with stretch 1 that uses bits per vertex.
Proof.
Given an -vertex tree , our routing scheme operates on top of a shortcutting with hop-diameter 3 and treewidth . We start by sketching this construction. Note that the routing scheme does not rely on the treewidth bound itself, but on the fact that the edges of the shortcutting can be oriented so that every vertex has an in-degree bounded by .
Let be a set of vertices of such that: (i) every component of is of size , (ii) the size of is , (iii) every component of has at most 2 edges adjacent to , and (iv) if a component has 2 edges adjacent to some , then and are in ancestor/descendant relation. Connect the vertices of by a clique and do the following for every subtree in . Let and be two vertices from adjacent to . Connect and to every vertex in and proceed recursively with . When , connect the vertices by a clique. This concludes the description of the shortcutting. The constructions of low-treewidth shortcuttings for general values of hop-diameter are more technical (and not needed for this section). See the full version for the details.
Our routing scheme is constructed on top of a 3-hop shortcutting described above. For a vertex , let denote its routing table and its label. First, assign a unique identifier to every vertex in and add it to and . Equip the routing table and a label of every vertex with an ancestor label as in [1]. Using this ancestor labeling scheme, we can determine, given two vertices and , whether they are in ancestor-descendant relation, and if so, whether is the ancestor of or not. This adds bits of memory per vertex.
Recall the recursive construction of the shortcutting. Assign to each recursive call a unique integer . For every vertex in , add to the information consisting of . The memory occupied per every vertex in is . (Note that the construction of guarantees that every vertex belongs to such a clique exactly once across all the recursive calls, meaning that contains only one such .) Let be a subtree in . Let and be two vertices from to which has outgoing edges. For every vertex , add to the following: and . Similarly, add to the following: and . This information takes bits per recursive call . The construction proceeds recursively with ; the number of recursive calls every vertex participates in is at most .
Next we describe the routing algorithm. Let be the source and be the destination. First, check if contains routing information leading directly to . In this case, the algorithm outputs and the routing is complete. (This case happens when and are in the same clique during the construction.) Otherwise, go over and and find the last recursive call which is common to both and . Next, consider and the two entries consisting and , corresponding to . If and are in , use , , , and to decide whether to output or . (This case happens when , , and are in in the recursive call and is not in it.) Finally, let and be the two entries corresponding to in . Use and to decide whether to output or . (This case happens when is not in .)
In what follows, we extend the routing result for tree metrics to the metrics with doubling dimension . We first construct a tree cover using the tree cover theorem from [13].
Theorem 19 ([13]).
Given a point set in a metric of constant doubling dimension and any parameter , there exists a tree cover with stretch and trees. Furthermore, every tree in the tree cover has maximum degree bounded by .
We use this specific tree cover theorem, since the authors also provide an algorithm for determining the “distance-preserving tree” given the labels of any two metric points.
Lemma 20 ([13]).
Let . Let be the tree cover for constructed by Theorem 19, where . There is a way to assign -bit labels to each point in so that, given the labels of two vertices and , we can identify an index such that tree is a “distance-approximating tree” for and ; that is, . This decoding can be done in time.
We equip each tree in the cover with the stretch-1 routing scheme from Theorem 18. This consumes overall bits per point in . In addition, we add -bit labels to each point in as stated in Lemma 20. Given two points , we first employ the algorithm from Lemma 20 to find the tree in which the routing should proceed. Then, the routing proceeds on that specific tree using the routing algorithm from Theorem 18. This concludes the proof of Theorem 4.
References
- [1] Serge Abiteboul, Stephen Alstrup, Haim Kaplan, Tova Milo, and Theis Rauhe. Compact labeling scheme for ancestor queries. SIAM J. Comput., 35(6):1295–1309, 2006. doi:10.1137/S0097539703437211.
- [2] Noga Alon and Baruch Schieber. Optimal preprocessing for answering on-line product queries. Technical Report TR 71/87, Tel Aviv University, 1987.
- [3] Noga Alon and Baruch Schieber. Optimal preprocessing for answering on-line product queries. CoRR, abs/2406.06321, 2024. doi:10.48550/arXiv.2406.06321.
- [4] S. Arya, G. Das, D. M. Mount, J. S. Salowe, and M. Smid. Euclidean spanners: Short, thin, and lanky. In Proceedings of the Twenty-seventh Annual ACM Symposium on Theory of Computing, STOC ’95, pages 489–498, 1995.
- [5] Yair Bartal, Arnold Filtser, and Ofer Neiman. On notions of distortion and an almost minimum spanning tree with constant average distortion. J. Comput. Syst. Sci., 105:116–129, 2019. preliminary version published in SODA 2016. doi:10.1016/j.jcss.2019.04.006.
- [6] Yair Bartal, Nathan Linial, Manor Mendel, and Assaf Naor. Some low distortion metric ramsey problems. Discrete & Computational Geometry, 33(1):27–41, July 2004. doi:10.1007/s00454-004-1100-z.
- [7] Hans L. Bodlaender, Gerard Tel, and Nicola Santoro. Trade-offs in non-reversing diameter. Nord. J. Comput., 1(1):111–134, 1994.
- [8] Kevin Buchin, Carolin Rehs, and Torben Scheele. Geometric spanners of bounded tree-width. In 41st International Symposium on Computational Geometry (SoCG 2025), pages 26:1–26:15, 2025. doi:10.4230/LIPIcs.SoCG.2025.26.
- [9] H. T.-H. Chan and A. Gupta. Small hop-diameter sparse spanners for doubling metrics. In Proc. of 17th SODA, pages 70–78, 2006.
- [10] H. Chang, J. Conroy, H. Le, L. Milenković, S. Solomon, and C. Than. Covering planar metrics (and beyond): trees suffice. In The 64th Annual Symposium on Foundations of Computer Science, FOCS ‘23, pages 2231–2261, 2023. doi:10.1109/FOCS57990.2023.00139.
- [11] H. Chang, J. Conroy, H. Le, L. Milenković, S. Solomon, and C. Than. Shortcut partitions in minor-free graphs: Steiner point removal, distance oracles, tree covers, and more. In The 2024 Annual ACM-SIAM Symposium on Discrete Algorithms, SODA ‘24, pages 5300–5331, 2024. doi:10.1137/1.9781611977912.191.
- [12] Hsien-Chih Chang, Jonathan Conroy, Hung Le, Lazar Milenkovic, Shay Solomon, and Cuong Than. Optimal euclidean tree covers. In SoCG, volume 293 of LIPIcs, pages 37:1–37:15. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2024. doi:10.4230/LIPIcs.SOCG.2024.37.
- [13] Hsien-Chih Chang, Jonathan Conroy, Hung Le, Shay Solomon, and Cuong Than. Light tree covers, routing, and path-reporting oracles via spanning tree covers in doubling graphs. In STOC, pages 2257–2268. ACM, 2025. doi:10.1145/3717823.3718312.
- [14] Bernard Chazelle. Computing on a free tree via complexity-preserving mappings. Algorithmica, 2(1):337–361, 1987. doi:10.1007/BF01840366.
- [15] Arnold Filtser and Hung Le. Locality-sensitive orderings and applications to reliable spanners. In STOC, pages 1066–1079. ACM, 2022. doi:10.1145/3519935.3520042.
- [16] Arnold Filtser and Hung Le. Low treewidth embeddings of planar and minor-free metrics. In FOCS, pages 1081–1092. IEEE, 2022. doi:10.1109/FOCS54457.2022.00105.
- [17] E. Fox-Epstein, P. N. Klein, and A. Schild. Embedding planar graphs into low-treewidth graphs with applications to efficient approximation schemes for metric problems. In Proceedings of the 30th Annual ACM-SIAM Symposium on Discrete Algorithms, SODA ‘19, pages 1069–1088, 2019. doi:10.1137/1.9781611975482.66.
- [18] Omri Kahalon, Hung Le, Lazar Milenkovic, and Shay Solomon. Can’t see the forest for the trees: Navigating metric spaces by bounded hop-diameter spanners. In Alessia Milani and Philipp Woelfel, editors, Proc. PODC, pages 151–162. ACM, 2022. doi:10.1145/3519270.3538414.
- [19] H. Le. Shortcutting trees, 2023. URL: https://minorfree.github.io/tree-shortcutting/.
- [20] Manor Mendel and Assaf Naor. Ramsey partitions and proximity data structures. Journal of the European Mathematical Society, 9(2):253–275, 2007.
- [21] G. Narasimhan and M. Smid. Geometric Spanner Networks. Cambridge University Press, 2007.
- [22] Shay Solomon. Sparse euclidean spanners with tiny diameter. ACM Trans. Algorithms, 9(3):28:1–28:33, 2013. doi:10.1145/2483699.2483708.
- [23] Robert Endre Tarjan. Applications of path compression on balanced trees. Journal of the ACM (JACM), 26(4):690–715, 1979. doi:10.1145/322154.322161.
- [24] Andrew Chi-Chih Yao. Space-time tradeoff for answering range queries (extended abstract). In STOC, pages 128–136. ACM, 1982. doi:10.1145/800070.802185.
