Abstract
Consider the following well-known combinatorial problem: given an undirected graph \(G = (V,E)\), terminals \(s, t \in V\), and an integer \(k \ge 1\), find k edge-disjoint s–t paths in G or report that such paths do not exist.
We study this problem in the external memory (EM) model of Agrawal and Vitter, i.e. assume that only M words of random access memory (RAM) are available while the graph resides in EM, which enables reading and writing contiguous blocks of B words per single I/O. The latter external memory is also used for storing the output and some intermediate data.
For \(k = 1\), the problem consists in finding a single s–t path in an undirected graph and can be solved in \(Conn(V,E) = O\left( \frac{V+E}{V}\right. \left. Sort(V) \log \log \frac{VB}{E}\right) \) I/Os, where \(Sort(N) = O\left( \frac{N}{B}\log _{M/B} \frac{N}{B}\right) \) is the complexity of sorting N words in external memory.
Our contribution is two novel EM algorithms that solve the problem for \(k \le \frac{M}{B}\). The first takes \(O(k \cdot Conn(V,E))\) I/Os. The second one applies the ideas of Ibaraki–Nagamochi sparse connectivity certificates and takes \(O\left( (Sort(V+E) + k \cdot Conn(V,kV)) \cdot \log \frac{V}{M}\right) \) I/Os, which improves upon the first bound for sufficiently dense graphs.
Both algorithms outperform the naive approach based on successive BFS- or DFS-augmentations for a wide range of parameters \(| V |\), \(| E |\), M, B.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Aggarwal, A., Vitter, J.S.: The input/output complexity of sorting and related problems. Commun. ACM 31(9), 1116–1127 (1988)
Babenko, M.: Flow decompositions in external memory. In: van Emde Boas, P., Groen, F.C.A., Italiano, G.F., Nawrocki, J., Sack, H. (eds.) SOFSEM 2013. LNCS, vol. 7741, pp. 146–156. Springer, Heidelberg (2013). https://doi.org/10.1007/978-3-642-35843-2_14
Chiang, Y.-J., Goodrich, M.T., Grove, E.F., Tamassia, R., Vengroff, D.E., Vitter, J.S.: External-memory graph algorithms. In: Proceedings of the Sixth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 1995, pp. 139–149 (1995)
Goldberg, A.V., Rao, S.: Flows in undirected unit capacity networks. SIAM J. Discret. Math. 12(1), 1–5 (1999)
Karger, D.R., Levine, M.S.: Finding maximum flows in undirected graphs seems easier than bipartite matching. In: Proceedings of the Thirtieth Annual ACM Symposium on Theory of Computing, STOC 1998, pp. 69–78, ACM, New York (1998)
Munagala, K., Ranade, A.: I/O-complexity of graph algorithms. In: Proceedings of the Tenth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 1999, pp. 687–694. Society for Industrial and Applied Mathematics, Philadelphia (1999)
Meyer, U., Sanders, P., Sibeyn, J.F. (eds.): Algorithms for Memory Hierarchies: Advanced Lectures. LNCS, vol. 2625. Springer, Heidelberg (2003). https://doi.org/10.1007/3-540-36574-5
Nagamochi, H., Ibaraki, T.: A linear-time algorithm for finding a sparse k-connected spanning subgraph of a k-connected graph. Algorithmica 7(5&6), 583–596 (1992)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer International Publishing AG
About this paper
Cite this paper
Babenko, M., Kolesnichenko, I. (2018). External Memory Algorithms for Finding Disjoint Paths in Undirected Graphs. In: Tjoa, A., Bellatreche, L., Biffl, S., van Leeuwen, J., Wiedermann, J. (eds) SOFSEM 2018: Theory and Practice of Computer Science. SOFSEM 2018. Lecture Notes in Computer Science(), vol 10706. Edizioni della Normale, Cham. https://doi.org/10.1007/978-3-319-73117-9_21
Download citation
DOI: https://doi.org/10.1007/978-3-319-73117-9_21
Published:
Publisher Name: Edizioni della Normale, Cham
Print ISBN: 978-3-319-73116-2
Online ISBN: 978-3-319-73117-9
eBook Packages: Computer ScienceComputer Science (R0)