Skip to content

Reachability of Strings via Rotation and Bijective BWT mapping

Notifications You must be signed in to change notification settings

koeppl/bbwtreachability

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages