https://github.com/sandialabs/hitmix
Python HITMIX: Graph Hitting Time Moments
https://github.com/sandialabs/hitmix
scr-2720 snl-data-analysis
Last synced: about 2 months ago
JSON representation
Python HITMIX: Graph Hitting Time Moments
- Host: GitHub
- URL: https://github.com/sandialabs/hitmix
- Owner: sandialabs
- License: other
- Created: 2021-11-05T13:15:21.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-05T14:51:34.000Z (over 4 years ago)
- Last Synced: 2025-03-01T00:25:59.299Z (over 1 year ago)
- Topics: scr-2720, snl-data-analysis
- Language: Python
- Homepage:
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
```
Copyright 2021 National Technology & Engineering Solutions of Sandia,
LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the
U.S. Government retains certain rights in this software.
```
# Python HITMIX
Computation of hitting time moments using a linear algebraic approach,
as defined in the following paper:
- A Deterministic Hitting-Time Moment Approach to Seed-set Expansion over a Graph
- A. Foss, R.B. Lehoucq, Z.W. Stuart, J.D.Tucker, J.W. Berry
- https://arxiv.org/pdf/2011.09544.pdf
## Current Capabilities Available
* Computation of first two hitting time momments
## Quick Start
### Install
* User: ```python setup.py install```
* Developer: ```python setup.py develop```
### Testing
```
# requires `pytest`
python -m pytest --disable-pytest-warnings
```
### Coverage Testing
```
# requires `pytest-cov`
pytest --cov=hitmix tests/ --cov-report=html
# output can be accessed via htmlcov/index.html
```
### Documentation
```
# requires `sphinx`
sphinx-build ./docs/source ./docs/build
# output can be accessed via docs/build/html/index.html
```