English

Faster Walks in Graphs: A $\tilde O(n^2)$ Time-Space Trade-off for Undirected s-t Connectivity

Data Structures and Algorithms 2012-07-11 v3

Abstract

In this paper, we make use of the Metropolis-type walks due to Nonaka et al. (2010) to provide a faster solution to the SS-TT-connectivity problem in undirected graphs (USTCON). As our main result, we propose a family of randomized algorithms for USTCON which achieves a time-space product of ST=O~(n2)S\cdot T = \tilde O(n^2) in graphs with nn nodes and mm edges (where the O~\tilde O-notation disregards poly-logarithmic terms). This improves the previously best trade-off of O~(nm)\tilde O(n m), due to Feige (1995). Our algorithm consists in deploying several short Metropolis-type walks, starting from landmark nodes distributed using the scheme of Broder et al. (1994) on a modified input graph. In particular, we obtain an algorithm running in time O~(n+m)\tilde O(n+m) which is, in general, more space-efficient than both BFS and DFS. We close the paper by showing how to fine-tune the Metropolis-type walk so as to match the performance parameters (e.g., average hitting time) of the unbiased random walk for any graph, while preserving a worst-case bound of O~(n2)\tilde O(n^2) on cover time.

Keywords

Cite

@article{arxiv.1204.1136,
  title  = {Faster Walks in Graphs: A $\tilde O(n^2)$ Time-Space Trade-off for Undirected s-t Connectivity},
  author = {Adrian Kosowski},
  journal= {arXiv preprint arXiv:1204.1136},
  year   = {2012}
}

Comments

Version 3 makes use of the Metropolis-Hastings walk