Content deleted Content added
→Analysis: forget to mention the critical part, about the path length increasing |
→Analysis: prev change made a pronoun too vague, replace with a noun |
||
Line 28:
Therefore, the first √''n'' phases, in a graph with ''n'' vertices and ''m'' edges, take time O(''m'' √''n'').
It can be shown that each phase increases the length of the shortest augmenting path by at least one: the phase finds a maximal set of augmenting paths of the given length, so any remaining augmenting path must be longer. Therefore, once
Since the algorithm performs a total of at most 2√''n'' phases, it takes a total time of O(''m'' √''n'').
|