Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 189 Bytes

README.md

File metadata and controls

10 lines (8 loc) · 189 Bytes

NBTW

Calculation of the number of non-backtracking walks (NBTWs) for simple graphs in Python.

Usage:

import nbtw
nbtw.get_nbtws(A,k)

(A = adjacency matrix, k = walk length)