A collection of algorithms for cycles in a graph.
Project description
cycless
A collection of algorithms to analyze a graph as a set of cycles.
Some codes come from https://github.com/vitroid/Polyhed and https://github.com/vitroid/countrings are integrated and improved.
cycles.py
A simple algorithm to enumerate all irreducible cycles of n-members and smaller in an undirected graph. [Matsumoto 2007]
dicycles.py
An algorithm to enumerate the irreducible cycles of a size in a dircted graph. [Matsumoto 2021]
polyhed.py
An algorithm to enumerate the quasi-polyhedral hull made of cycles in an undirected graph. A quasi-polyhedral hull (vitrite) obeys the following conditions: [Matsumoto 2007]
- The surface of the hull is made of irreducible cycles.
- Two or three cycles shares a vertex of the hull.
- Two cycles shares an edge of the hull.
- Its Euler index (F-E+V) is two.
References
- M. Matsumoto, A. Baba, and I. Ohmine, Topological building blocks of hydrogen bond network in water, J. Chem. Phys. 127, 134504 (2007). http://doi.org/10.1063/1.2772627
- Masakazu Matsumoto, Takuma Yagasaki, Hideki Tanaka et al. Hyperhomogeneity of hydrogen-disordered ice and its origin: the residual entropy compatible with the disparity in hydrogen bond energy, 22 January 2021, PREPRINT (Version 1) available at Research Square [https://doi.org/10.21203/rs.3.rs-143208/v1]
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
Built Distribution
Hashes for cycless-0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8021200d99a25089aa99b00683861b85a8fd7997a67bf5b70cdc8367f4066304 |
|
MD5 | 651273e981401c686c3232655ffce7ff |
|
BLAKE2b-256 | 0b1552cbfcb28a45fab151f57ad5d2cacfea4bd4a73d4b9aa1301015b5d8d2b1 |