An efficient algorithm for answering graph reachability queries

被引:58
|
作者
Chen, Yangjun [1 ]
Chen, Yibin [1 ]
机构
[1] Univ Winnipeg, Depl Appl Comp Sci, 515 Portage Ave, Winnipeg, MB R3B 2E9, Canada
来源
2008 IEEE 24TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING, VOLS 1-3 | 2008年
关键词
TRANSITIVE CLOSURE; TIME;
D O I
10.1109/ICDE.2008.4497498
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Given a directed graph G, to check whether a node v is reachable from another node u through a path is often required. In a database system, such an operation is called a recursion computation or reachability checking and not efficiently supported. The reason for this is that the space to store the whole transitive closure of G is prohibitively high. In this paper, we address this issue and propose an O(n(2) + bn root b) time algorithm to decompose a directed acyclic graph (DAG) into a minimized set of disjoint chains to facilitate reachability checking, where n is the number of the nodes and b is the DAG's width, defined to be the size of a largest node subset U of the DAG such that for every pair of nodes u, v epsilon U, there does not exist a path from u to v or from v to u. Using this algorithm, we are able to label a graph in O(be) time and store all the labels in O(bn) space with O(logb) reachability checking time, where e is the number of the edges of the DAG The method can also be extended to handle cyclic directed graphs. Experiments have been performed, showing that our method is promising.
引用
收藏
页码:893 / +
页数:2
相关论文
共 50 条
  • [1] Efficient Processing Algorithm for Reachability Queries Based on Big Graph
    Chen Z.-Y.
    Chen W.
    Li N.
    Zhou J.-F.
    Jisuanji Xuebao/Chinese Journal of Computers, 2019, 42 (03): : 582 - 595
  • [2] Answering Location-Aware Graph Reachability Queries on GeoSocial Data
    Sarwat, Mohamed
    Sun, Yuhan
    2017 IEEE 33RD INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE 2017), 2017, : 207 - 210
  • [3] Efficient Ontological Query Answering by Rewriting into Graph Queries
    Dimartino, Mirko Michele
    Cali, Andrea
    Poulovassilis, Alexandra
    Wood, Peter T.
    FLEXIBLE QUERY ANSWERING SYSTEMS, 2019, 11529 : 75 - 84
  • [4] Efficient Graph Reachability Query Answering Using Tree Decomposition
    Wei, Fang
    REACHABILITY PROBLEMS, 2010, 6227 : 183 - 197
  • [5] Graph Indexing for Reachability Queries
    Yildirim, Hilmi
    Zaki, Mohammed J.
    2010 IEEE 26TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING WORKSHOPS (ICDE 2010), 2010, : 321 - 324
  • [6] DAG Reduction: Fast Answering Reachability Queries
    Zhou, Junfeng
    Zhou, Shijie
    Yu, Jeffrey Xu
    Wei, Hao
    Chen, Ziyang
    Tang, Xian
    SIGMOD'17: PROCEEDINGS OF THE 2017 ACM INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2017, : 375 - 390
  • [7] Graph Indexing for Efficient Evaluation of Label-constrained Reachability Queries
    Chen, Yangjun
    Singh, Gagandeep
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2021, 46 (02):
  • [8] Decentralized Graph Processing for Reachability Queries
    Mathys, Joel
    Fritsch, Robin
    Wattenhofer, Roger
    ADVANCED DATA MINING AND APPLICATIONS (ADMA 2022), PT I, 2022, 13725 : 505 - 519
  • [9] Fast Reachability Queries Answering Based on RCN Reduction
    Zhou, Junfeng
    Yu, Jeffrey Xu
    Qiu, Yaxian
    Tang, Xian
    Chen, Ziyang
    Du, Ming
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2023, 35 (03) : 2590 - 2609
  • [10] Efficient In-Memory Evaluation of Reachability Graph Pattern Queries on Data Graphs
    Wu, Xiaoying
    Theodoratos, Dimitri
    Skoutas, Dimitrios
    Lan, Michael
    DATABASE SYSTEMS FOR ADVANCED APPLICATIONS, DASFAA 2022, PT I, 2022, : 55 - 71