Graph library implementation using generalization of B.G.Nickel et al. algorithm for identifying graphs.
Project description
1.To install in userspace run:
$ python setup.py install –user
or to setup in global space
$ sudo setup.py install
Run tests:
$ cd nickel; python nickel_test.py; cd .. $ cd graph_state; python graph_state_test.py; cd ..
You must see “OK” after test execution
Run simple example from python CLI interface:
>>> import graph_state
>>> g = graph_state.GraphState.from_str("ee12|e22|e|")
>>> print g
ee12|e22|e|
>>> 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: http://graphstate-and-graphine.readthedocs.org/en/latest/
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
GraphState-1.0.4.tar.gz
(20.6 kB
view details)
File details
Details for the file GraphState-1.0.4.tar.gz.
File metadata
- Download URL: GraphState-1.0.4.tar.gz
- Upload date:
- Size: 20.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b704ba9ad094f64bf29ec4beb4d2886fe2a4237f7dd66bf525f0fe3d76d040a
|
|
| MD5 |
f01b12cbfdc06e34c13b7e4946d2d793
|
|
| BLAKE2b-256 |
57290b7882ea2f0e12b50b1d6a0633e49b0d26eccd525efe8c4fd1e0d3f7b683
|