A module for modeling non-backtracking random walks on graphs and computing kemeny's constant.
Project description
NBRW
Non-backtracking random walks (NBRW). A nonbacktracking random walk is a random walk on a graph in which the walker is restricted from visiting the previous node.
This repository's main focus is to create the NBRW package, which contains the following files: -- NBRW.py : an NBRW class dedicated to storing relevant attributes such as Kemeny's constant, mean first passage times, the fundamental matrix, stationary vector, etc. -- graphs.py : Includes several functions that create graph families as a SageMath Graph object. These graph families have been important to our research and are not built-in in SageMath
This work was primarily motivated by research conducted alongside Dr. Mark Kempton, Adam Knudson, and Jane Breen. This code has been incredibly useful for modeling these walks and for exploring theoretical results through numerical experimentation.
Much of this code relies on SageMath, which has many built-in functions for graph theory.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nbrw-0.0.1.tar.gz.
File metadata
- Download URL: nbrw-0.0.1.tar.gz
- Upload date:
- Size: 24.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ddb378f51c5eb97f81a8df5a066a02f72e96aa370cde6da3339a06a35238468a
|
|
| MD5 |
136ea0a38539bd9d37752a0524207b0f
|
|
| BLAKE2b-256 |
1dc1cc2fbe8bbeb7430cd08e6c29982004d7a1525a15d0bf05f8766614e1ec81
|
File details
Details for the file nbrw-0.0.1-py3-none-any.whl.
File metadata
- Download URL: nbrw-0.0.1-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52d190ac1d21582c81f93642dca2cb54bf29ec736fef7286dc4421200100c381
|
|
| MD5 |
74fea2d5eef960ed56fde05f2cf58409
|
|
| BLAKE2b-256 |
f724c35397ec8a0520d0077436624979659adba5a65816b5c4a03607aa6d18ad
|