This tool computes the longest Lyndon subsequence found in a given text file.
You can easily compile the tool with a recent version of cargo
.
cargo build --release
./target/release/longestlyndonsubseq -f <FILENAME> [-p prefixlength]
For benchmarking, you can use the file run.sh
after you have specified the datasets (hard-coded) to use.
The program is quite slow, so do not expect to obtain immediate results for string lengths > 300.
- Hideo Bannai, Tomohiro I, Tomasz Kociumaka, Dominik Köppl, Simon J. Puglisi: Computing Longest (Common) Lyndon Subsequences. IWOCA 2022: 128-142