Abstract
We study the relationship between undirected graph reachability and graph connectivity, in the context of randomized LOGSPACE algorithms. Aleluinas et al. [2] show that graph reachability (checking whether there is a path connecting vertices S and T) can be decided in logarithmic space and polynomial time, by starting a random walk at S, and checking whether T is hit within some time limit. The random algorithm has one-sided error (with small probability, it fails to determine that S and T are connected). The reachability algorithm may be used in order to decide (with one sided error) whether a graph is connected, by running it n−1 times, each time with a different target vertex T. This increases the running time by a factor of n. In this paper we give an alternative RLOGSPACE algorithm for graph connectivity. Its running time varies between O(n 2) steps and O(n3) steps, depending on the structure of the input graph. This matches the fastest known RLOGSPACE algorithm for reachability, up to a constant factor. Our algorithm has two-sided error.
Supported by a Koret Foundation fellowship.
Preview
Unable to display preview. Download preview PDF.
References
D. J. Aldous. “Reversible Markov chains and random walks on graphs”. Draft of first six chapters of book, January 26, 1993.
R. Aleliunas, R. M. Karp, R. J. Lipton, L. Lovász, and C. Rackoff. “Random walks, universal traversal sequences, and the complexity of maze problems”. In 20th FOCS, 218–223, 1979.
G. Barnes and U. Feige. “Short Random Walks on Graphs”. In 25th STOC, 728–737, 1993.
L. Carter and M. Wegman. “Universal Hash Functions”. JCSS, 18(2): 145–154, 1979.
D. Coppersmith, U. Feige, and J. Shearer. “Random Walks on Regular and Irregular Graphs”. Technical report CS93-15, the Weizmann Institute, Israel, 1993.
U. Feige. “A Randomized Time-Space Tradeoff of Õ(mR) for USTCON”. In 34th FOCS, 238–246, 1993.
U. Feige, D. Peleg, P. Raghavan, and E. Upfal. “Computing With Unreliable Information”. In 22nd STOC, 128–137, 1990.
M. Sipser. “A Complexity Theoretic Approach to Randomness”. In 15th STOC, 330–335, 1983.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1994 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Feige, U. (1994). A fast randomized LOGSPACE algorithm for graph connectivity. In: Abiteboul, S., Shamir, E. (eds) Automata, Languages and Programming. ICALP 1994. Lecture Notes in Computer Science, vol 820. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-58201-0_93
Download citation
DOI: https://doi.org/10.1007/3-540-58201-0_93
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-58201-4
Online ISBN: 978-3-540-48566-7
eBook Packages: Springer Book Archive