I am writing two-way matching using dinitz algorithm . There is also a theorem that for graphs such as maximal two-party coincidence problems, it has the same complexity as relative to the front (and it is easier to implement).
In networks that arise when solving the bipartite comparison problem, the number of phases is limited to O (\ sqrt {V}), which leads to O (\ sqrt {V} E). The resulting algorithm is also known as the Hopcroft-Karp Algorithm. In a more general sense, this estimate is performed for any unit network - a network in which each vertex, with the exception of the source and receiver, either has one input edge of the capacity one, or one outgoing edge of the capacity one, and all other capacities are arbitrary integers.
, , . , -.