arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1306.1153cs.DBcs.DS
收藏

大型图上有效的单源最短路和距离最短化

Efficient Single-Source Shortest Path and Distance Queries on Large Graphs

Andy Diwen Zhu, Xiaokui Xiao, Sibo Wang, Wenqing Lin

摘要:

本文研究了两种类型的图查询:{ \em单源距离(SSD)}查询和{ \em单源最短路径(SSSP)}查询。给定图$G$中的节点$v$,来自$v$的SSD查询询问从$v$到$G$中的任何其他节点的距离,而SSSP查询检索从$v$到任何其他节点的最短路径。这两种类型的查询是许多图算法的基本构建块,并且它们在图分析中找到重要的应用,特别是在图测量的计算中。然而,大多数现有的SSD和SSSP查询解决方案要求输入图适合主存储器,这使得它们不适用于Web和社交应用中常用的大量磁盘驻留图。唯一的例外是一些旨在提高I/O效率的技术,但它们都专注于无向和/或无权图,并且它们只提供次优的查询效率。为了解决现有工作的不足,本文提出了{ \em Highways-on-Disk(HoD)},一个基于磁盘的索引,支持SSD和SSSP查询有向图和加权图。HoD的核心思想是用一组辅助边来增强输入图,并在查询处理过程中利用它们来减少I/O和计算成本。我们的实验评估HoD的有向和无向的现实世界的图与高达数十亿的节点和边缘,我们证明,HoD显着优于其他解决方案的查询效率。

英文摘要:

This paper investigates two types of graph queries: {\em single source distance (SSD)} queries and {\em single source shortest path (SSSP)} queries. Given a node $v$ in a graph $G$, an SSD query from $v$ asks for the distance from $v$ to any other node in $G$, while an SSSP query retrieves the shortest path from $v$ to any other node. These two types of queries are fundamental building blocks of numerous graph algorithms, and they find important applications in graph analysis, especially in the computation of graph measures. Most of the existing solutions for SSD and SSSP queries, however, require that the input graph fits in the main memory, which renders them inapplicable for the massive disk-resident graphs commonly used in web and social applications. The only exceptions are a few techniques that are designed to be I/O efficient, but they all focus on undirected and/or unweighted graphs, and they only offer sub-optimal query efficiency. To address the deficiency of existing work, this paper presents {\em Highways-on-Disk (HoD)}, a disk-based index that supports both SSD and SSSP queries on directed and weighted graphs. The key idea of HoD is to augment the input graph with a set of auxiliary edges, and exploit them during query processing to reduce I/O and computation costs. We experimentally evaluate HoD on both directed and undirected real-world graphs with up to billions of nodes and edges, and we demonstrate that HoD significantly outperforms alternative solutions in terms of query efficiency.

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

↑