We reconsider basic algorithmic graph problems in a setting where an n-vertex input graph is read-only and the computation must take place in a working memory of O(n) bits or little more than that. For computing connected components and performing breadth-first search, we match the running times of standard algorithms that have no memory restrictions, for depth-first search and related problems we come within a factor of \Theta(\log\log n), and for computing minimum spanning forests and single-source shortest-paths trees we come close for sparse input graphs.
@InProceedings{elmasry_et_al:LIPIcs.STACS.2015.288, author = {Elmasry, Amr and Hagerup, Torben and Kammer, Frank}, title = {{Space-efficient Basic Graph Algorithms}}, booktitle = {32nd International Symposium on Theoretical Aspects of Computer Science (STACS 2015)}, pages = {288--301}, series = {Leibniz International Proceedings in Informatics (LIPIcs)}, ISBN = {978-3-939897-78-1}, ISSN = {1868-8969}, year = {2015}, volume = {30}, editor = {Mayr, Ernst W. and Ollinger, Nicolas}, publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik}, address = {Dagstuhl, Germany}, URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.STACS.2015.288}, URN = {urn:nbn:de:0030-drops-49217}, doi = {10.4230/LIPIcs.STACS.2015.288}, annote = {Keywords: graph algorithms, depth-first search, single-source shortest paths, register input model} }
Feedback for Dagstuhl Publishing