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. -- 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


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.0.6.tar.gz (29.0 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.0.6-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nbrw-0.0.6.tar.gz
Algorithm Hash digest
SHA256 f596615a7c8338bffa5db1893b5d55badf48c2bcc526afdca6299506b98a4b97
MD5 2e223235556123036ca329c46f92974e
BLAKE2b-256 8919431e3486732073a8caa87b0420df4993f6d9b6a957372d173a8470804ee2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nbrw-0.0.6-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.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 7970d2aa195178991e2d12596da403fde01e1108f9b37f506f8f26716a4febf7
MD5 affff48ebc002109909e78dc9990eb96
BLAKE2b-256 323a0bfa61767b1c7c8833c9480c4648e73f7c78731a3b9bcf0327fee04ec1e1

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