Nothing Special   »   [go: up one dir, main page]

skip to main content
article
Free access

Greeding matching algorithms, an experimental study

Published: 01 September 1998 Publication History

Abstract

We conduct an experimental study of several greedy algorithms for finding large matchings in graphs. Further we propose a new graph reduction, called <i>k</i>-Block Reduction, and present two novel algorithms using extra heuristics in the matching step and <i>k</i>-Block Reduction for <i>k</i> = 3. Greedy matching algorithms can be used for finding a good approximation of the maximum matching in a graph <i>G</i> if no exact solution is required, or as a fast preprocessing step to some other matching algorithm. The studied greedy algorithms run in <i>O(m)</i>. They are easy to implement and their correctness and their running time are simple to prove. Our experiments show that a good greedy algorithm looses on average at most one edge on random graphs from <i>G<inf>n,p</inf></i> with up to 10,000 vertices. Furthermore the experiments show for which edge densities in random graphs the maximum matching problem is difficult to solve.

Supplementary Material

TAR File (p6-magun.tar)
The software suite accompanying the article; this is a small Unix tar file, which includes the source code, a Makefile, and the test files used in the article.
PS File (vol3nbr6.ps)
TAR File (vol3nbr6.tex.tar)

References

[1]
ARONSON, J., FRIEZE, A. M., AND PITTEL, B. G. 1997. Maximum matchings in sparse random graphs: Karp-sipser re-visited, preprint.
[2]
CROCKER, S. T. 1993. An experimental comparison of two maximum cardinality matching programs. Network Flows and Matching, DIMACS Series in Discrete mathematics and Theoretical Computer Science 1, 519-537.
[3]
DYER, M. E., FRIEZE, A. M., AND PITTEL, B. 1993. On the average performance of the greedy algorithm for finding a matching in a graph. Ann. Appl. Probab. 3, 526-552.
[4]
EDMONDS, J. 1965. Paths, tress, and flowers. Canad. J. Math. 17, 449-467.
[5]
FRIEZE, A. M., RADCLIFFE, A. J., AND SUEN, S. 1993. Analysis of a simple greedy matching algorithm on cubic random graphs. Volume 4 of Proc. Fourth. Annual ACM-SIAM Symposium on Discrete Algorithms (1993), pp. 341-351.
[6]
GABOW, H. 1976. An efficient implementation of Edmonds' maximum matching algorithm. J. ACM 23, 221-234.
[7]
GABOW, H. AND TARJAN, R. 1983. A linear time algorithm for a special case of disjoint set union. Volume 15 of Proc. of the Ann. ACM Symp. Theory of Computing (Boston, 1983), pp. 246-251.
[8]
GOLDSCHMIDT, O. AND HOCHBAUM, D. S. 1990. A fast perfect-matching algorithm in random graphs. SIAM J. Discrete Math. 3, 48-57.
[9]
HALL, P. 1935. On representatives of subsets. J. London. Math. Soc. 10, 26-30.
[10]
KARP, R. M. AND SIPSER, M. 1981. Maximum matchings in sparse random graphs. Volume 22 of Proc. of the Ann. IEEE Symp. Foundations of Computer Science (Nashville, 1981), pp. 364-375.
[11]
LAWLER, E. L. 1976. Combinatorial Optimization: Networks and Matroids. Holt, Reinehart and Winston, New York.
[12]
MATTINGLY, B. AND RITCHEY, N. P. 1993. Implementing an O(√NM) cardinality matching algorithm. Network Flows and Matching, DIMACS Series in Discrete mathematics and Theoretical Computer Science 1, 539-556.
[13]
MEHLHORN, K. AND NÄHER, S. 1995. Leda: A platform for combinatorial and geometric computing. Communications of the ACM 38, 96-102.
[14]
MEHLHORN, K., NÄHER, S., AND UHRIG, S. 1996. Leda version 3.4-R source code, module _mc_matching.cc.
[15]
MICALI, S. AND VAZIRANI, V. 1980. An O(√VE) algorithm for finding maximum matching in general graphs. Volume 21 of Proc. of the Ann. IEEE Symp. Foundations of Computer Science (Syracuse, 1980), pp. 17-25.
[16]
TARJAN, R. E. 1983. Data structures and network algorithms. CBMS-NSF Regional Conference Series in Applied Mathematics 44.
[17]
TINHOFER, G. 1984. A probabilistic analysis of some greedy cardinality matching algorithms. Annals of Oper. Res. 1, 239-254.
[18]
VAZIRANI, V. 1989. A theory of alternating paths and blossoms for proving correctness of the O(√VE) general graph matching algorithm. Technical Report TR-89-1035 (Sept), Cornell University.

Cited By

View all

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Journal of Experimental Algorithmics
ACM Journal of Experimental Algorithmics  Volume 3, Issue
1998
203 pages
ISSN:1084-6654
EISSN:1084-6654
DOI:10.1145/297096
Issue’s Table of Contents
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: 01 September 1998
Published in JEA Volume 3

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)53
  • Downloads (Last 6 weeks)16
Reflects downloads up to 16 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2024)The average size of maximal matchings in graphsJournal of Combinatorial Optimization10.1007/s10878-024-01144-847:3Online publication date: 4-Apr-2024
  • (2023)Toward a Better Understanding of Randomized Greedy MatchingJournal of the ACM10.1145/361431870:6(1-32)Online publication date: 6-Oct-2023
  • (2022)On Fault-Tolerant Low-Diameter Clusters in GraphsINFORMS Journal on Computing10.1287/ijoc.2022.123134:6(3181-3199)Online publication date: 1-Nov-2022
  • (2020)An Experimental Study of Algorithms for Online Bipartite MatchingACM Journal of Experimental Algorithmics10.1145/337955225(1-37)Online publication date: 13-Mar-2020
  • (2020)Towards a better understanding of randomized greedy matchingProceedings of the 52nd Annual ACM SIGACT Symposium on Theory of Computing10.1145/3357713.3384265(1097-1110)Online publication date: 22-Jun-2020
  • (2019)On Conceptually Simple Algorithms for Variants of Online Bipartite MatchingTheory of Computing Systems10.1007/s00224-019-09916-0Online publication date: 23-Mar-2019
  • (2017)Greedy MatchingAlgorithmica10.1007/s00453-015-0062-277:1(201-234)Online publication date: 1-Jan-2017
  • (2016)A matrix-algebraic formulation of distributed-memory maximal cardinality matching algorithms in bipartite graphsParallel Computing10.1016/j.parco.2016.05.00758:C(117-130)Online publication date: 1-Oct-2016
  • (2016)Information Control by Policy-Based Relational Weakening TemplatesComputer Security – ESORICS 201610.1007/978-3-319-45741-3_19(361-381)Online publication date: 15-Sep-2016
  • (2015)A hybrid mapping algorithm for reconfigurable nanoarchitecturesJournal of Engineering Research10.7603/s40632-015-0004-93:1Online publication date: 24-Apr-2015
  • Show More Cited By

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Full Access

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media