Skip to content

A toy python implementation of succint balanced parentheses datastructure with a lot of simplification.

Notifications You must be signed in to change notification settings

Juno-T/succint-bp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A toy python implementation of Succint Balanced Parentheses datastructure

This implementation simplified many components but it is also organized so that it could be easily improved. For example, improving TableLookup component or replacing rank and select in PioneerFamily with succint sparse bit vector.

Usage

git clone https://github.com/Juno-T/succint-bp.git
cd succint-bp
export PYTHONPATH=$PWD:$PYTHONPATH

Tests

python3 test/interactive.py         # test interactively
python3 test/test_correctness.py    # test with random testcases

Reference

About

A toy python implementation of succint balanced parentheses datastructure with a lot of simplification.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages