Highway dimension

The highway dimension is a graph parameter modelling transportation networks, such as road networks or public transportation networks. It was first formally defined by Abraham et al.[1] based on the observation by Bast et al.[2][3] that any road network has a sparse set of "transit nodes", such that driving from a point A to a sufficiently far away point B along the shortest route will always pass through one of these transit nodes. It has also been proposed that the highway dimension captures the properties of public transportation networks well (at least according to definitions 1 and 2 below), given that longer routes using busses, trains, or airplanes will typically be serviced by larger transit hubs (stations and airports). This relates to the spoke–hub distribution paradigm in transport topology optimization.

Definitions

Several definitions of the highway dimension exist.[4] Each definition of the highway dimension uses a hitting set of a certain set of shortest paths: given a graph G = ( V , E ) {\displaystyle G=(V,E)} with edge lengths : E R + {\displaystyle \ell :E\to \mathbb {R} ^{+}} , let P {\displaystyle {\mathcal {P}}} contain every vertex set P V {\displaystyle P\subseteq V} such that P {\displaystyle P} induces a shortest path between some vertex pair of G {\displaystyle G} , according to the edge lengths {\displaystyle \ell } . To measure the highway dimension we determine the "sparseness" of a hitting set of a subset of P {\displaystyle {\mathcal {P}}} in a local area of the graph, for which we define a ball of radius r > 0 {\displaystyle r>0} around a vertex u V {\displaystyle u\in V} to be the set B r ( u ) V {\displaystyle B_{r}(u)\subseteq V} of vertices at distance at most r {\displaystyle r} from u {\displaystyle u} in G {\displaystyle G} according to the edge lengths {\displaystyle \ell } . In the context of low highway dimension graphs, the vertices of a hitting set for the shortest paths are called hubs.

Definition 1

The original definition[1] of the highway dimension measures the sparseness of a hub set H {\displaystyle H} of shortest paths contained within a ball of radius 4 r {\displaystyle 4r} :

The highway dimension of G {\displaystyle G} is the smallest integer h 1 {\displaystyle h_{1}} such that for any radius r > 0 {\displaystyle r>0} and any node u V {\displaystyle u\in V} there is a hitting set H B 4 r ( u ) {\displaystyle H\subseteq B_{4r}(u)} of size at most h 1 {\displaystyle h_{1}} for all shortest paths P P {\displaystyle P\in {\mathcal {P}}} of length more than r {\displaystyle r} for which P B 4 r ( u ) {\displaystyle P\subseteq B_{4r}(u)} .

A variant of this definition uses balls of radius c r {\displaystyle cr} for some constant c > 4 {\displaystyle c>4} . Choosing a constant greater than 4 implies additional structural properties of graphs of bounded highway dimension, which can be exploited algorithmically.[5]

Definition 2

A subsequent definition[6] of the highway dimension measures the sparseness of a hub set H {\displaystyle H} of shortest paths intersecting a ball of radius 2 r {\displaystyle 2r} :

The highway dimension of G {\displaystyle G} is the smallest integer h 2 {\displaystyle h_{2}} such that for any radius r > 0 {\displaystyle r>0} and any node u V {\displaystyle u\in V} there is a hitting set H V {\displaystyle H\subseteq V} of size at most h 2 {\displaystyle h_{2}} for all shortest paths P P {\displaystyle P\in {\mathcal {P}}} of length more than r {\displaystyle r} and at most 2 r {\displaystyle 2r} for which P B 2 r ( u ) {\displaystyle P\cap B_{2r}(u)\neq \emptyset } .

This definition is weaker than the first, i.e., every graph of highway dimension h 1 {\displaystyle h_{1}} also has highway dimension h 2 {\displaystyle h_{2}} , but not vice versa.[5]

Definition 3

For the third definition[7] of the highway dimension we introduce the notion of a "witness path": for a given radius r {\displaystyle r} , a shortest path P P {\displaystyle P\in {\mathcal {P}}} has an r {\displaystyle r} -witness path Q P {\displaystyle Q\in {\mathcal {P}}} if Q {\displaystyle Q} has length more than r {\displaystyle r} and Q {\displaystyle Q} can be obtained from P {\displaystyle P} by adding at most one vertex to either end of P {\displaystyle P} (i.e., Q {\displaystyle Q} has at most 2 vertices more than P {\displaystyle P} and these additional vertices are incident to P {\displaystyle P} ). Note that P {\displaystyle P} may be shorter than r {\displaystyle r} but is contained in Q {\displaystyle Q} , which has length more than r {\displaystyle r} .

