Skip to main content

Graph library implementation using generalization of B.G.Nickel et al. algorithm for identifying graphs.

Project description

1.To install in userspace run:

$ python install –user

or to setup in global space

$ sudo install

  1. Run tests:

$ cd nickel; python; cd .. $ cd graph_state; python; cd ..

You must see “OK” after test execution

  1. Run simple example from python CLI interface:
>>> import graph_state
>>> g = graph_state.GraphState.from_str("ee12|e22|e|")
>>> print g
>>> print g.edges
(((0,), ), ((0,), ), ((0, 1), ), ((0, 2), ), ((1,), ), ((1, 2), ), ((1, 2), ), ((2,), ))
>>> print g.nodes
[-1, 0, 1, 2]

4. Full documentation for this package is available here:

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for GraphState, version 1.0.4
Filename, size File type Python version Upload date Hashes
Filename, size GraphState-1.0.4.tar.gz (20.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page