networkx/networkx — pull request #11 by jtorrents (2012-07-05 15:47:27+00:00)
Title: Allow access to the residual network in ford fulkerson algorithm

The first commit of this pull request, following the discussion on ticket 710 [1], reorganizes flow/maxflow.py in order to facilitate access to the residual network. But keeps the new function with the actual algorithm as a "private" function. The second commit makes that function "public" and imports it to the global nx namespace.

I think that, given the multiple uses of the residual network (for instance, to compute node and edge cuts), we should give the user easy access to it.

[1] https://networkx.lanl.gov/trac/ticket/710