Efficient single-source shortest path and distance queries on large graphs
Authors:
Open Access
- 11 August 2013
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 998-1006
Abstract
This paper investigates two types of graph queries: single source distance (SSD) queries and 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 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. There are several 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 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.
Keywords
All Related Versions
This publication has 14 references indexed in Scilit:
- I/O-efficient shortest path algorithms for undirected graphs with random or bounded edge lengthsACM Transactions on Algorithms, 2012
- Meme-tracking and the dynamics of the news cycle2009
- Design and Implementation of a Practical I/O-efficient Shortest Paths Algorithm2009
- Engineering Route Planning Algorithms2009
- Via Detours to I/O-Efficient Shortest PathsLecture Notes in Computer Science, 2009
- Highway Hierarchies Hasten Exact Shortest Path Queries2005
- Fast Approximation of CentralityJournal of Graph Algorithms and Applications, 2004
- I/O-Efficient Undirected Shortest PathsLecture Notes in Computer Science, 2003
- Fast Estimation of Diameter and Shortest Paths (Without Matrix Multiplication)SIAM Journal on Computing, 1999
- A note on two problems in connexion with graphsNumerische Mathematik, 1959