← Back to topics
Topic

Max Flow

ortschun
How can we find an augmenting path for max flow?
gates
with bfs for example
ortschun
Alright but what is an augmenting path, or can you give a pseudo code for finding it with bfs?
gates
it is just path from source to sink through edges with capacities > 0
ortschun
Ok but my question is that what is the algorithm for it?
gates
bfs - breath first search