1

I'm trying to find k(k is given) path using Max-flow from source node s to destination node t with some constraints in graph G= (V, E). Given Different subsets A_i of V, One subset can have one or more than one nodes. Problem is i can use one subset only in one path. I'm using this code Finding max-flow

How can i add each subset only can use one path in this code (i mean if i use subset A_1 in path 1 then i can't use A_1 again for other paths ? I'm new in java. I tried to upload my problem picture but i couldn't because i'm new for this side. Thanks

0 Answers0