The Max Flow problem solution is a program written for an assessment in the Algorithms: Theory Design and Implementation module to assess our understanding stated below. The understandings are and not limited to
- Problem solving capabilities
- Understanding of datastructures and leveraging knowledge on them to solve the problem at hand
- Ability to analyse the performance of the implemented solution
The given solution implements the Ford-Fulkerson Algorithm with the implementation of the Breadth First Traversal to solve the Max flow problem.
Built using
- Java 1.8
Built on
- IntelliJ IDEA 2019.3 (Ultimate Edition)
- 2-dimensional matrix in the form of Adjacency matrices to represent the nodes and edges of a given graph
- Queues were used for traversing nodes using Breadth First search
- Arrays were used to store the residual path, visited states of the nodes of the graph
The "src" folder contains 3 classes named
-
Main.java- Contains the main method -
FordFulkersonAlgorithm.java-- Contains the implementation of the Breadth first search algorithm
- Contains implementation of the Ford Fulkerson Algorithm
-
Dataset.java- Contains the datasets (6, 12, 24, 48 node) in class methods for ease of access