计算机科学 ›› 2013, Vol. 40 ›› Issue (Z6): 299-301.

• 无线网络与通信 • 上一篇    下一篇

一种改进的K-Reach索引的快速创建算法

刘凯洋   

  1. 深圳职业技术学院计算机工程学院 深圳518055
  • 出版日期:2018-11-16 发布日期:2018-11-16

Improved Construction Algorithm for K-Reach Index

LIU Kai-yang   

  • Online:2018-11-16 Published:2018-11-16

摘要: 基于经典网络可达性问题的k可达性问题对于无线网络、社交网络等新型网络具有重要意义。最新提出的K-Reach[1]可以快速地计算任意两个顶点之间是否存在长度小于为k的路径。注意到随着K-Reach索引的逐步建立,已经计算过的顶点包含其所有可达顶点的路径信息。因此,提出一种改进的K-Reach索引创建算法,其充分利用了这些路径信息,避免了重复访问大量顶点,从而提升了算法效率。通过对不同实际数据进行的实验表明,改进算法所用时间明显小于原始算法。

关键词: 可达性,K-Reach索引,优化算法

Abstract: The k-rechability problem is of great importance for newly emerged wireless and social network.The.latest proposed index K-Reach can quickly answer the problem of whether there exists a path of length less or equal than k between any pair of vertices.Notice that during the construction of the index,all vertices which are reachable by a computed vertex have been traversed,and the path information is recorded in the index.Therefore,an improved construction algorithm is proposed to avoid the repeated visiting of a large amount of vertices by making fully use of the path information of the computed vertices.Experiments based on a set of real-life data have demonstrated that the time complexity of the improved algorithm is significantly lower than the original construction algorithm.

Key words: Rechibility,K-Reach index,Algorithm optimization

[1] Cheng J,Shang Ze-chao,Cheng Hong,et al.K-Reach:Who is in Your Small World [C]∥Proceedings’ of the 38th International Conference on Very Large Databases.2012:1292-1303
[2] Cheng J,Ke Yi-ping,Chu Shu-mo,et al.Efficient processing ofdistance queries in large graphs:a vertex cover approach [C]∥Proceedings of the ACM SIGMOD International Conference on Management of Data.2012:457-468
[3] Jin Ruo-ming,Yang Xiang,Ruan Ning,et al.Path-Tree:An Efficient Reachability Indexing Scheme for Large Directed Graphs [J].ACM Transactions on Database Systems,2011(36):1-7
[4] Jin Ruo-ming,Yang Xiang,Ruan Ning,et al.3-HOP:a high compression indexing scheme for reachability query [C]∥Proceedings of the ACM SIGMOD International Conference on Management of Data.SIGMOD 2009:813-826
[5] Stanford Large Network Dataset Collection.http://snap.stanford.edu/data/index.html
[6] Chen Yang-jun.An Efficient Algorithm for Answering GraphRechability Queries [C]∥Proceedings of the IEEE 24th International Conference on Data(ICDE).2008:893-902
[7] Cheng J,Ke Yi-ping,Fu A W-C,et al.Graph Query Processing with a Low-cost Index [J].VLDB Journal,2011,20(4):521-539
[8] Nutanonong S,Jacox E H,Samet J H.Distance-constraint Re-achability Computation in Uncertain Graphs [C]∥Proceedings of the 37th International Conference on Very Large Databases.2011,4:506-517
[9] van Schaik S,de Moor O.A Memory Efficient Reachability Data Structure Through Bit Vector Compression [C]∥Proceedings of the ACM SIGMOD International Conference on Management of Data.2011:913-924
[10] Jin Ruo-ming,Ruan Ning,Dey S,et al.SCARAB:Scaling Reachability Computation on Large Graphs [C]∥Proceedings of the ACM SIGMOD International Conference on Management of Data.2012:169-180

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!