This question was asked a couple of weeks ago, and has not been answered in that time. It has languised: https://codereview.stackexchange.com/questions/79233/edmonds-karp-algorithm-for-maximum-flow-in-java
In the interim, the question asker has updated their code substantially, and posted the revised code here: Bidirectional Edmonds-Karp algorithm in Java
It makes little/no sense to review the first version of the code, so, I have temporarily closed it as a duplicate of the follow-on.
Note that the second question should be edited, perhaps, to include some code from the first....
Is that the right thing to have done?
Other options (listing them even if they are not necessarily good options) are:
- edit the original question, and revise the code to be the latest version
- delete the original entirely
- post the code in the second question as an answer to the first