Suffix sorting via matching statistics

Zsuzsanna Lipták, Francesco Masillo, Simon J. Puglisi
7/3/2022
cs.DS

Official code: fmasillo/sacamats (2 stars, C, last commit 2024-04-24).

Abstract

We introduce a new algorithm for constructing the generalized suffix array of a collection of highly similar strings. As a first step, we construct a compressed representation of the matching statistics of the collection with respect to a reference string.

Show full abstract

We then use this data structure to distribute suffixes into a partial order, and subsequently to speed up suffix comparisons to complete the generalized suffix array. Our experimental evidence with a prototype implementation (a tool we call sacamats) shows that on string collections with highly similar strings we can construct the suffix array in time competitive with or faster than the fastest available methods. Along the way, we describe a heuristic for fast computation of the matching statistics of two strings, which may be of independent interest.

View on arXivView PDF

Code Implementations(1)

fmasillo/sacamatsOfficial100%

Suffix Sorting via Matching Statistics

20C, C++Jun 17, 20222 years ago

Similar Papers

Cite this paper

@article{liptk2022suffix,
  title  = {Suffix sorting via matching statistics},
  author = {Zsuzsanna Lipták and Francesco Masillo and Simon J. Puglisi},
  year   = {2022},
  eprint = {2207.00972},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2207.00972}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.00972.svg)](https://codeofpaper.com/paper/2207.00972)

Discussion