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
A Survey of Autonomous Driving: Common Practices and Emerging Technologies
Yurtsever, E., Lambert, J., Carballo, A., & Takeda, K. (2020) · IEEE Access · doi:10.1109/access.2020.2983149 · Cited by 1,889
“One possible solution to this is to use hub labeling (HL) [248].”
BackgroundBadue, C., Guidolini, R., Carneiro, R. V., Azevedo, P., Cardoso, V. B., Forechi, A., Jesus, L., Berriel, R., Paixão, T. M., Mutz, F., et al. (2021) · Expert Systems with Applications · doi:10.1016/j.eswa.2020.113816 · Cited by 1,209
Route Planning in Transportation Networks
Bast, H., Delling, D., Goldberg, A., Müller-Hannemann, M., Pajor, T., Sanders, P., Wagner, D., & Werneck, R. F. (2016) · Lecture Notes in Computer Science · doi:10.1007/978-3-319-49487-6_2 · Cited by 610
Graphs-at-a-time: query language and access methods for graph databases
He, H., & Singh, A. K. (2008) · Proceedings of the 2008 ACM SIGMOD international conference on Management of data · doi:10.1145/1376616.1376660 · Cited by 450
“Indexing and processing of reachability queries are generally based on spanning trees with pre/post-order labeling [6, 32, 33] or 2-hop-cover [8, 9, 27].”
BackgroundGraph pattern matching: from intractable to polynomial time
Fan, W., Li, J., Ma, S., Tang, N., Wu, Y., & Wu, Y. (2010) · Proceedings of the VLDB Endowment · doi:10.14778/1920841.1920878 · Cited by 285
“Finally, we state the revised graph pattern matching problem.”
BackgroundA Hub-Based Labeling Algorithm for Shortest Paths in Road Networks
Abraham, I., Delling, D., Goldberg, A. V., & Werneck, R. F. (2011) · Lecture Notes in Computer Science · doi:10.1007/978-3-642-20662-7_20 · Cited by 254
“Labeling algorithms have been studied before in more theoretical settings [6,12,21].”
BackgroundShortest-path queries in static networks
Sommer, C. (2014) · ACM Computing Surveys · doi:10.1145/2530531 · Cited by 247
“…main difficulty lies in choosing L ( u ) for a node u : for any two nodes s, t , the intersection of their landmark sets L ( s ) ∩ L ( t ) · 21 shall contain at least one node on a shortest s − t path, i.e. the set of landmarks must cover all shortest paths (see [Cohen et al. 2003] and Section 2.2).”
BackgroundMethodInfluentialDual Labeling: Answering Graph Reachability Queries in Constant Time
Wang, H., He, H., Yang, J., Yu, P. S., & Yu, J. X. (2006) · 22nd International Conference on Data Engineering (ICDE'06) · doi:10.1109/icde.2006.53 · Cited by 242
“We want to avoid computing the transitive closure matrix, because the O(n2) storage requirment is infeasible for large graphs.”
BackgroundMethodInfluentialFast and practical indexing and querying of very large graphs
Trißl, S., & Leser, U. (2007) · Proceedings of the 2007 ACM SIGMOD international conference on Management of data · doi:10.1145/1247480.1247573 · Cited by 233
“However, the problem of computing the optimal 2-Hop-Cover is NP-hard and requires the TC to be computed first [8].”
BackgroundMethodHierarchical Hub Labelings for Shortest Paths
Abraham, I., Delling, D., Goldberg, A. V., & Werneck, R. F. (2012) · Lecture Notes in Computer Science · doi:10.1007/978-3-642-33090-2_4 · Cited by 218
“[9] give a polynomial-time algorithm to approximate the smallest labeling within a factor of O(log n), where n is the number of vertices.”
BackgroundInfluentialQuery preserving graph compression
Fan, W., Li, J., Wang, X., & Wu, Y. (2012) · Proceedings of the 2012 ACM SIGMOD International Conference on Management of Data · doi:10.1145/2213836.2213855 · Cited by 204
“, the 2-hop techniques of [6], see Section 6); (3) the post-processing function finds the answer in the original G by only accessing the query answer Q′(Gr) and an index on the inverse of node mappings of R; (4) in contrast to generic lossless compression schemes (e.”
BackgroundMethodInfluentialDistance-join: pattern match query in a large graph database
Zou, L., Chen, L., & Özsu, M. T. (2009) · Proceedings of the VLDB Endowment · doi:10.14778/1687627.1687727 · Cited by 200
“These are well-studied problems, with a number of vertex labeling-based solutions [7].”
BackgroundMethodInfluentialRoute Planning in Transportation Networks
Bast, H., Delling, D., Goldberg, A., Müller-Hannemann, M., Pajor, T., Sanders, P., Wagner, D., & Werneck, R. F. (2015) · arXiv · doi:10.48550/arxiv.1504.05140 · Cited by 189
“Approximation algorithms to compute small labels have also been studied [16,64,80]; although they can find slightly better labels than faster heuristics [5,77], their running time is prohibitive [80].”
BackgroundShen, M., Ma, B., Zhu, L., Mijumbi, R., Du, X., & Hu, J. (2018) · IEEE Transactions on Information Forensics and Security · doi:10.1109/tifs.2017.2774451 · Cited by 188
Graph pattern matching revised for social network analysis
Fan, W. (2012) · Proceedings of the 15th International Conference on Database Theory · doi:10.1145/2274576.2274578 · Cited by 176
“In a variety of applications one wants to inspect the connectivity of a pair of nodes via a path of an arbitrary length [14, 33, 62] or with a bound on the number of hops (e.”
Efficiently Querying Large XML Data Repositories: A Survey
Gou, G., & Chirkova, R. (2007) · IEEE Transactions on Knowledge and Data Engineering · doi:10.1109/tkde.2007.1060 · Cited by 177
“coding [24], [100], [101], and so forth.”
Cheng, J., Yu, J. X., Ding, B., Yu, P. S., & Wang, H. (2008) · 2008 IEEE 24th International Conference on Data Engineering · doi:10.1109/icde.2008.4497500 · Cited by 164
“Such an R-join is possible based on a graph labeling called 2-hop reachability labeling [7].”
MethodWei, F. (2010) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/1807167.1807181 · Cited by 155
“The 2-HOP approach [7] proposes selecting a small amount of vertices that can be stored as landmark to facilitate the query answering.”
BackgroundAdding regular expressions to graph reachability and pattern queries
Fan, W., Li, J., Ma, S., Tang, N., & Wu, Y. (2011) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde.2011.5767858 · Cited by 147
Yıldırım, H., Chaoji, V. S., & Zaki, M. J. (2010) · Proceedings of the VLDB Endowment · doi:10.14778/1920841.1920879 · Cited by 141
“The other major class of methods is based on2HOP Indexing[7, 20, 19, 23, 6, 12], where each node determines a set of intermediate nodes it can reach, and a set of intermediate nodes which can reach it.”
BackgroundMethodInfluentialGRECS: Graph Encryption for Approximate Shortest Distance Queries
Meng, X., Kamara, S., Nissim, K., & Kollios, G. (2015) · ACM SIGSAC Conference on Computer and Communications Security (CCS) · doi:10.1145/2810103.2813672 · Cited by 165
“Solutions such as [14, 38, 40, 11, 8, 10, 12] carefully select seed nodes (also known as landmarks) and store the shortest distances from all the nodes to the seeds.”
BackgroundIncremental graph pattern matching
Fan, W., Wang, X., & Wu, Y. (2013) · ACM Transactions on Database Systems · doi:10.1145/2489791 · Cited by 164
Efficient Densest Subgraph Computation in Evolving Graphs
Epasto, A., Lattanzi, S., & Sozio, M. (2015) · International World Wide Web Conference (WWW) · doi:10.1145/2736277.2741638 · Cited by 122
“ACM 978-1-4503-3469-3/15/05. http://dx.doi.org/10.1145/2736277.2741638. works; G.2.2 [Discrete Mathematics]: Graph Theory— Graph algorithms”
MethodInfluentialEfficient algorithms for densest subgraph discovery
Fang, Y., Yu, K., Cheng, R. C. K., Lakshmanan, L. V. S., & Lin, X. (2019) · Proceedings of the VLDB Endowment · doi:10.14778/3342263.3342645 · Cited by 122
Incremental graph pattern matching
Fan, W., Li, J., Luo, J., Tan, Z., Wang, X., & Wu, Y. (2011) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/1989323.1989420 · Cited by 145
An Efficient Algorithm for Answering Graph Reachability Queries
Chen, Y., & Chen, Y. (2008) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde.2008.4497498 · Cited by 119
Cheng, J. S.-C., Huang, S., Wu, H., & Fu, A. W.-C. (2013) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/2463676.2465286 · Cited by 113
“, a set of vertices that are reachable from s and can reach t respectively, we can answer whether s can reach t efficiently by simply intersecting their labels (as in [14]).”
BackgroundMethodReachability and time-based path queries in temporal graphs
Wu, H., Huang, Y., Cheng, J. S.-C., Li, J., & Ke, Y. (2016) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde.2016.7498236 · Cited by 112
“, 2-hop label [21], constructs two labels for each vertex v, Lin(v) and Lout(v), where Lin(v) and Lout(v) are the set of vertices that can reach v and that are reachable from v, respectively.”
BackgroundMethodTuray, T., & Vladimirova, T. (2022) · IEEE Access · doi:10.1109/access.2022.3147495 · Cited by 136
“Both, the academy community and industry have proposed a number of global planning methods, such as goal-directed path [258], separator based[259], hierarchical [260], bounded-hop [261].”
BackgroundSchenkel, R., Theobald, A., & Weikum, G. (2005) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde.2005.57 · Cited by 102
“In contrast, the HOPI index [26], which is based on the 2–hop cover of a graph [7], has been judiciously designed to handle path expressions over arbitrary graphs (i.”
BackgroundFast Computation of Reachability Labeling for Large Graphs
Cheng, J., Yu, J. X., Lin, X., Wang, H., & Yu, P. S. (2006) · Lecture notes in computer science · doi:10.1007/11687238_56 · Cited by 100
“The 2-hop reachability labeling is defined in [2].”
BackgroundMethodInfluentialA highway-centric labeling approach for answering distance queries on large sparse graphs
Jin, R., Ruan, N., Xiang, Y., & Lee, V. (2012) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/2213836.2213887 · Cited by 110
“…section, we empirically study the performance of our approach, comparing it with other state-of-the-art distance query an-Dataset [22, 23] in the online search category; the 2HOP exact distance labeling scheme [12]; and Sketch , the latest landmark-based approximate distance query algorithm [14].”
BackgroundMethodInfluentialAn experimental study on hub labeling based shortest path algorithms
Li, Y., Leong Hou, U., Yiu, M. L., & Kou, N. M. (2017) · Proceedings of the VLDB Endowment · doi:10.1145/3186728.3164141 · Cited by 119
“A polynomial-time algorithm having an approximation ratio O (log | V | ) has been proposed by Cohen et al. [15].”
BackgroundMethodInfluentialJin, R., Ruan, N., Dey, S., & Xu, J. Y. (2012) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/2213836.2213856 · Cited by 90
“1) PathTree [16], an improved version of Agrawal’s tree-interval method [1]; 2) Nuutila’s Interval [18], a transitive closure compression method, recently demonstrated to be one of the fastest reachability computation methods [22]; 3) 2HOP [10], Cohen et al.”
BackgroundMethodInfluentialA Survey of Clustering Algorithms for Graph Data
Aggarwal, C. C., & Wang, H. (2010) · The Kluwer international series on advances in database systems · doi:10.1007/978-1-4419-6045-0_9 · Cited by 117
IS-Label: an independent-set based labeling scheme for point-to-point distance querying
Fu, A. W.-C., Wu, H., Cheng, J. S.-C., & Wong, R. C.-W. (2013) · Proceedings of the VLDB Endowment · doi:10.14778/2536336.2536346 · Cited by 113
“[16] proposed the 2-hop labeling that computes for each vertexv two sets,Lin (v) and Lout (v), where for each vertexu ∈ Lin (v) and w ∈ Lout (v), there is a path fromu to v and fromv to w.”
InfluentialGRAIL: a scalable index for reachability queries in very large graphs
Yıldırım, H., Chaoji, V. S., & Zaki, M. J. (2011) · The VLDB Journal · doi:10.1007/s00778-011-0256-4 · Cited by 89
Wei, H., Yu, J. X., Lu, C., & Jin, R. (2014) · Proceedings of the VLDB Endowment · doi:10.14778/2732977.2732992 · Cited by 88
Efficient Graph Similarity Search Over Large Graph Databases
Zheng, W., Zou, L., Lian, X., Wang, D., & Zhao, D. (2014) · IEEE Transactions on Knowledge and Data Engineering · doi:10.1109/tkde.2014.2349924 · Cited by 96
Graph Reachability Queries: A Survey
Yu, J. X., & Cheng, J. (2010) · The Kluwer international series on advances in database systems · doi:10.1007/978-1-4419-6045-0_6 · Cited by 84
“Keywords: Graph, Reachability, Coding, Graph Pattern Matching.”
Parallelizing Sequential Graph Computations
Fan, W., Xu, J., Wu, Y., Yu, W., Jiang, J., Zheng, Z., Zhang, B., Cao, Y., & Tian, C. (2017) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/3035918.3035942 · Cited by 91
“GRAPE supports indices including (1) 2-hop index [15] for reachability queries; and (2) neighborhood-index [31] for candidate filtering in graph pattern matching.”
Fast and scalable reachability queries on graphs by pruned labeling with landmarks and paths
Yano, Y., Akiba, T., Iwata, Y., & Yoshida, Y. (2013) · ACM International Conference on Information and Knowledge Management (CIKM) · doi:10.1145/2505515.2505724 · Cited by 79
“Methods based on labeling to vertices have also been studied for a long time [5,15,4,7].”
BackgroundMethodInfluentialVC-Dimension and Shortest Path Algorithms
Abraham, I., Delling, D., Fiat, A., Goldberg, A. V., & Werneck, R. F. (2011) · Lecture notes in computer science · doi:10.1007/978-3-642-22006-7_58 · Cited by 73
“An O(log n)-approximation algorithm for the smallest average label size appears in [8].”
Effective indexing for approximate constrained shortest path queries on large road networks
Wang, S., Xiao, X., Yang, Y., & Lin, W. (2016) · Proceedings of the VLDB Endowment · doi:10.14778/3015274.3015277 · Cited by 92
“The state-of-the-art2HL algorithms precompute an order of vertices in the graph, and construct a2HL index based on this order, e.g., [4, 7, 33].”
MethodJin, R., Ruan, N., Xiang, Y., & Wang, H. (2011) · ACM Transactions on Database Systems · doi:10.1145/1929934.1929941 · Cited by 80
“[Cohen et al. 2003] represents a quite different approach.”
BackgroundHop doubling label indexing for point-to-point distance querying on scale-free networks
Jiang, M., Fu, A. W.-C., Wong, R. C.-W., & Xu, Y. (2014) · Proceedings of the VLDB Endowment · doi:10.14778/2732977.2732993 · Cited by 99
“The complexity of finding a minimum 2-hop cover is shown to be NPhard [15], and known approximate algorithms are also very costly [20].”
BackgroundResultInfluentialAnswering billion-scale label-constrained reachability queries within microsecond
Peng, Y. X., Zhang, Y., Lin, X., Qin, L., & Zhang, W. (2020) · Proceedings of the VLDB Endowment · doi:10.14778/3380750.3380753 · Cited by 72
“Also, many indexing methods have been proposed based on the idea of compressing the TC [42, 45], online search guided by precomputed indices [41, 30, 50, 53, 59], and labeling schemes [12, 14, 16, 31, 40, 52].”
MethodLandmark Indexing for Evaluation of Label-Constrained Reachability Queries
Valstar, L. D. J., Fletcher, G., & Yoshida, Y. (2017) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/3035918.3035955 · Cited by 71
“search guided by precomputed indices [3, 18, 30, 34, 36], and labeling schemes [11, 12, 13, 19, 25, 33].”
Simple, fast, and scalable reachability oracle
Jin, R., & Wang, G. (2013) · Proceedings of the VLDB Endowment · doi:10.14778/2556549.2556578 · Cited by 84
“Unfortunately, after more than ten years since its first proposal [14] and a list of worthy attempts [30, 11, 12, 22, 6], hop labeling (or reachability oracle), still eludes us and fails to meet its expectations.”
BackgroundMethodInfluentialGraph Data Management and Mining: A Survey of Algorithms and Applications
Aggarwal, C. C., & Wang, H. (2010) · The Kluwer international series on advances in database systems · doi:10.1007/978-1-4419-6045-0_2 · Cited by 95
“Several algorithms have been proposed to compute high quality 2-hop covers [54, 168, 49, 48] in a more efficient manner.”
BackgroundMethodInfluentialOptimizing scoring functions and indexes for proximity search in type-annotated corpora
Chakrabarti, S., Puniyani, K., & Das, S. (2006) · International World Wide Web Conference (WWW) · doi:10.1145/1135777.1135882 · Cited by 66
“Obtaining compact reachability indices for arbitrary graphs is more complicated [7].”
BackgroundHighway Dimension and Provably Efficient Shortest Path Algorithms
Abraham, I., Delling, D., Fiat, A., Goldberg, A. V., & Werneck, R. F. (2016) · Journal of the ACM · doi:10.1145/2985473 · Cited by 82
“We prove even better bounds for the Hub Labeling (HL) algorithm [Cohen et al. 2003; Gavoille et al. 2004], which was initially proposed (in a theoretical setting) for general graphs, but had never been tested on large road networks.”
BackgroundFast Query Decomposition for Batch Shortest Path Processing in Road Networks
Li, L., Zhang, M., Hua, W., & Zhou, X. (2020) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde48307.2020.00107 · Cited by 71
“Other algorithms, such as 2-Hop labeling [4], [20], [18], IS-Labelling [10], Pruned Landmark Labelling [1], H2H-index [24], SILC framework [26], Distance Oracle [27] and Path Oracle [28], etc., attempt to materialize all the pairwise shortest path results in a compressed manner such that a given…”
BackgroundMethodTop-k graph pattern matching over large graphs
Cheng, J., Zeng, X., & Yu, J. X. (2013) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde.2013.6544895 · Cited by 71
“Although the size of transitive closure can be prohibitively large, a compression scheme such as 2-hop covers [36], [37] easily works on it for better space consumption.”
BackgroundExact Top-k Nearest Keyword Search in Large Networks
Jiang, M., Fu, A. W.-C., & Wong, R. C.-W. (2015) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/2723372.2749447 · Cited by 60
“For other networks, P2P distance querying has been considered by numerous works such as [30, 17, 11, 12, 20, 34, 14, 2, 19].”
BackgroundMethodInfluentialFinding Top-k Optimal Sequenced Routes
Liu, H., Jin, C., Yang, B., & Zhou, A. (2018) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde.2018.00058 · Cited by 72
“Thus, existing methods [2]–[4], [8] are all heuristic to approximate the minimal 2-hop labeling index.”
BackgroundMethodInfluentialSakr, S., Elnikety, S., & He, Y. (2012) · ACM International Conference on Information and Knowledge Management (CIKM) · doi:10.1145/2396761.2396806 · Cited by 58
“that because of the expressiveness of our language, we were unable to consider either the traditional RDF query processors [12, 7] (they do not support path patterns, reachability or shortest path queries) or traditional structural graph indexing and querying techniques [4, 8, 20, 19, 21] (each of them supports only o…”
BackgroundMethodA Survey of Shortest-Path AlgorithmsPreprint
Madkour, A., Aref, W. G., Rehman, F. U., Rahman, M. A., & Basalamah, S. M. (2017) · arXiv (Cornell University) · doi:10.48550/arxiv.1705.02044 · Cited by 124
“Cohen et al. [31] propose a data structure for storing the reachability label using a 2-hops cover of all the paths in a graph.”
BackgroundMethodRDF Querying: Language Constructs and Evaluation Methods Compared
Furche, T., Linse, B., Bry, F., Plexousakis, D., & Gottlob, G. (2006) · Lecture notes in computer science · doi:10.1007/11837787_1 · Cited by 56
“An alternative labeling scheme for graphs with cycles is the 2-hop labeling [36].”
MethodReachability Queries in Very Large Graphs: A Fast Refined Online Search Approach
Veloso, R. R., Cerf, L., Meira, W., & Zaki, M. J. (2014) · Movebank · doi:10.5441/002/edbt.2014.46 · Cited by 60
“The second class is called Hop Labeling [10] [11] [16] [20] [27] and its methods use intermediate vertices to encode the reachability between two other vertices.”
BackgroundMethodInfluentialTime-Dependent Hop Labeling on Road Network
Li, L., Wang, S., & Zhou, X. (2019) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde.2019.00085 · Cited by 69
“The 2-Hop labeling was originally proposed by [5] to answer the shortest distance and reachability query efficiently on the static graph.”
BackgroundMethodInfluentialPerformance guarantees for distributed reachability queries
Fan, W., Wang, X., & Wu, Y. (2012) · Proceedings of the VLDB Endowment · doi:10.14778/2350229.2350248 · Cited by 54
“, reachability matrix [31], 2-hop index [5]), parallel and graph partition strategies (e.”
Regular Path Query Evaluation on Streaming Graphs
Pacaci, A., Bonifati, A., & ÖZSU, M. T. (2020) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/3318464.3389733 · Cited by 76
“, [24, 45, 62, 64, 68–70]).”
Bonifati, A., Fletcher, G., Voigt, H., & Yakovets, N. (2018) · Synthesis lectures on data management · doi:10.2200/s00873ed1v01y201808dtm051 · Cited by 81
Data storage practices and query processing in XML databases: A survey
Haw, S.-C., & Lee, C. (2011) · Knowledge-Based Systems · doi:10.1016/j.knosys.2011.06.006 · Cited by 49
“[77] propose Hybrid Labeling of Sub-Structures (HLSS) by combining the power of interval encoding and the 2-hop approach [65].”
MethodIncremental Maintenance of 2-Hop Labeling of Large Graphs
Bramandia, R., Choi, B. K. K., & Ng, W. K. (2009) · IEEE Transactions on Knowledge and Data Engineering · doi:10.1109/tkde.2009.117 · Cited by 49
“This paper studies a popular indexing technique for reachability tests on arbitrary graphs called 2-hop labeling , originally proposed by Cohen et al. [11] and later studied by Schenkel et al. [24], [25] and Cheng et al. [7], [8], among others.”
BackgroundMethodInfluentialNear-optimal fully dynamic densest subgraph
Sawlani, S., & Wang, J. (2020) · ACM Symposium on Theory of Computing (STOC) · doi:10.1145/3357713.3384327 · Cited by 48
“hile at the same time giving a simple greedy algorithm which gives a 2-approximate densest subgraph (also studied in [AITT96]). Despite the approximation factor, this algorithm is popular in practice [CHKZ03] due to its simplicity and due to the fact that it runs in linear time and space. Obtaining fast algorithms for…”
MethodEfficient 2-Hop Labeling Maintenance in Dynamic Small-World Networks
Zhang, M., Li, L., Hua, W., & Zhou, X. (2021) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde51399.2021.00019 · Cited by 51
“Static 2-Hop Labeling: The 2-hop labeling [3] answers the shortest distance query by pre-computing a set of labels for each vertex and answering the query only with these labels.”
BackgroundParallelizing Sequential Graph Computations
Fan, W., Yu, W., Xu, J., Zhou, J., Luo, X., Yin, Q., Lü, P., Cao, Y., & Xu, R. (2018) · ACM Transactions on Database Systems · doi:10.1145/3282488 · Cited by 58
Reachability querying: an independent permutation labeling approach
Wei, H., Yu, J. X., Lu, C., & Jin, R. (2017) · The VLDB Journal · doi:10.1007/s00778-017-0468-3 · Cited by 47
“(1) Some works aim at constructing a small index by compressing TC , because it leads to a small index, and therefore reduces query time [1, 16, 13, 28, 11, 12, 8, 21, 20, 27].”
BackgroundMethodInfluentialCoverage centralities for temporal networks
Takaguchi, T., Yano, Y., & Yoshida, Y. (2016) · The European Physical Journal B · doi:10.1140/epjb/e2016-60498-7 · Cited by 49
Querying big graphs within bounded resources
Fan, W., Wang, X., & Wu, Y. (2014) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/2588555.2610513 · Cited by 51
“(1) Graph indexing [10, 13, 26, 35] provides precomputed global information of G to evaluate queries, with additional storage costs.”
Query Language and Access Methods for Graph Databases
He, H., & Singh, A. K. (2010) · The Kluwer international series on advances in database systems · doi:10.1007/978-1-4419-6045-0_4 · Cited by 52
Scalable similarity estimation in social networks
Cohen, E., Delling, D., Fuchs, F., Goldberg, A. V., Goldszmidt, M., & Werneck, R. F. (2013) · Conference on Online Social Networks · doi:10.1145/2512938.2512944 · Cited by 45
“Node labels that have the same format as ADSs (2-hop labels [14]) have been successfully used for exact distances in road networks [3] and medium-size unweighted social graphs [5].”
MethodSelf-citationEfficient processing of label-constraint reachability queries in large graphs
Zou, L., Xu, K., Yu, J. X., Chen, L., Xiao, Y., & Zhao, D. (2013) · Information Systems · doi:10.1016/j.is.2013.10.003 · Cited by 42
“…at ScienceDirect Information Systems 0306-43 http://d n Corr Technol Beijing E-m 1 In specifie journal homepage: www.elsevier.com/locate/infosys Efficient processing of label-constraint reachability queries in large graphs Lei Zou a,n, Kun Xu a, Jeffrey Xu Yu b, Lei Chen c, Yanghua Xiao…”
BackgroundDecomposing DAGs into spanning trees: A new way to compress transitive closures
Chen, Y., & Chen, Y. (2011) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde.2011.5767832 · Cited by 42
“2 to know the interval values) and find that [6, 10) does not subsume [3, 5).”
BackgroundMethodInfluentialHub Labels: Theory and Practice
Delling, D., Goldberg, A. V., Savchenko, R., & Werneck, R. F. (2014) · Lecture notes in computer science · doi:10.1007/978-3-319-07959-2_22 · Cited by 56
“[8] algorithm (GHL(1)) isO(n(5)): each iteration computes n AMDSes on graphs with O(n(2)) arcs, and the number of iterations is”
BackgroundMethodInfluentialScaling Up Distance Labeling on Graphs with Core-Periphery Properties
Li, W., Qiao, M., Qin, L., Zhang, Y., Chang, L., & Lin, X. (2020) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/3318464.3389748 · Cited by 39
“To guarantee an exact result, a 2-hop cover constraint [10] is usually imposed: For any two nodes u and v that are connected by a path, Lu ∩ Lv must include at least one node on the shortest path from u to v .”
BackgroundLabeling Schemes for Small Distances in Trees
Alstrup, S., Bille, P., & Rauhe, T. (2005) · SIAM Journal on Discrete Mathematics · doi:10.1137/s0895480103433409 · Cited by 39
“in [7], the goal is to minimize the average length of labels instead of the maximum.”
BackgroundEfficient Constrained Shortest Path Query Answering with Forest Hop Labeling
Liu, Z., Li, L., Zhang, M., Hua, W., Chao, P., & Zhou, X. (2021) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde51399.2021.00155 · Cited by 51
“The 2-hop labeling index [4] answers distance query without any search.”
BackgroundMethodAdding regular expressions to graph reachability and pattern queries
Fan, W., Li, J., Ma, S., Tang, N., & Wu, Y. (2012) · Frontiers of Computer Science · doi:10.1007/s11704-012-1312-y · Cited by 37
“Distance queries [12], [34] compute the distance between a pair of nodes, but do not consider edge types.”
BackgroundHLDB: location-based services in databases
Abraham, I., Delling, D., Fiat, A., Goldberg, A. V., & Werneck, R. F. (2012) · ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems (SIGSPATIAL GIS) · doi:10.1145/2424321.2424365 · Cited by 44
“HLDB is based on hub labels ( HL ) [1, 2, 3], a highly optimized version of a labeling algorithm [8, 19] tailored to road networks.”
BackgroundKeyword Search on Large Graphs: A Survey
Yang, J., Wu, Y., & Zhang, W. (2021) · Data Science and Engineering · doi:10.1007/s41019-021-00154-4 · Cited by 42
TimeReach: Historical Reachability Queries on Evolving Graphs
Semertzidis, K., Pitoura, E., & Lillis, K. (2015) · Movebank · doi:10.5441/002/edbt.2015.12 · Cited by 36
“For example, consider the query u [1,15]∧ ; v in Figure 3, where the posting lists for u and v are respectively, P (u) = (C6 [4, 7], C5 [8, 11], C4 [11, curr] and P (v) = (C6 [1, 8], C4 [11, 15]).”
BackgroundMethodEfficient Top-k Shortest-Path Distance Queries on Large Networks by Pruned Landmark Labeling
Akiba, T., Hayashi, T., Nori, N., Iwata, Y., & Yoshida, Y. (2015) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v29i1.9154 · Cited by 44
On incremental maintenance of 2-hop labeling of graphs
Bramandia, R., Choi, B. K. K., & Ng, W. K. (2008) · International World Wide Web Conference (WWW) · doi:10.1145/1367497.1367611 · Cited by 36
“This paper studies a popular indexing technique for reachability tests on arbitrary graphs called 2-hop labeling , originally proposed by [9] and later studied in [20] [21] [7], among others.”
MethodEfficiently Answering Span-Reachability Queries in Large Temporal Graphs
Wen, D., Huang, Y., Zhang, Y., Qin, L., Zhang, W., & Lin, X. (2020) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde48307.2020.00104 · Cited by 34
“Note that even though the concept of the two-hop cover has been studied or used in several existing works [4], [21]–[23], our method is not a naive extension of existing techniques.”
BackgroundMethodInfluentialTransitive closure and recursive Datalog implemented on clusters
Afrati, F., & Ullman, J. D. (2012) · International Conference on Extending Database Technology (EDBT) · doi:10.1145/2247596.2247613 · Cited by 46
“The bibliography on this topic, both past and recent is huge; some recent work on indexing techniques for fast reachability computation can be found in [10,14,15,24,32,33].”
BackgroundFastest Path Query Answering using Time-Dependent Hop-Labeling in Road Network
Li, L., Wang, S., & Zhou, X. (2020) · IEEE Transactions on Knowledge and Data Engineering · doi:10.1109/tkde.2020.2981062 · Cited by 43
Node Labeling Schemes in XML Query Optimization: A Survey and Trends
Haw, S.-C., & Lee, C. (2009) · IETE Technical Review · doi:10.4103/0256-4602.49086 · Cited by 34
“[20] proposed Hybrid Labeling of Sub-Structures (HLSS), by combining the power of interval encoding and the 2-hop approach [21].”
MethodBFSI-B: An improved K-hop graph reachability queries for cyber-physical systems
Xie, X., Yang, X., Wang, X., Jin, H., Wang, D., & Ke, X. (2017) · Information Fusion · doi:10.1016/j.inffus.2017.02.009 · Cited by 33
Answering reachability and K-reach queries on large graphs with label constraints
Peng, Y. X., Lin, X., Zhang, Y., Zhang, W., & Qin, L. (2021) · The VLDB Journal · doi:10.1007/s00778-021-00695-0 · Cited by 33
“The literature reflects how extensively the 2-hop cover technique has been studied (e.g., [1,3,10,12]).”
BackgroundMethodAnswering pattern match queries in large graph databases via graph embedding
Zou, L., Chen, L., ÖZSU, M. T., & Zhao, D. (2011) · The VLDB Journal · doi:10.1007/s00778-011-0238-6 · Cited by 33
“Graph labeling technique enables the computation of shortest path distance in O(|E(G)|1/2) time, while the space cost is only O(|V (G)||E(G)|1/2) [9].”
BackgroundMethodInfluentialGiga-scale exhaustive points-to analysis for Java in under a minute
Dietrich, J. B., Hollingum, N., & Scholz, B. (2015) · Conference on Object-Oriented Programming Systems, Languages, and Applications · doi:10.1145/2814270.2814307 · Cited by 33
“2-HOP [8] and 3-HOP [15] are based on this idea, 3-HOP uses “highways” to compress reachability information, while 2-HOP uses single hub vertices.”
BackgroundA unified framework for effective team formation in social networks
Selvarajah, K., Zadeh, P. M., Kobti, Z., Palanichamy, Y., & Kargar, M. (2021) · Expert Systems with Applications · doi:10.1016/j.eswa.2021.114886 · Cited by 38
Dynamic Pickup and Delivery with Transfers
Bouros, P., Sacharidis, D., Dalamagas, T. M., & Sellis, T. (2011) · Lecture notes in computer science · doi:10.1007/978-3-642-22922-0_8 · Cited by 32
“There exist a number of materialization techniques [1, 19, 20] or encoding/labeling schemes [6, 7] that can be used to efficiently compute the shortest path.”
MethodEfficient processing of optimal meeting point queries in Euclidean space and road networks
Yan, D., Zhao, Z., & Ng, W. (2013) · Knowledge and Information Systems · doi:10.1007/s10115-013-0686-y · Cited by 31
ARROW: Approximating Reachability Using Random Walks Over Web-Scale Graphs
Sengupta, N., Bagchi, A., Ramanath, M., & Bedathur, S. (2019) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde.2019.00049 · Cited by 30
“a) Reachability on Static and Dynamic Graphs: A number of indexing and query processing strategies have been proposed for reachability [1], [12], [13], [16], [46], [50], [56], [57].”
BackgroundDelling, D., Goldberg, A. V., & Werneck, R. F. (2013) · Lecture notes in computer science · doi:10.1007/978-3-642-38527-8_4 · Cited by 43
“This paper focuses on hub labels (HL), a labeling algorithm [9, 15] developed by Abraham et al.”
MethodBeyond Highway Dimension: Small Distance Labels Using Tree Skeletons
Kosowski, A., & Viennot, L. (2017) · ACM-SIAM Symposium on Discrete Algorithms (SODA) · doi:10.1137/1.9781611974782.95 · Cited by 28
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.