Explore core concepts of network flow algorithms with these medium-level quiz questions focusing on the Ford-Fulkerson method and max flow problems. Enhance your understanding of flow networks, algorithm steps, and key principles for finding the maximum flow in directed graphs.
In the Ford-Fulkerson algorithm, what is the primary criterion for selecting an augmenting path in each iteration?
Explanation: The Ford-Fulkerson method selects any path from the source to sink with available (positive) residual capacity, regardless of the number of edges or total capacity along the path. The second option confuses with the Edmonds-Karp algorithm, which always selects the shortest path. Option three incorrectly prioritizes the number of edges rather than capacity. The last option misunderstands that only positive capacity is needed, not necessarily equal to the current max flow.
What is the main purpose of maintaining a residual network when solving the max flow problem?
Explanation: The residual network shows which edges can still accommodate more flow and also lets the algorithm reverse previously assigned flow if better paths are found. Removing saturated edges does not account for reversals and may miss opportunities to increase overall flow. Merging parallel edges or assigning random weights are irrelevant to the residual network's essential function.
After pushing flow along an augmenting path in Ford-Fulkerson, how should the capacities be updated in the residual graph?
Explanation: Each time flow is pushed through a path, the corresponding forward edges in the residual graph are decreased by that flow, while the reverse edges are increased, allowing for potential backtracking in future iterations. Setting all capacities to zero eliminates subsequent augmentations. Multiplying capacities or only updating forward edges ignores the need for reversible adjustments, undermining algorithm correctness.
When does the Ford-Fulkerson algorithm terminate, indicating that the maximum possible flow has been found between source and sink?
Explanation: The algorithm stops once no augmenting path can be found, which means that the maximum flow has been achieved. Equating total flow to outgoing edges from the sink is incorrect; flow is measured at the source. Traversing all edges once or using a fixed number of iterations does not guarantee that the maximum flow has been reached, since paths and capacities can differ.
According to the Max-Flow Min-Cut theorem, what does the value of the maximum flow in a network equal?
Explanation: The Max-Flow Min-Cut theorem states that the value of the maximum flow is equal to the minimum capacity that, if removed, cuts off all connections between the source and sink. The sum of all edge capacities or the number of paths are not related to the actual flow achieved. The number of edges in a single path is also not indicative of the possible flow through the network.