Open ZacharyForman opened 8 years ago
What's the difference between {dfs, bfs, pfs} beyond runtime for max flow?
It's only worst case run-time. That's it. It can sometimes be important, and it also means you get DFS/BFS/PFS templates in your notebook at no extra cost.
Also, min-cost max-flow means you get Johnson's algorithm and/or Bellman-Ford for free, since both can be subroutines.
Dfs, bfs, pfs and min cost Max flow are recommended.