Skip to content

Implementation of suffix and LCP array construction algorithms

Notifications You must be signed in to change notification settings

pmehnert/ti-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text-Indexierung Project

Project for the lecture Text-Indexierung during winter term 2022/23.

  • Implements suffix array construction using Suffix Array Induced Sorting (SAIS). A naive algorithm is also implemented as reference.
  • Implements LCP array construction using the naive algorithm, the algorithm presented by Kasai et al., and the Phi array algorithm.

Setup

Building the project requires an up-to-date version of Rust (tested with 1.66.0). On Ubuntu 20.04 this requires installing through rustup rather than apt.

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

No further external dependencies are required to build and run the project.

Build

The project can be built using Cargo.

cargo build --release

Running

Once built, running times and memory usage for suffix and LCP array construction can be measured by executing the following command.

./target/release/ti-project <file>

About

Implementation of suffix and LCP array construction algorithms

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages