Academia.eduAcademia.edu

On the Complexity of Hub Labeling

2015, ArXiv

Abstract

Hub Labeling (HL) is a data structure for distance oracles. Hierarchical HL (HHL) is a special type of HL, that received a lot of attention from a practical point of view. However, theoretical questions such as NP-hardness and approximation guarantee for HHL algorithms have been left aside. In this paper we study HL and HHL from the complexity theory point of view. We prove that both HL and HHL are NP-hard, and present upper and lower bounds for the approximation ratios of greedy HHL algorithms used in practice. We also introduce a new variant of the greedy HHL algorithm and a proof that it produces small labels for graphs with small highway dimension.

Key takeaways

  • A special case of HL is hierarchical hub labeling (HHL) [4], where vertices are globally ranked by "importance" and the label for a vertex v can only have more important hubs than v and v itself.
  • Let P u,v denote the set of all vertices on shortest paths from u to v. For an order π we define a canonical HHL in the following way: Proof.
  • Therefore, the center graph of every vertex is chosen once, and the labeling is hierarchical.
  • Vertex a covers the shortest paths between the d vertices adjacent to different c's.
  • If G is connected then there are optimal HL and HHL for G such that s ∈ L(x) for every vertex x.