...
首页> 外文期刊>SIAM Journal on Computing >Reachability and distance queries via 2-hop labels
【24h】

Reachability and distance queries via 2-hop labels

机译:通过2跳标签的可达性和距离查询

获取原文
获取原文并翻译 | 示例
           

摘要

Reachability and distance queries in graphs are fundamental to numerous applications, ranging from geographic navigation systems to Internet routing. Some of these applications involve huge graphs and yet require fast query answering. We propose a new data structure for representing all distances in a graph. The data structure is distributed in the sense that it may be viewed as assigning labels to the vertices, such that a query involving vertices u and v may be answered using only the labels of u and v. Our labels are based on 2-hop covers of the shortest paths, or of all paths, in a graph. For shortest paths, such a cover is a collection S of shortest paths such that, for every two vertices u and v, there is a shortest path from u to v that is a concatenation of two paths from S. We describe an efficient algorithm for finding an almost optimal 2-hop cover of a given collection of paths. Our approach is general and can be applied to directed or undirected graphs, exact or approximate shortest paths, or to reachability queries. We study the proposed data structure using a combination of theoretical and experimental means. We implemented our algorithm and checked the size of the resulting data structure on several real-life networks from different application areas. Our experiments show that the total size of the labels is typically not much larger than the network itself, and is usually considerably smaller than an explicit representation of the transitive closure of the network. [References: 13]
机译:图形中的可到达性和距离查询对于从地理导航系统到Internet路由的众多应用程序都是至关重要的。其中一些应用程序涉及巨大的图形,但需要快速查询答复。我们提出了一种新的数据结构,用于表示图中的所有距离。从某种意义上说,数据结构是分布式的,可以将其视为为顶点分配标签,从而可以仅使用u和v的标签来回答涉及顶点u和v的查询。我们的标签基于2跳覆盖图中最短路径或所有路径的总和。对于最短路径,这样的覆盖是最短路径的集合S,这样,对于u和v的每两个顶点,有一条从u到v的最短路径,是从S到两条路径的串联。我们描述了一种有效的算法找到给定路径集合的几乎最佳的两跳覆盖。我们的方法是通用的,可以应用于有向图或无向图,精确或近似的最短路径,或可及性查询。我们使用理论和实验手段相结合的方法研究提出的数据结构。我们实施了我们的算法,并在来自不同应用领域的多个实际网络上检查了所得数据结构的大小。我们的实验表明,标签的总大小通常不比网络本身大很多,并且通常比网络的传递闭包的显式表示小得多。 [参考:13]

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号