Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BBWT reachability

This code computationally checks with exhaustive search for sufficiently small alphabet sizes and short strings the conjecture that two strings with the same Parikh vector can be mapped to each other using only a sequence of bijective Burrows-Wheeler transforms and cyclic rotations.

  • reachability.py runs exhaustive search for given alphabet size and string length
  • computepath.py computes a shortest path from a string to another with the same Parikh vector on a graph whose edges represent BBWT or cyclic shift operations, which label the edges
  • findlexsmaller.py computes a shortest path from a string to a lexicographically smaller string

Usage

First install pipenv and then run pipenv sync. After that you can run any of the above python problems with the prefix pipenv run.

About

Reachability of Strings via Rotation and Bijective BWT mapping

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages