skip to main content
10.1145/73007.73060acmconferencesArticle/Chapter ViewAbstractPublication PagesstocConference Proceedingsconference-collections
Article
Free Access

Expanding graphs and the average-case analysis of algorithms for matchings and related problems

Authors Info & Claims
Published:01 February 1989Publication History

ABSTRACT

Hall's Theorem states that a bipartite graph has a perfect matching if and only if every set of vertices has an equal number of neighbours. Equivalently, it states that every non-maximum matching has an augmenting path if the graph is an expander with expansion 1. We use this insight to demonstrate that if a graph is an expander with expansion more than one than every non-maximum matching has a short augmenting path and, therefore, the bipartite matching algorithm performs much better on such graphs than in the worst case. We then apply this idea to the average case analysis of various augmenting path algorithms and to the approximation of the permanent. In particular, we demonstrate that the following algorithms perform much better on the average than in the worst case. In fact, they will rarely exhibit their worst-case running times.

  • Hopcroft-Karp's algorithm for bipartite matchings.

  • Micali-Vazirani's and Even-Kariv's algorithms for non-bipartite matchings.

  • Gabow-Tarjan's parallel algorithm for bipartite matchings.

  • Dinic's algorithm for k-factors and 0-1 network flows.

  • Jerrum-Sinclair's approximation scheme for the permanent.

It seems rather surprising that the algorithms which are the fastest known for worst-case inputs also do exceedingly on almost every graph.

References

  1. 1.D. Angluin and L. Valiant, "l:ast probabilistic algorithms for Hamiltonian circuits and matchings," Journal of Computer and System Sciences, vol. 19, pp. 155-193, 1979.Google ScholarGoogle Scholar
  2. 2.B. Bollob~, Random Graphs, Academic Press, 1985.Google ScholarGoogle Scholar
  3. 3.B. Bollobas and A. M. Frieze, "On Matchings and Hamiltonian Circuits in Random Graphs," Annals of Discrete Mathematics, vol. 28, pp. 23-46, 1985.Google ScholarGoogle Scholar
  4. 4.B. Bollobas, T. I. Fenner, and A. M. Frieze, "An Algorithm for finding Hamilton Cycles in a Random Graph," Proceedings of the 17th ACM Symposium on Theory of Computing, pp. 430-439, 1985. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. 5.A.Z. Broder, "How hard is it to marry at random? (On the approximation of the permanent)," Proceedings of the 18th ACM Symposium on Theory of Computing, pp. 50-58, t986. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. 6.U. Derigs and A. Heske, "A Computational Study on Some Methods for Solving the Cardinality Matching Problem," Report 79/2!, Mathematisches Institut der Universit~t zu Kbln, 1979.Google ScholarGoogle Scholar
  7. 7.E.A. Dinic, "Algorithm for solution of a problem of maximum flow in networks with power estimation,'' Soviet Math. Doklady, vol. 11, pp. 1277- 1280, 1970.Google ScholarGoogle Scholar
  8. 8.P. Erd6s and A. R6nyi, "On random graphs," Publ. Math. Debrecen, vol. 6, pp. 290-297, 1959.Google ScholarGoogle Scholar
  9. 9.P. Erd6s and A. R6nyi, "On random matrices," l~ubl. Math. Inst. Hungarian Academy of Sciences, vol. 8, pp. 455-461, 1964.Google ScholarGoogle Scholar
  10. 10.P. ErdlSs and A. R6nyi, "On the existence of a factor of degree one of a connected random graph," Acta Math. Acad. Sci. Hungar., vol. 17, pp. 359- 368, 1966.Google ScholarGoogle ScholarCross RefCross Ref
  11. 11.P. Erdbs and A. R6nyi, "On random matrices 1I," Studia Sci. Math. Hungar., vol. 3, pp. 459-464, 1968.Google ScholarGoogle Scholar
  12. 12.S. Even and O. Kariv, "An O(nZS)-Algorithm for Maximum Matching in General Graphs," Proc. 16th FOCS, pp. 100-112, 1975.Google ScholarGoogle Scholar
  13. 13.T.I. Fenner and A. M. Frieze, "On the Existence of Hamiltonian Cycles in a Class of Random Graphs," Discrete Mathematics, vol. 45, pp. 301- 305, 1983.Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. 14.A.M. Frieze, "Limit Distribution for the Existence of Hamiltonian Cycles in Random Bipartite Graphs," European Journal on Combinatorics, vol. 6, pp. 327-334, 1985.Google ScholarGoogle ScholarCross RefCross Ref
  15. 15.H. Gabow and R. Tarjan, "Almost Optimum Speed-ups of Algorithms for Bipartite Matching and Related Problems," Proceedings of the 20th ACM Symposium on Theory of Computing, pp. 514-527, 1988. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. 16.O. Goldschmidt and D. S. Hochbaum, "A fast perfeet matching algorithm in random graphs," Preprint, 1988.Google ScholarGoogle Scholar
  17. 17.P. Hall, "On representatives of subsets," Journal of London Mathematics Society, vol. I0, pp. 26-30, 1935.Google ScholarGoogle Scholar
  18. 18.H. Hamacher, "Numerical Investigations on the Maximal Flow Algorithm of Karzanov," Report 78-7, Mathematisches Institut der UniversitIR zu KtSln, 1978.Google ScholarGoogle Scholar
  19. 19.R. Hassin and E. Zemel, "Probabilistic analysis of the capacitatecl transportation problem," Discussion Paper No. 660, Center for Mathematical Studies in Economics and Management Science, Evanston, Illinois, 1985.Google ScholarGoogle Scholar
  20. 20.J.E. Hopcroft and R. M. Karp, "An O(nsa) algorithm for maximum matchings in bipartite graphs," SIAM Journal on Computing, vol. 2, pp. 225-231, 1973.Google ScholarGoogle ScholarCross RefCross Ref
  21. 21.M. Jerrum and A. Sinclair, "Conductance and the Rapid Mixing Property for Markov Chains: the Approximation of the Permanent Resolved," Proceedings of the 20th ACM Symposium on Theory of Computing, 1988. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. 22.R.M. Karp and M. Sipser, "Maximum matchings in sparse random graphs," Proceedings of the 22nd IEEE Symposium on Foundations of Computer Science, pp. 364-375, 1981.Google ScholarGoogle Scholar
  23. 23.R.M. Karp, J. K. Lenstra, C. J. H. McDiarmid, and A. H. G. Rinnooy Karl, "Probabilisfic Analysis," Combinatorial Optimization: Annotated Bibliographies (ed. M. O'hEigem~gh, J. K. Lenstra and A. H. G. Rinnooy Karl), pp. 52-88, John Wiley & Sons, 1985.Google ScholarGoogle Scholar
  24. 24.R.M. Karp and A. H. G. Rinnooy Karl, personal communication, 1986.Google ScholarGoogle Scholar
  25. 25.R.M. Karp, R. Motwani, and N. Nisan, "Probabilisfic Analysis of Network Flow Algorithms," submitted for publication to Mathematics of Operations Research, 1987. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. 26.J. Koml6s and E. Szemer6di, "Limit Distribution for the Existence of Hamiltonian Cycles in a Random Graph," Discrete Mathematics, vol. 43, pp. 55-63, 1983.Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. 27.A.D. Korshunov, "A new version of the solution of a problem of Erd~Ss and R6nyi on Hamilton cycles," Annals of Discrete Mathematics, vol. 28, pp. 171-180, 1985.Google ScholarGoogle Scholar
  28. 28.S. Micali and V. Vazirani, "An O(IV}~-S. lEI) Algorithm for Finding Maximum Matchings in General Graphs," Proceedings of the 21st IEEE Symposium on Foundations of Computer Science, pp. 17-27, 1980.Google ScholarGoogle Scholar
  29. 29.R. Motwani, "Probabilistic Analysis of Matching and Network Flow Algorithms," Ph.D. Thesis, University of California at Berkeley, 1988. Google ScholarGoogle ScholarDigital LibraryDigital Library
  30. 30.L. P6sa, "Hamiltonian Circuits in Random Graphs," Discrete Mathematics, vol. 14, pp. 359- 364, 1976.Google ScholarGoogle ScholarDigital LibraryDigital Library
  31. 31.I, Pohl, "Improvements to the Dinic-Karzanov Network Flow Algorithm," Technical Report No. tiP. 77-11-001, Information Sciences, University of California at Santa Cruz, 1977.Google ScholarGoogle Scholar
  32. 32.L.G. Valiant, "The complexity of computing the permanent," Theoretical Computer Science, vol. 8, pp. 189-201, 1979.Google ScholarGoogle ScholarCross RefCross Ref
  33. 33.D.W. Walkup, "Matchings in random regular bipartite graphs," Discrete Mathematics, vol. 31, pp. 59-64, 1980.Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Expanding graphs and the average-case analysis of algorithms for matchings and related problems

          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
          • Published in

            cover image ACM Conferences
            STOC '89: Proceedings of the twenty-first annual ACM symposium on Theory of computing
            February 1989
            600 pages
            ISBN:0897913078
            DOI:10.1145/73007

            Copyright © 1989 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 ACM 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: 1 February 1989

            Permissions

            Request permissions about this article.

            Request Permissions

            Check for updates

            Qualifiers

            • Article

            Acceptance Rates

            STOC '89 Paper Acceptance Rate56of196submissions,29%Overall Acceptance Rate1,469of4,586submissions,32%

            Upcoming Conference

            STOC '24
            56th Annual ACM Symposium on Theory of Computing (STOC 2024)
            June 24 - 28, 2024
            Vancouver , BC , Canada

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader