Hopcroft-Karp bipartite matching


Version: 1.0
Category:
Scripts
Python
Requirements:
Seller:
Price:
-
System:
Rating:
4.4
License:

Description - Hopcroft-Karp bipartite matching



Takes as input a bipartite graph in a variation of Guido van Rossum`s dictionary-of-lists format, and outputs both a maximum matching (largest possible set of nonadjacent edges) and a maximum Independent set (largest possible set of nonadjacent vertices). The running time in the worst case is O(E sqrt(V)) but for many graphs it runs FASTER due to doing fewer than the worst case number of iterations.



More in Python-Hopcroft-Karp bipartite matching

Bipartite Matching Worst Case Hopcroft Karp Bipartite