Highway dimension explained
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] 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
with edge lengths
, let
contain every vertex set
such that
induces a shortest path between some vertex pair of
, according to the edge lengths
. To measure the highway dimension we determine the "sparseness" of a hitting set of a subset of
in a local area of the graph, for which we define a
ball of radius
around a vertex
to be the set
of vertices at distance at most
from
in
according to the edge lengths
. 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 of the highway dimension measures the sparseness of a hub set
of shortest paths
contained within a ball of radius
:
The highway dimension of
is the smallest integer
such that for any radius
and any node
there is a hitting set
of size at most
for all shortest paths
of length more than
for which
.
A variant of this definition uses balls of radius
for some constant
. Choosing a constant greater than 4 implies additional structural properties of graphs of bounded highway dimension, which can be exploited algorithmically.
[4] Definition 2
A subsequent definition[5] of the highway dimension measures the sparseness of a hub set
of shortest paths
intersecting a ball of radius
:
The highway dimension of
is the smallest integer
such that for any radius
and any node
there is a hitting set
of size at most
for all shortest paths
of length more than
and at most
for which
.
This definition is weaker than the first, i.e., every graph of highway dimension
also has highway dimension
, but not vice versa.
Definition 3
For the third definition[6] of the highway dimension we introduce the notion of a "witness path": for a given radius
, a shortest path
has an
-witness path
if
has length more than
and
can be obtained from
by adding at most one vertex to either end of
(i.e.,
has at most 2 vertices more than
and these additional vertices are incident to
). Note that
may be shorter than
but is contained in
, which has length more than
.
The highway dimension of
is the smallest integer
such that for any radius
and any node
there is a hitting set
of size at most
for all shortest paths
that have an
-witness path
with
.
This definition is stronger than the above, i.e., every graph of highway dimension
also has highway dimension
, but
cannot be bounded in terms of
.
Shortest path cover
A notion closely related to the highway dimension is that of a shortest path cover, 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
, which is sparse in every ball:
Given a radius
, an
-shortest path cover of
is a hitting set
for all shortest paths in
of length more than
and at most
. The
-shortest path cover
is locally
-sparse if any node
the ball
contains at most
vertices of
, i.e.,
.
Every graph of bounded highway dimension
(according to any of the above definitions) also has a locally
-sparse
-shortest path cover for every
, but not vice versa. For algorithmic purposes it is often more convenient to work with one hitting set for each radius
, 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
, 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
(according to definitions 1 and 2 above) but unbounded
doubling dimension, while a
grid graph with unit edge lengths has constant
doubling dimension but highway dimension
. 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.
Computing the highway dimension
Computing the highway dimension of a given graph is NP-hard. Assuming that all shortest paths are unique (which can be done by slightly perturbing the edge lengths), an
-
approximation can be computed in polynomial time, given that the highway dimension of the graph is
. 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.
[7] 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
to the largest) nor top-down (from the largest value
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.
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:
Given a radius
, an
-shortest path cover
of
, and a vertex
at distance more than
from
, the set
of vertices at distance at most
from
according to the edge lengths
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
, while the distance between a town and any vertex outside it is more than
. Furthermore, the distance from any vertex in the sprawl to some hub of
is at most
.
Based on this structure, Feldmann et al. defined the towns decomposition, which recursively decomposes the sprawl into towns of exponentially growing values
. 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.
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.[8] 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 (
)-
approximation on graphs of highway dimension
, which implies that any (
)-approximation algorithm needs at least double exponential time in the highway dimension, unless P=NP.
[9] On the other hand, it was shown that a
parameterized
-approximation algorithm with a runtime of
exists for
k-Center where
is the highway dimension according to
any of the above definitions. When using definition 1 above, a
parameterized approximation scheme (PAS) is known to exist when using
and
as parameters.
[10] For the Capacitated k-Center problem there is no PAS parameterized by
and the highway dimension
, unless
FPT=W[1].
[11] 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
and the
doubling dimension.
External links
Notes and References
- Book: Abraham . Ittai . Fiat . Amos . Goldberg . Andrew V. . Werneck . Renato F. . 2010-01-17 . Highway Dimension, Shortest Paths, and Provably Efficient Algorithms . en . Society for Industrial and Applied Mathematics . 782–793 . 10.1137/1.9781611973075.64 . 978-0-89871-701-3. 9330775 .
- 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.
- Blum . Johannes . 2019 . Hierarchy of Transportation Network Parameters and Hardness Results . Proceedings of the 14th International Symposium on Parameterized and Exact Computation (IPEC 2019) . en . Schloss-Dagstuhl - Leibniz Zentrum für Informatik . 10.4230/LIPIcs.IPEC.2019.4 . free . 166228480.
- 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 . en . 47 . 4 . 1667–1704 . 10.1137/16M1067196 . 11339698 . 0097-5397. 1502.04588 .
- Book: Abraham . Ittai . Delling . Daniel . Fiat . Amos . Goldberg . Andrew V. . Werneck . Renato F. . Automata, Languages and Programming . VC-Dimension and Shortest Path Algorithms . 2011 . Aceto . Luca . Henzinger . Monika . Sgall . Jiří . https://link.springer.com/chapter/10.1007/978-3-642-22006-7_58 . Lecture Notes in Computer Science . 6755 . en . Berlin, Heidelberg . Springer . 690–699 . 10.1007/978-3-642-22006-7_58 . 978-3-642-22006-7.
- 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 . 10.1145/2985473 . 1943037 . 0004-5411.
- 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) . en . Schloss-Dagstuhl - Leibniz Zentrum für Informatik . 10.4230/LIPIcs.IPEC.2022.5. free .
- 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 . 10.1016/j.jcss.2021.06.002 . 0022-0000.
- Feldmann . Andreas Emil . 2019-03-01 . Fixed-Parameter Approximations for k-Center Problems in Low Highway Dimension Graphs . Algorithmica . en . 81 . 3 . 1031–1052 . 10.1007/s00453-018-0455-0 . 1432-0541. 1605.02530 .
- 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) . en . Schloss-Dagstuhl - Leibniz Zentrum für Informatik . 10.4230/LIPIcs.ESA.2018.8. free .
- Book: Feldmann . Andreas Emil . Vu . Tung Anh . 2022 . Bekos . Michael A. . Kaufmann . Michael . Generalized -Center: Distinguishing Doubling and Highway Dimension . https://link.springer.com/chapter/10.1007/978-3-031-15914-5_16 . Graph-Theoretic Concepts in Computer Science . Lecture Notes in Computer Science . en . Cham . Springer International Publishing . 215–229 . 10.1007/978-3-031-15914-5_16 . 978-3-031-15914-5. 2209.00675 .