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 details)
File details
Details for the file flownetwork-0.0.0.6.tar.gz.
File metadata
- Download URL: flownetwork-0.0.0.6.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bdb713ac1be2fdf36c590354d47953b8f3e910f75f71b90036b409439c1aeb87
|
|
| MD5 |
fa79724f8372c0b522cd9bc2a4db7267
|
|
| BLAKE2b-256 |
0bce74bf994d3bf7751f95ae56f2083104724bb169f9f2ee03e004c733528ac2
|