The program takes graph matrix as an imput For example:
0,16,13,0,0,0
0,0,10,12,0,0
0,4,0,0,14,0
0,0,9,0,0,20
0,0,0,7,0,4
0,0,0,0,0,0Then it executes Edmonds Karp algorythm, which uses Breadth-first search for finding paths between vertices and calculates the maximum network flow.