Skip to content

Commit fc3cd84

Browse files
committed
use interface as param
1 parent 34b8a97 commit fc3cd84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Advanced.Algorithms/Graph/Flow/FordFulkerson.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public W ComputeMaxFlow(IDiGraph<T> graph,
4747
/// <summary>
4848
/// Return all flow Paths.
4949
/// </summary>
50-
public List<List<T>> ComputeMaxFlowAndReturnFlowPath(WeightedDiGraph<T, W> graph,
50+
public List<List<T>> ComputeMaxFlowAndReturnFlowPath(IDiGraph<T> graph,
5151
T source, T sink)
5252
{
5353
validateOperator(graph);

0 commit comments

Comments
 (0)