I know generally you go from source to sink in a network flow graph, but I know there are specific algorithms to go from the sink to a desired node in a network flow graph (not including the source). Could anybody suggest an algorithm that could do this? It’s been a while since I’ve taken an algorithms class and I’m a little rusty on how to go about this one.
Share
If you want to find a flow from the sink to a vertex A, just set
new_source := sinkandnew_sink = Aand run the algorithm of your choice.