Jump to content

Hopcroft–Karp algorithm

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Nils Grimsmo (talk | contribs) at 05:47, 13 July 2006 (Starting). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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 0262032937. {{cite book}}: |edition= has extra text (help)CS1 maint: multiple names: authors list (link)