Skip to main content

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.

extra_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 Adam Knudson, Dr. Mark Kempton, and Dr. 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


Download files

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

Source Distribution

nbrw-0.1.3.tar.gz (31.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nbrw-0.1.3-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file nbrw-0.1.3.tar.gz.

File metadata

  • Download URL: nbrw-0.1.3.tar.gz
  • Upload date:
  • Size: 31.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.8

File hashes

Hashes for nbrw-0.1.3.tar.gz
Algorithm Hash digest
SHA256 91023f391518c26f17a3c60d251a8ca07e47f9e52d7257e131ae11332b1c581a
MD5 f898f20302c8e138380fc545faf0f4c7
BLAKE2b-256 c734f0148e910807e55aba72c389db95ed3b5b8794a83de1a4058bc5bd6390f3

See more details on using hashes here.

File details

Details for the file nbrw-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: nbrw-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.8

File hashes

Hashes for nbrw-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c75f3a3694787048fcc8043291ff2aff912cf8011fc09e25b07e477812d70ddc
MD5 0c7f7338a15f46700c1533520c5a6c26
BLAKE2b-256 6a0fc718bbddb9d6dcfe8902d9fdb19723827d7e28b6eb01333264a856f329f9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page