Reachability and Distance Queries via 2-Hop Labels
The DOI matches its Crossref record; 8 of the 8 references it cites were found in a registry or an index.
Abstract
Reachability and distance queries in graphs are fundamental to numerous applications, ranging from geographic navigation systems to Internet routing. Some of these applications involve huge graphs and yet require fast query answering. We propose a new data structure for representing all distances in a graph. The data structure is distributed in the sense that it may be viewed as assigning labels to the vertices, such that a query involving vertices u and v may be answered using only the labels of u and v. Our labels are based on 2-hop covers of the shortest paths, or of all paths, in a graph. For shortest paths, such a cover is a collection S of shortest paths such that, for every two vertices u and v, there is a shortest path from u to v that is a concatenation of two paths from S. We describe an efficient algorithm for finding an almost optimal 2-hop cover of a given collection of paths. Our approach is general and can be applied to directed or undirected graphs, exact or approximate shortest paths, or to reachability queries. We study the proposed data structure using a combination of theoretical and experimental means. We implemented our algorithm and checked the size of the resulting data structure on several real-life networks from different application areas. Our experiments show that the total size of the labels is typically not much larger than the network itself, and is usually considerably smaller than an explicit representation of the transitive closure of the network.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Citations
Cites
A Greedy Heuristic for the Set-Covering Problem
Chvatal, V. (1979) · Mathematics of Operations Research · doi:10.1287/moor.4.3.233 · Cited by 2,581 · cited 6×
“It is shown by Johnson [6], Lov~sz [9] and Chv~tal [1] that the greedy heuristic achieves a performance ratio of Ht for the set cover problem, where t is the number of elements to be covered and Ht is the Harmonic number.”
BackgroundMethodInfluentialApproximation algorithms for combinatorial problems
Johnson, D. S. (1974) · Journal of Computer and System Sciences · doi:10.1016/s0022-0000(74)80044-9 · Cited by 2,197
A new approach to the maximum-flow problem
Goldberg, A. V., & Tarjan, R. E. (1988) · Journal of the ACM · doi:10.1145/48014.61051 · Cited by 1,882
On the ratio of optimal integral and fractional covers
Lovász, L. (1975) · Discrete Mathematics · doi:10.1016/0012-365x(75)90058-8 · Cited by 1,114 · cited 2×
“is shown by Johnson [6], Lov asz [9] and Chv atal [1] that the greedy heuristic achieves a performance ratio of Ht for the set cover problem, where t is the number of elements to be covered and Ht is the Harmonic number.”
MethodA Fast Parametric Maximum Flow Algorithm and Applications
Gallo, G., Grigoriadis, M. D., & Tarjan, R. E. (1989) · SIAM Journal on Computing · doi:10.1137/0218003 · Cited by 427 · cited 5×
“The currently best available time bound for tile problem is O(mnlog(n~/rn)), due to Gallo, Grigoriadis, and Tarjan [3].”
BackgroundInfluentialKortsarz, G., & Peleg, D. (1994) · Journal of Algorithms · doi:10.1006/jagm.1994.1032 · Cited by 136 · cited 2×
“Of more practical interest is a much simpler linear time 2-approximation algorithm for the densest subgraph problem, which is a slight modification of an algorithm mentioned by Kortsarz and Peleg [7].”
MethodProximity-preserving labeling schemes
Peleg, D. (2000) · Journal of Graph Theory · doi:10.1002/(sici)1097-0118(200003)33:3<167::aid-jgt7>3.0.co;2-5 · Cited by 125
Efficient Parallel Shortest-Paths in Digraphs with a Separator Decomposition
Cohen, E. (1996) · Journal of Algorithms · doi:10.1006/jagm.1996.0048 · Cited by 32
Self-citation
Research works printed but not linked: 2
- Mikkel Thorup, Compact oracles for reachability and approximate distances in planar digraphs, IEEE Computer Soc., Los Alamitos, CA, 2001, 242–2511948712 · doi:10.1109/sfcs.2001.959898
- M. Thorup and U. Zwick, Approximate distance oracles , in Proceedings of the 33th Annual ACM Symposium on Theory of Computing, Crete, Greece, 2001, pp. 183–192. · DOI
Cited by
Items 501–521 of 521
Kang, H.-Q., Wang, X.-L., Jin, Z.-Y., Ding, Y.-A., Liu, Y.-M., Fu, L.-Y., Ding, J.-X., & Wang, X. (2026) · Frontiers of Computer Science · doi:10.1007/s11704-025-50122-8
AutoGNN: End-to-End Hardware-Driven Graph Preprocessing for Enhanced GNN Performance
Kang, S., Lee, S., Gouk, D., Kwon, M., Choi, H., Jang, J., Lee, S., Choi, H., Zhang, J., Choi, W., et al. (2026) · IEEE International Symposium on High-Performance Computer Architecture (HPCA) · doi:10.1109/hpca68181.2026.11408516
Large-scale data management in real-world graphs
Dhia, I. B. (2013) · theses.fr (ABES) · doi:10.70675/8f2473f4z0e53z4ab4z85bbzf70acd80fde8
Optimisation des réseaux aériens : analyse et sélection de nouveaux marchés
Kamal-Idrissi, A. (2020) · theses.fr (ABES) · doi:10.70675/a20db9e0z999ez4aebzbf6bz348013c46373
Revisiting Data Partitioning for Scalable RDF Graph Processing
Auyón, J. A. G. (2021) · theses.fr (ABES) · doi:10.70675/45eae187z1b63z42e2zbd78zb240e597c1d8 · Cited by 1
Privacy-preserving path constrained shortest distance queries on encrypted graphs
Duan, Y., Yu, J., Wang, M., & Li, S. (2026) · Computers & Security · doi:10.1016/j.cose.2026.104932
Graph Reachability Queries: Empirical Evaluation and Practical Guidelines
He, H., Yang, Z., Wen, D., Yang, W., & Shepherd, J. (2026) · Lecture notes in computer science · doi:10.1007/978-981-95-7394-3_25 · Cited by 1
Luo, B., Chen, Y., Cong, Y., He, Z., Jiang, J., Sun, S., He, B., & Ang, W. H. (2026) · Proceedings of the ACM on Management of Data · doi:10.1145/3802097
“) [4], Arterial Hierarchy (AH) [61], Transit Node Routing (TNR) [10], and 2-Hop Labeling [15] achieve ultra-fast queries on road networks via heavy preprocessing and hierarchical indexes, but incur high construction cost and limited adaptability.”
STARS: A Sampling and Threshold Sharing Solution for Network K-function Analytics
Ye, H., Chan, T. N., Leong Hou, U., Wu, D., Tu, W., Wang, R., & Huang, J. Z. (2026) · ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD) · doi:10.1145/3770855.3817709
L4g: Two-Hop Label Management for Group Steiner Tree Search on Graphs
Feng, X., Sun, Y., Wang, Z., Li, J., Luo, S., & Li, R.-H. (2026) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde65706.2026.00028
“We let L satisfy the following 2-hop cover constraint [21], [50].”
InfluentialSemantic Compression for Sound and Complete Query Answering Over Knowledge Graphs
Ma, J., Du, J., Wan, H., Yu, Y., Qi, K., Luo, W., & Liu, Y. (2026) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde65706.2026.00259
Fast Content-Aware Influence Maximization Query Answering by Labeling Index
Lv, X., Shi, Q., Wang, C., Song, M., Du, W., Yang, W., & Chen, G. (2026) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde65706.2026.00256
“Cohen et al. [8] introduced the 2-hop cover framework for exact shortest path queries, which Akiba et al. [1] refined into the highly efficient Pruned Landmark Labeling (PLL) method.”
An Efficient and Scalable Approach for Path Queries on Public Transportation Networks
Zhang, J., Li, W., Zhang, W., Qin, L., & Yang, X. (2026) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde65706.2026.00147
“TTL [5] is an extension of the classical 2-hop labeling framework [17], [18].”
Lightweight 2-Hop Labels for Reachability Queries on Large-Scale Graphs
Wang, Y., Chu, J., Yuan, Y., Gu, Y., & Qiao, L. (2026) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde65706.2026.00177
“However, computing a minimum 2-hop index is NP-hard [8].”
InfluentialPLAN: Fast and Approximate Gaussian Kernel Density Visualization in Road Networks
Chan, T. N., Ye, H., Zhu, B., Leong Hou, U., Wu, D., Wang, R., & Huang, J. Z. (2026) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde65706.2026.00120
“…various types of shortest path algorithms, including heuristic searching [56]–[58], shortest path indexing (e.g., hub labeling structures [59]–[64] and hierarchical structures [59], [62], [65]–[70]), and shortest path caching [71]–[73], can also be used for improving the efficiency of finding…”
Efficient Locally h -Clique Densest Subgraph Discovery via Divide-and-Conquer
Zhou, Y., Huang, T., & Fang, Y. (2026) · Proceedings of the VLDB Endowment · doi:10.14778/3828612.3828616
Nav-Index: A High-Performance, Adaptive Index for Shortest Path Queries in RDBMS
Reif, M., & Neumann, T. (2026) · Proceedings of the VLDB Endowment · doi:10.14778/3836663.3836693
“Other techniques include hub labeling [1, 9] and Transit Node Routing [4], which typically use or extend contraction hierarchies to improve performance.”
Just a “Hop” to Efficient Query of Optimal Temporal Paths: A Novel Labeling Approach
Sun, Y., Zhong, M., Zhu, Y., Qian, T., & Liu, M. (2026) · Lecture notes in computer science · doi:10.1007/978-981-92-5693-8_32
DIRECTED ACYCLIC GRAPHS AND DISJOINT CHAINS
Chen, Y. (2009) · International Conference on Enterprise Information Systems · doi:10.5220/0001858300170024
“…support reachability queries, by which we will check whether a given node v in G is reachable from another node u through a path in G (Cohen, 1991; Cohen et al., 2003; Cheng et al., 2006; Jagadish, 1990; Schenkel et al., 2006; Teuhola, 1996; Zibin et al., 2001), which has a wide range of…”
BackgroundData Engineering in Graph Databases
Choi, B. K. K., Hu, H., Xu, J., Cheung, W. K., Li, C.-H., & Liu, J. (2010) · Lecture notes in electrical engineering · doi:10.1007/978-90-481-9794-1_26
Metadata
- Authors
- Cohen, E., Halperin, E., Kaplan, H., & Zwick, U.
- Venue
- SIAM Journal on Computing
- Published
- 2003-01
- Volume
- 32
- Issue
- 5
- Pages
- 1338-1355
- ISSN
- 0097-5397 (ISSN-L)
- 1095-7111
- OpenAlex
- W1994924587
- Cited by
- 518
- References
- 8
- Citations by year
- 2026: 19 · 2025: 34 · 2024: 32 · 2023: 32 · 2022: 28 · 2021: 34 · 2020: 26 · 2019: 29 · 2018: 24 · 2017: 27 · 2016: 26 · 2015: 38 · 2014: 23 · 2013: 37 · 2012: 18
- FWCI
- 5.15
- Type
- journal article
- Language
- en
- Open access
- closed
- Locations
- SIAM Journal on Computing (publishedVersion)
- Topics
- Physical Sciences › Computer Science › Computational Theory and Mathematics › Complexity and Algorithms in Graphs
- Physical Sciences › Computer Science › Computational Theory and Mathematics › Graph Theory and Algorithms
- Physical Sciences › Mathematics › Theoretical Computer Science › Algorithms and Data Compression
- Keywords
- reachability queries, distance queries, shortest path, graph data structures, transitive closure, approximate shortest paths, large-scale graphs
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.