Efficient Reachability Ratio Computation for 2-Hop Labeling Scheme
Open Access
- 28 February 2023
- journal article
- research article
- Published by MDPI AG in Electronics
- Vol. 12 (5) , 1178
Abstract
Reachability queries processing has been extensively studied during the past decades. Many approaches have followed the line of designing 2-hop labels to ensure acceleration. Considering its index size cannot be bounded, researchers have proposed to use a part of nodes to construct partial 2-hop labels (p2HLs) to cover as much reachability information as possible. We achieved better query performance using p2HLs with a limited index size and index construction time. However, the adoption of p2HLs was based on intuition, and the number of nodes used to generate p2HLs was fixed in advance blindly, without knowing its applicability. In this paper, we focused on the problem of efficiently computing a reachability ratio (RR) in order to obtain RR-aware p2HLs. Here, RR denoted the ratio of the number of reachable queries that could be answered by p2HLs over the total number of reachable queries involved in a given graph. Based on the RR, users could determine whether p2HLs should be used to answer the reachability queries for a given graph and how many nodes should be chosen to generate p2HLs. We discussed the difficulties of RR computation and propose an incremental-partition algorithm for RR computation. Our rich experimental results showed that our algorithm could efficiently obtain the RR and the overall effects on query performance by different p2HLs. Based on the experimental results, we provide our findings on the use p2HLs for a given graph for processing reachability queries.Keywords
All Related Versions
Funding Information
- Natural Science Foundation of Shanghai Municipality (20ZR1402700, 61472339, 61873337)
- Natural Science Foundation of China (20ZR1402700, 61472339, 61873337)
This publication has 21 references indexed in Scilit:
- Reachability queryingProceedings of the VLDB Endowment, 2014
- Reachability queries on large dynamic graphs2014
- Simple, fast, and scalable reachability oracleProceedings of the VLDB Endowment, 2013
- TF-Label2013
- FERRARI: Flexible and efficient reachability range assignment for graph indexing2013
- SCARAB2012
- GRAILProceedings of the VLDB Endowment, 2010
- Reachability and Distance Queries via 2-Hop LabelsSIAM Journal on Computing, 2003
- An improved algorithm for transitive closure on acyclic digraphsTheoretical Computer Science, 1988
- Depth-First Search and Linear Graph AlgorithmsSIAM Journal on Computing, 1972