run

classmethod PNFlow.run(prefix, path='./')[source]

run pnflow.exe on a network

Parameters

prefix (str) – The prefix of the filenames (i.e. ‘prefix_node1.dat’)

Notes

All the required files including prefix_link1, prefix_link2, prefix_node1, prefix_node2, prefix.dat and pnflow.exe file should be in a same directory as the exectuable.