arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.02715cs.DB
收藏

一种有效的两跳标记方案可达比计算

Efficient Reachability Ratio Computation for 2-hop Labeling Scheme

Junfeng Zhou, Xian Tang, Ming Du

摘要:

可达性查询处理作为图的基本操作之一,在过去的几十年里得到了广泛的研究。许多方法遵循设计2跳标签的路线来进行加速。考虑到使用所有节点构造2跳标签时索引大小无法有界,研究者提出使用部分重要节点构造2跳标签(部分2跳标签),以覆盖尽可能多的可达性信息。然后,我们可以实现更好的查询性能与有限的索引大小和索引的建设时间。然而,部分2跳标签并不总是在不同的图上表现良好。在本文中,我们专注于如何有效地计算可达性比率的问题,以帮助用户确定是否部分2跳标签应用于回答给定图的可达性查询。直观地说,可达性比率表示可以由部分2跳标签回答的可达查询的数量与给定图中涉及的可达查询的总数的比率。讨论了可达比计算的困难,提出了一种增量-分区算法。实验结果表明,该算法能够有效地得到可达性比的结果,并说明了不同的部分2跳标签对查询性能的影响。基于实验结果,我们给出了我们的发现,部分2跳标签是否应该使用到给定的图可达性查询处理。

英文摘要:

As one of the fundamental graph operations, reachability queries processing has been extensively studied during the past decades. Many approaches followed the line of designing 2-hop labels to make acceleration. Considering that the index size cannot be bounded when using all nodes to construct 2-hop labels, researchers proposed to use a part of important nodes to construct 2-hop labels (partial 2-hop labels) to cover as much reachability information as possible. Then, we may achieve better query performance with limited index size and index construction time. However, partial 2-hop labels do not always perform well on different graphs. In this paper, we focus on the problem of how to efficiently compute reachability ratio, such that to help users determine whether partial 2-hop labels should be used to answer reachability queries for the given graph. Intuitively, reachability ratio denotes the ratio of the number of reachable queries that can be answered by partial 2-hop labels over the total number of reachable queries involved in the given graph. We discuss the difficulties of reachability ratio computation, and propose an incremental-partition algorithm for reachability ratio computation. We show by rich experimental results that our algorithm can efficiently get the result of reachability ratio, and show how the overall query performance is affected by different partial 2-hop labels. Based on the experimental results, we give out our findings on whether partial 2-hop labels should be used to the given graph for reachability queries processing.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