通信学报 ›› 2015, Vol. 36 ›› Issue (8): 50-60.doi: 10.11959/j.issn.1000-436x.2015230

• 学术论文 • 上一篇    下一篇

BiRch:一种处理k步可达性查询的双向搜索算法

周军锋1,2,陈伟1,费春苹1,陈子阳1,2   

  1. 1 燕山大学 信息科学与工程学院,河北 秦皇岛 066004
    2 河北省计算机虚拟技术与系统集成重点实验室,河北 秦皇岛 066004
  • 出版日期:2015-08-25 发布日期:2015-08-25
  • 基金资助:
    :国家自然科学基金资助项目;:国家自然科学基金资助项目;:国家自然科学基金资助项目;:国家自然科学基金资助项目;河北省教育厅研究计划基金资助项目

BiRch:a bidirectional search algorithm for k-step reachability queries

Jun-feng ZHOU1,2,Wei CHEN1,Chun-ping FEI1,Zi-yang CHEN1,2   

  1. 1 School of Information Science and Engineering,Yanshan University,Qinhuangdao 066004,China
    2 Key Laboratory for Computer Virtual Technology and System Integration of Hebei Province,Qinhuangdao 066004,China
  • Online:2015-08-25 Published:2015-08-25
  • Supported by:
    The Natural National Science Foundation of China;The Natural National Science Foundation of China;The Natural National Science Foundation of China;The Natural National Science Foundation of China;The Research Funds from Education Department of Hebei Province

摘要:

针对现有方法低效或索引规模庞大的问题,提出一种双向搜索算法BiRch。当判断顶点u是否满足k步可达顶点v时,首先比较u的出度和v的入度,优先处理度小的顶点。其优点体现在使用较小的索引,同时避免由于u的出度过大所需要访问的顶点数量。基于 19 个真实数据集进行测试,实验结果从索带来的效率下降问题;提出基于双向广度层数和双向拓扑层数的剪枝策略来辅助过滤,减少引构建时间、索引大小、查询响应时间、处理顶点数量以及扩展性方面验证了所提方法相对于现有方法的高效性。

关键词: k步可达性查询, 双向搜索, 广度层数, 拓扑层数

Abstract:

A new bidirectional processing algorithm,namely BiRch was proposed.When checking whether a vertex u can reach v within k steps,BiRch firstly compared the out-degree of u and the in-degree of v,and processed the one with smaller degree,such that to avoid large indexes and the inefficiency due to large degree.Two pruning strategies were proposed based on bidirectional breadth-first levels and bidirectional topological levels,such that to reduce the number of visited vertexes.Experimental results on 19 real datasets verify the efficiency of the proposed method in terms of different metrics,including indexing time,index size,query processing time,the number of visited vertexes,and scalability.

Key words: k-step reachability query, bidirectional search, breadth level, topological level

No Suggested Reading articles found!