The highway dimension of G {\displaystyle G} is the smallest integer h 3 {\displaystyle h_{3}} such that for any radius r > 0 {\displaystyle r>0} and any node u V {\displaystyle u\in V} there is a hitting set H V {\displaystyle H\subseteq V} of size at most h 3 {\displaystyle h_{3}} for all shortest paths P P {\displaystyle P\in {\mathcal {P}}} that have an r {\displaystyle r} -witness path Q {\displaystyle Q} with Q B 2 r ( u ) {\displaystyle Q\cap B_{2r}(u)\neq \emptyset } .

This definition is stronger than the above, i.e., every graph of highway dimension h 1 {\displaystyle h_{1}} also has highway dimension h 3 = O ( h 1 2 ) {\displaystyle h_{3}=O(h_{1}^{2})} , but h 1 {\displaystyle h_{1}} cannot be bounded in terms of h 3 {\displaystyle h_{3}} .[5]

Shortest path cover

A notion closely related to the highway dimension is that of a shortest path cover,[1] where the order of the quantifiers in the definition is reversed, i.e., instead of a hub set for each ball, there is a one hub set H {\displaystyle H} , which is sparse in every ball:

Given a radius r > 0 {\displaystyle r>0} , an r {\displaystyle r} -shortest path cover of G {\displaystyle G} is a hitting set H V {\displaystyle H\subseteq V} for all shortest paths in P {\displaystyle {\mathcal {P}}} of length more than r {\displaystyle r} and at most 2 r {\displaystyle 2r} . The r {\displaystyle r} -shortest path cover H {\displaystyle H} is locally h {\displaystyle h} -sparse if any node u V {\displaystyle u\in V} the ball B 2 r ( u ) {\displaystyle B_{2r}(u)} contains at most h {\displaystyle h} vertices of H {\displaystyle H} , i.e., | B 2 r ( u ) H | h {\displaystyle |B_{2r}(u)\cap H|\leq h} .

Every graph of bounded highway dimension h {\displaystyle h} (according to any of the above definitions) also has a locally h {\displaystyle h} -sparse r {\displaystyle r} -shortest path cover for every r > 0 {\displaystyle r>0} , but not vice versa.[4] For algorithmic purposes it is often more convenient to work with one hitting set for each radius r {\displaystyle r} , which makes shortest path covers an important tool for algorithms on graphs of bounded highway dimension.

Relation to other graph parameters

The highway dimension combines structural and metric properties of graphs, and is thus incomparable to common structural and metric parameters. In particular, for any graph it is possible to choose edge lengths such that the highway dimension is 1 {\displaystyle 1} ,[5] while at the same time some graphs with very simple structure such as trees can have arbitrary large highway dimension. This implies that the highway dimension parameter is incomparable to structural graph parameters such as treewidth, cliquewidth, or minor-freeness. On the other hand, a star with unit edge lengths has highway dimension 1 {\displaystyle 1} (according to definitions 1 and 2 above) but unbounded doubling dimension, while a k × k {\displaystyle k\times k} grid graph with unit edge lengths has constant doubling dimension but highway dimension Ω ( k ) {\displaystyle \Omega (k)} .[1] This means that the highway dimension according to definitions 1 and 2 is also incomparable to the doubling dimension. Any graph of bounded highway dimension according to definition 3 above, also has bounded doubling dimension.[7]

Computing the highway dimension

Computing the highway dimension of a given graph is NP-hard.[5] Assuming that all shortest paths are unique (which can be done by slightly perturbing the edge lengths), an O ( log h ) {\displaystyle O(\log h)} -approximation can be computed in polynomial time,[6] given that the highway dimension of the graph is h {\displaystyle h} . It is not known whether computing the highway dimension is fixed-parameter tractable (FPT), however there are hardness results indicating that this is likely not the case.[8] In particular, these results imply that, under standard complexity assumptions, an FPT algorithm can neither compute the highway dimension bottom-up (from the smallest value r {\displaystyle r} to the largest) nor top-down (from the largest value r {\displaystyle r} to the smallest).

Algorithms exploiting the highway dimension

Shortest path algorithms

