Skip to main content

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


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.7.tar.gz (11.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page