Hopcroft–Karp algorithm

This is an old revision of this page, as edited by Nils Grimsmo (talk | contribs) at 20:25, 3 October 2006 (Revert to revision 78972711 dated 2006-10-02 00:53:46 by David Eppstein using popups). 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)