Skip to main content

External Memory Algorithms for Finding Disjoint Paths in Undirected Graphs

  • Conference paper
  • First Online:
SOFSEM 2018: Theory and Practice of Computer Science (SOFSEM 2018)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 10706))

  • 1269 Accesses

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 st 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 st 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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Aggarwal, A., Vitter, J.S.: The input/output complexity of sorting and related problems. Commun. ACM 31(9), 1116–1127 (1988)

    Article  MathSciNet  Google Scholar 

  2. 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

    Chapter  Google Scholar 

  3. 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)

    Google Scholar 

  4. Goldberg, A.V., Rao, S.: Flows in undirected unit capacity networks. SIAM J. Discret. Math. 12(1), 1–5 (1999)

    Article  MathSciNet  MATH  Google Scholar 

  5. 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)

    Google Scholar 

  6. 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)

    Google Scholar 

  7. 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

    MATH  Google Scholar 

  8. 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)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ignat Kolesnichenko .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer International Publishing AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics