MathJax


Sunday, May 29, 2022

2022-116

Considers the following characteristics of algorithms that find the maximum flow in a flow network:

  1. Uses a combination of BFS and DFS;
  2. Uses BFS to find the shortest augmenting path (in terms of number of edges used);
  3. Finds augmenting paths in an unspecified manner;
  4. Maintains a "preflow" instead of finding augmenting paths.

Which algorithms below fit these characteristics, respectively?

  1. Ford-Fulkerson, Edmonds-Karp, Dinitz, Push-Relabel;
  2. Dinitz, Ford-Fulkerson, Edmonds-Karp, Push-Relabel;
  3. Dinitz, Edmonds-Karp, Ford-Fulkerson, Push-Relabel;
  4. Push-Relabel, Edmonds-Karp, Ford-Fulkerson, Dinitz;
  5. None of the above.

Original idea by: Filipe Roberto.

No comments:

Post a Comment

2023-228

A company launched a new gadget C to be produced globally for North American and South American markets. The company uses just-in-time as ...