Some heuristics to compute shortest paths, such as the Reach, Contraction Hierarchies, Transit Nodes, and Hub Labelling algorithms, can be formally proven to run faster than other shortest path algorithms (e.g. Dijkstra's algorithm) on graphs of bounded highway dimension according to definition 3 above.[7]

Approximations for NP-hard problems

A crucial property that can be exploited algorithmically for graphs of bounded highway dimension is that vertices that are far from the hubs of a shortest path cover are clustered into so-called towns:[5]

Given a radius r > 0 {\displaystyle r>0} , an r {\displaystyle r} -shortest path cover H {\displaystyle H} of G {\displaystyle G} , and a vertex u V {\displaystyle u\in V} at distance more than 2 r {\displaystyle 2r} from H {\displaystyle H} , the set T V {\displaystyle T\subseteq V} of vertices at distance at most r {\displaystyle r} from u {\displaystyle u} according to the edge lengths {\displaystyle \ell } is called a town. The set of all vertices not lying in any town is called the sprawl.

It can be shown that the diameter of every town is at most r {\displaystyle r} , while the distance between a town and any vertex outside it is more than r {\displaystyle r} . Furthermore, the distance from any vertex in the sprawl to some hub of H {\displaystyle H} is at most 2 r {\displaystyle 2r} .

Based on this structure, Feldmann et al.[5] defined the towns decomposition, which recursively decomposes the sprawl into towns of exponentially growing values r {\displaystyle r} . For a graph of bounded highway dimension (according to definition 1 above) this decomposition can be used to find a metric embedding into a graph of bounded treewidth that preserves distances between vertices arbitrarily well. Due to this embedding it is possible to obtain quasi-polynomial time approximation schemes (QPTASs) for various problems such as Travelling Salesman (TSP), Steiner Tree, k-Median, and Facility Location.[5]

For clustering problems such as k-Median, k-Means, and Facility Location, faster polynomial-time approximation schemes (PTASs) are known for graphs of bounded highway dimension according to definition 1 above.[9] For network design problems such as TSP and Steiner Tree it is not known how to obtain a PTAS.

For the k-Center problem, it is not known whether a PTAS exists for graphs of bounded highway dimension, however it is NP-hard to compute a ( 2 ε {\displaystyle 2-\varepsilon } )-approximation on graphs of highway dimension O ( log 2 n ) {\displaystyle O(\log ^{2}{n})} ,[10] which implies that any ( 2 ε {\displaystyle 2-\varepsilon } )-approximation algorithm needs at least double exponential time in the highway dimension, unless P=NP.[10] On the other hand, it was shown that a parameterized 3 / 2 {\displaystyle 3/2} -approximation algorithm with a runtime of 2 O ( k h log h ) n O ( 1 ) {\displaystyle 2^{O(kh\log {h})}n^{O(1)}} exists for k-Center where h {\displaystyle h} is the highway dimension according to any of the above definitions.[10] When using definition 1 above, a parameterized approximation scheme (PAS) is known to exist when using k {\displaystyle k} and h {\displaystyle h} as parameters.[11]

For the Capacitated k-Center problem there is no PAS parameterized by k {\displaystyle k} and the highway dimension h {\displaystyle h} , unless FPT=W[1].[12] This is notable, since typically (i.e., for all the problems mentioned above), if there is an approximation scheme for metrics of low doubling dimension, then there is also one for graphs of bounded highway dimension. But for Capacitated k-Center there is a PAS parameterized by k {\displaystyle k} and the doubling dimension.[12]

External links

  • Video on "Capacitated k-Center in Low Doubling and Highway Dimension"[12] given by Tung Ahn Vu, 2022.
  • Video on "Algorithms for Hard Problems on Low Highway Dimension Graphs" given by Andreas Emil Feldmann at ICERM, Brown University, Providence, US, May 2019.
  • Video on "A (1 + ε)-Embedding of Low Highway Dimension Graphs into Bounded Treewidth Graphs"[5] given by Andreas Emil Feldmann at Hausdorff Institut, Bonn, DE, 2015.
  • Video on "Highway Dimension: From Practice to Theory and Back"[6] given by Andrew Goldberg

References

  1. ^ a b c d Abraham, Ittai; Fiat, Amos; Goldberg, Andrew V.; Werneck, Renato F. (2010-01-17). Highway Dimension, Shortest Paths, and Provably Efficient Algorithms. Society for Industrial and Applied Mathematics. pp. 782–793. doi:10.1137/1.9781611973075.64. ISBN 978-0-89871-701-3. S2CID 9330775.
  2. ^ Bast, Holger; Funke, Stefan; Matijevic, Domagoj; Sanders, Peter; Schultes, Dominik (2007-01-06), Applegate, David; Stølting Brodal, Gerth (eds.), "In Transit to Constant Time Shortest-Path Queries in Road Networks", 2007 Proceedings of the Ninth Workshop on Algorithm Engineering and Experiments (ALENEX), Philadelphia, PA: Society for Industrial and Applied Mathematics, pp. 46–59, doi:10.1137/1.9781611972870.5, ISBN 978-1-61197-287-0, retrieved 2023-11-10
  3. ^ Bast, Holger; Funke, Stefan; Matijevic, Domagoj; Demetrescu, Camil; Goldberg, Andrew; Johnson, David (2006). "TRANSIT: Ultrafast Shortest-Path Queries with Linear-Time Preprocessing". The Shortest Path Problem: Ninth DIMACS Implementation Challenge.
  4. ^ a b Blum, Johannes (2019). "Hierarchy of Transportation Network Parameters and Hardness Results". Proceedings of the 14th International Symposium on Parameterized and Exact Computation (IPEC 2019). Schloss-Dagstuhl - Leibniz Zentrum für Informatik. doi:10.4230/LIPIcs.IPEC.2019.4. S2CID 166228480.
  5. ^ a b c d e f g h i Feldmann, Andreas Emil; Fung, Wai Shing; Könemann, Jochen; Post, Ian (January 2018). "A $(1+\varepsilon)$-Embedding of Low Highway Dimension Graphs into Bounded Treewidth Graphs". SIAM Journal on Computing. 47 (4): 1667–1704. arXiv:1502.04588. doi:10.1137/16M1067196. ISSN 0097-5397. S2CID 11339698.
  6. ^ a b c Abraham, Ittai; Delling, Daniel; Fiat, Amos; Goldberg, Andrew V.; Werneck, Renato F. (2011). "VC-Dimension and Shortest Path Algorithms". In Aceto, Luca; Henzinger, Monika; Sgall, Jiří (eds.). Automata, Languages and Programming. Lecture Notes in Computer Science. Vol. 6755. Berlin, Heidelberg: Springer. pp. 690–699. doi:10.1007/978-3-642-22006-7_58. ISBN 978-3-642-22006-7.
  7. ^ a b c Abraham, Ittai; Delling, Daniel; Fiat, Amos; Goldberg, Andrew V.; Werneck, Renato F. (2016-12-08). "Highway Dimension and Provably Efficient Shortest Path Algorithms". Journal of the ACM. 63 (5): 41:1–41:26. doi:10.1145/2985473. ISSN 0004-5411. S2CID 1943037.
  8. ^ Blum, Johannes; Disser, Yann; Feldmann, Andreas Emil; Gupta, Siddharth; Zych-Pawlewicz, Anna (2022). "On Sparse Hitting Sets: From Fair Vertex Cover to Highway Dimension". Proceedings of 17th International Symposium on Parameterized and Exact Computation (IPEC 2022). Schloss-Dagstuhl - Leibniz Zentrum für Informatik. doi:10.4230/LIPIcs.IPEC.2022.5.
  9. ^ Feldmann, Andreas Emil; Saulpic, David (2021-12-01). "Polynomial time approximation schemes for clustering in low highway dimension graphs". Journal of Computer and System Sciences. 122: 72–93. doi:10.1016/j.jcss.2021.06.002. ISSN 0022-0000.
  10. ^ a b c Feldmann, Andreas Emil (2019-03-01). "Fixed-Parameter Approximations for k-Center Problems in Low Highway Dimension Graphs". Algorithmica. 81 (3): 1031–1052. arXiv:1605.02530. doi:10.1007/s00453-018-0455-0. ISSN 1432-0541.
  11. ^ Becker, Amariah; Klein, Philip N.; Saulpic, David (2018). "Polynomial-Time Approximation Schemes for k-center, k-median, and Capacitated Vehicle Routing in Bounded Highway Dimension". Proceedings of the 26th Annual European Symposium on Algorithms (ESA 2018). Schloss-Dagstuhl - Leibniz Zentrum für Informatik. doi:10.4230/LIPIcs.ESA.2018.8.
  12. ^ a b c Feldmann, Andreas Emil; Vu, Tung Anh (2022). Bekos, Michael A.; Kaufmann, Michael (eds.). "Generalized $$k$$-Center: Distinguishing Doubling and Highway Dimension". Graph-Theoretic Concepts in Computer Science. Lecture Notes in Computer Science. Cham: Springer International Publishing: 215–229. arXiv:2209.00675. doi:10.1007/978-3-031-15914-5_16. ISBN 978-3-031-15914-5.