Hopcroft–Karp algorithm: Difference between revisions

Content deleted Content added
See also: explain the links
Corrected a typo: "denoted" vs. "denotend".
Line 117:
When we were not able to find any shortest augmenting path from a vertex u, then the DFS marks vertex u by setting Dist[u] to infinity, so that these vertices are not visited again.
 
One last observation is that we actually don't need uDummy: its role is simply to put all unmatched vertices of U in the queue when we start the BFS. As for vDummy, it is denotenddenoted as NIL in the pseudocode above.
 
== See also ==