Exploiting Hopsets: Improved Distance Oracles for Graphs of Constant Highway Dimension and Beyond
arXiv:1803.06977
Abstract
For fixed , we consider the task of adding to a graph a set of weighted shortcut edges on the same vertex set, such that the length of a shortest -hop path between any pair of vertices in the augmented graph is exactly the same as the original distance between these vertices in . A set of shortcut edges with this property is called an exact -hopset and may be applied in processing distance queries on graph . In particular, a -hopset directly corresponds to a distributed distance oracle known as a hub labeling. In this work, we explore centralized distance oracles based on -hopsets and display their advantages in several practical scenarios. In particular, for graphs of constant highway dimension, and more generally for graphs of constant skeleton dimension, we show that -hopsets require exponentially fewer shortcuts per node than any previously described distance oracle while incurring only a quadratic increase in the query decoding time, and actually offer a speedup when compared to simple oracles based on a direct application of -hopsets. Finally, we consider the problem of computing minimum-size -hopset (for any ) for a given graph , showing a polylogarithmic-factor approximation for the case of unique shortest path graphs. When , for a given bound on the space used by the distance oracle, we provide a construction of hopsets achieving polylog approximation both for space and query time compared to the optimal -hopset oracle given the space bound.