EdmondsKarpalgoritmen
The Edmonds-Karp algorithm is a specific implementation of the Ford-Fulkerson method for computing the maximum flow in a flow network. It was developed by Jack Edmonds and Richard Karp. The core idea of the Ford-Fulkerson method is to repeatedly find augmenting paths from the source to the sink in the residual graph and increase the flow along these paths until no more augmenting paths can be found.
What distinguishes the Edmonds-Karp algorithm is its strategy for selecting augmenting paths. It specifically chooses the
The use of BFS ensures that the algorithm terminates and provides a polynomial time complexity. The time