Skip to content

A Python implementation of the Misiolek-Chen flow network simplification algorithms. Requires NetworkX.

Notifications You must be signed in to change notification settings

clayadavis/pyphlow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

pyphlow

A Python implementation of the Misiolek-Chen flow network simplification algorithms as seen in these papers.

Dependencies

Requires NetworkX.

Example

import networkx, pyphlow
G = networkx.Graph()
G.add_edges_from([(1,2),(2,6)])
G.add_cycle([2,3,4,5])
G.node[1]['source']=True
G.node[6]['sink']=True
S = pyphlow.simplify(G)

About

A Python implementation of the Misiolek-Chen flow network simplification algorithms. Requires NetworkX.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published