Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 721 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 721 Bytes

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