Max flow problem O(n^3) by Karzanov

Let's talk about algorithms!

Moderator: Board moderators

Post Reply
msn
New poster
Posts: 6
Joined: Mon Feb 24, 2003 12:29 pm

Max flow problem O(n^3) by Karzanov

Post by msn »

Can you show me the Max flow problem O(n^3)
makbet
New poster
Posts: 44
Joined: Tue Nov 26, 2002 11:01 pm
Location: Wejherowo

Post by makbet »

The algorithm you are talking about is I think using preflows, or sth like that. I know that it's pretty hard to understand and even harder to explain. There is a different algorithm though, with complexity O(mn*(m+n)), where m=number of edges and n=number of vertices. It uses the Ford-Fulkerson method with bfs for finding the extending routes.
You can read about both algorithms in "Introduction to algorithms".
msn
New poster
Posts: 6
Joined: Mon Feb 24, 2003 12:29 pm

Post by msn »

I know Ford-Fulkerson but i want a better algorithm. Can you show me? Not only O(n^3).
Post Reply

Return to “Algorithms”