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 条
  • [41] BL: An Efficient Index for Reachability Queries on Large Graphs
    Yu, Changyong
    Ren, Tianmei
    Li, Wenyu
    Liu, Huimin
    Ma, Haitao
    Zhao, Yuhai
    IEEE TRANSACTIONS ON BIG DATA, 2024, 10 (02) : 108 - 121
  • [42] Answering pattern match queries in large graph databases via graph embedding
    Zou, Lei
    Chen, Lei
    Oezsu, M. Tamer
    Zhao, Dongyan
    VLDB JOURNAL, 2012, 21 (01): : 97 - 120
  • [43] Answering pattern match queries in large graph databases via graph embedding
    Lei Zou
    Lei Chen
    M. Tamer Özsu
    Dongyan Zhao
    The VLDB Journal, 2012, 21 : 97 - 120
  • [44] Answering Billion-Scale Label-Constrained Reachability Queries within Microsecond
    Peng, You
    Zhang, Ying
    Lin, Xuemin
    Qin, Lu
    Zhang, Wenjie
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2020, 13 (06): : 812 - 825
  • [45] Answering Top-k Representative Queries on Graph Databases
    Ranu, Sayan
    Minh Hoang
    Singh, Ambuj
    SIGMOD'14: PROCEEDINGS OF THE 2014 ACM SIGMOD INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2014, : 1163 - 1174
  • [46] MiniCon: A scalable algorithm for answering queries using views
    Pottinger, R
    Halevy, A
    VLDB JOURNAL, 2001, 10 (2-3): : 182 - 198
  • [47] Efficient SPARQL Queries Generator for Question Answering Systems
    Chen, Yi-Hui
    Lu, Eric Jui-Lin
    Lin, Ying-Yen
    IEEE ACCESS, 2022, 10 : 99850 - 99860
  • [48] MiniCon: A scalable algorithm for answering queries using views
    Pottinger R.
    Halevy A.
    The VLDB Journal, 2001, 10 (2) : 182 - 198
  • [49] Efficient Answering of k-Reachability on Temporal Bipartite Graphs
    Xu, Zhuoqing
    Yang, Zhengyi
    Chen, Xiaoshuang
    He, Huangleshuai
    Cao, Xin
    DATABASES THEORY AND APPLICATIONS, ADC 2024, 2025, 15449 : 224 - 238
  • [50] APPQKW: An Efficient Algorithm for Processing Path Queries on the Knowledge Graph under Ecosystem
    Li, Jie
    Wu, Fada
    Yang, Xu
    Chen, Yijun
    EKOLOJI, 2019, 28 (107): : 2031 - 2040