skip to main content
research-article

Min st-Cut Oracle for Planar Graphs with Near-Linear Preprocessing Time

Published:13 January 2015Publication History
Skip Abstract Section

Abstract

For an undirected n-vertex planar graph G with nonnegative edge weights, we consider the following type of query: given two vertices s and t in G, what is the weight of a min st-cut in G? We show how to answer such queries in constant time with O(n log4 n) preprocessing time and O(n log n) space. We use a Gomory-Hu tree to represent all the pairwise min cuts implicitly. Previously, no subquadratic time algorithm was known for this problem. Since all-pairs min cut and the minimum-cycle basis are dual problems in planar graphs, we also obtain an implicit representation of a minimum-cycle basis in O(n log4 n) time and O(n log n) space. Additionally, an explicit representation can be obtained in O(C) time and space where C is the size of the basis.

These results require that shortest paths are unique. This can be guaranteed either by using randomization without overhead or deterministically with an additional log2 n factor in the preprocessing times.

References

  1. S. Alstrup, J. Holm, K. de Lichtenberg, and M. Thorup. 2005. Maintaining information in fully dynamic trees with top trees. ACM Transactions on Algorithms 1, 2 (2005), 243--264. DOI:http://dx.doi.org/10.1145/1103963.1103966 Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. E. Amaldi, C. Iuliano, T. Jurkiewicz, K. Mehlhorn, and R. Rizzi. 2009. Breaking the O(m2n) barrier for minimum cycle bases. In Proceedings of the 17th European Symposium on Algorithms (Lecture Notes in Computer Science), A. Fiat and P. Sanders (Eds.). 301--312.Google ScholarGoogle Scholar
  3. A. Bhalgat, R. Hariharan, D. Panigrahi, and K. Telikepalli. 2007. An Õ(mn) Gomory-Hu tree construction algorithm for unweighted graphs. In Proceedings of the 39th Annual ACM Symposium on Theory of Computing. 605--614. DOI:http://dx.doi.org/10.1145/1250790.1250879 Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. J. Fakcharoenphol and S. Rao. 2006. Planar graphs, negative weight edges, shortest paths, and near linear time. Journal of Computer and System Sciences 72, 5 (2006), 868--889. DOI:http://dx.doi.org/10.1016/j.jcss.2005.05.007 Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. R. Gomory and T. Hu. 1961. Multi-terminal network flows. Journal of SIAM 9, 4 (1961), 551--570. DOI:http://dx.doi.org/10.1137/0109047Google ScholarGoogle Scholar
  6. D. Hartvigsen and R. Mardon. 1994. The all-pairs min cut problem and the minimum cycle basis problem on planar graphs. SIAM Journal on Discrete Mathematics 7, 3 (1994), 403--418. DOI:http://dx.doi.org/10.1137/S0895480190177042 Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. M. R. Henzinger, P. N. Klein, S. Rao, and S. Subramanian. 1997. Faster shortest-path algorithms for planar graphs. Journal of Computer and System Sciences 55, 1 (1997), 3--23. DOI:http://dx.doi.org/10.1145/195058.195092 Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. J. Horton. 1987. A polynomial time algorithm to find the shortest cycle basis of a graph. SIAM Journal on Computing 16 (1987), 358--366. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. A. Itai and Y. Shiloach. 1979. Maximum flow in planar networks. SIAM Journal on Computing 8 (1979), 135--150.Google ScholarGoogle ScholarCross RefCross Ref
  10. G. Italiano, Y. Nussbaum, P. Sankowski, and C. Wulff-Nilsen. 2011. Improved algorithms for min cut and max flow in undirected planar graphs. In Proceedings of the 43rd Annual ACM Symposium on Theory of Computing (STOC'11). ACM, New York, NY, 313--322. DOI:http://dx.doi.org/10.1145/1993636.1993679 Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. G. Kant and H. Bodlaender. 1992. Triangulating planar graphs while minimizing the maximum degree. In Algorithm Theory -- SWAT'92, Otto Nurmi and Esko Ukkonen (Eds.). Lecture Notes in Computer Science, Vol. 621. Springer Berlin/Heidelberg, 258--271. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. H. Kaplan and N. Shafrir. 2008. Path minima in incremental unrooted trees. In Proceedings of the 16th European Symposium on Algorithms (Lecture Notes in Computer Science). 565--576. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. G. Kirchhoff. 1847. Ueber die Auflösung der Gleichungen, auf welche man bei der Untersuchung der linearen Vertheilung galvanischer Ströme geführt wird. Poggendorf Ann. Physik 72 (1847), 497--508. English transl. in Trans. Inst. Radio Engrs. CT-5 (1958), pp. 4--7.Google ScholarGoogle ScholarCross RefCross Ref
  14. P. Klein, S. Mozes, and C. Sommer. 2013. Structured recursive separator decompositions for planar graphs in linear time. In Proceedings of the 45th Annual ACM Symposium on Theory of Computing. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. P. N. Klein. 2005. Multiple-source shortest paths in planar graphs. In Proceedings of the 16th Annual ACM-SIAM Symposium on Discrete Algorithms. 146--155. DOI:http://dx.doi.org/10.1145/1070454 Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. D. E. Knuth. 1968. The Art of Computer Programming. Vol. 1. Addison-Wesley.Google ScholarGoogle Scholar
  17. G. L. Miller. 1986. Finding small simple cycle separators for 2-connected planar graphs. Journal of Computer and System Sciences 32, 3 (1986), 265--279. DOI:http://dx.doi.org/10.1016/0022-0000(86)90030-9 Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. K. Mulmuley, V. Vazirani, and U. Vazirani. 1987. Matching is as easy as matrix inversion. Combinatorica 7, 1 (1987), 345--354. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. J. Reif. 1983. Minimum s-t cut of a planar undirected network in O(n log2 n) time. SIAM Journal on Computing 12, 1 (1983), 71--81. DOI:http://dx.doi.org/SICOMP/volume-12/art_0212005.htmlGoogle ScholarGoogle ScholarCross RefCross Ref
  20. H. Whitney. 1933. Planar graphs. Fundamenta Mathematicae 21 (1933), 73--84.Google ScholarGoogle ScholarCross RefCross Ref

Index Terms

  1. Min st-Cut Oracle for Planar Graphs with Near-Linear Preprocessing Time

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in

    Full Access

    • Published in

      cover image ACM Transactions on Algorithms
      ACM Transactions on Algorithms  Volume 11, Issue 3
      January 2015
      269 pages
      ISSN:1549-6325
      EISSN:1549-6333
      DOI:10.1145/2721890
      Issue’s Table of Contents

      Copyright © 2015 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 13 January 2015
      • Accepted: 1 September 2013
      • Revised: 1 June 2013
      • Received: 1 November 2012
      Published in talg Volume 11, Issue 3

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article
      • Research
      • Refereed

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader