Skip to content

Commit e3a03c5

Browse files
committed
networking_flow
1 parent 2f53847 commit e3a03c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

networking_flow/Ford_Fulkerson.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def BFS(graph, s, t, parent):
2121
parent[ind] = u
2222

2323
return True if visited[t] else False
24-
24+
2525
def FordFulkerson(graph, source, sink):
2626
# This array is filled by BFS and to store path
2727
parent = [-1]*(len(graph))

networking_flow/Minimum_cut.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def BFS(graph, s, t, parent):
1616
parent[ind] = u
1717

1818
return True if visited[t] else False
19-
19+
2020
def mincut(graph, source, sink):
2121
# This array is filled by BFS and to store path
2222
parent = [-1]*(len(graph))

0 commit comments

Comments
 (0)