No project description provided
Project description
import packages
>>> from flownetwork import flownetwork as fn >>> import networkx as nx >>> print fn.__version__
help
>>> help(fn.constructFlowNetwork)
Constructing a Flow Network
>>> demo = fn.attention_data >>> gd = fn.constructFlowNetwork(demo) >>> nx.draw(gd, with_labels = True)
Calculating flow distance from source
>>> fn.flowDistanceFromSource(gd)
Computing the dissipation to the sink
>>> fn.networkDissipate(gd)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flownetwork-0.0.0.6.tar.gz
(11.1 kB
view hashes)