Hopcroft–Karp algorithm

This is an old revision of this page, as edited by David Eppstein (talk | contribs) at 00:53, 2 October 2006 (fix cat). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The Hopcroft-Karp algorithm finds maximum cardinality matchings in bipartite graphs in time.

Algorithm

Input: Bipartite graph  
Output: Matching  
 
repeat
  maximum set of vertex-disjoint shortest augmenting paths
 
until  

References

  • Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, and Clifford Stein (2001) [1990]. "26". Introduction to Algorithms (2nd edition ed.). MIT Press and McGraw-Hill. pp. 696–697. ISBN 0-262-03293-7. {{cite book}}: |edition= has extra text (help)CS1 maint: multiple names: authors list (link)