Burrows-Wheeler transform and LCP array construction in constant space

Felipe A. Louza, Travis Gagie, Guilherme P. Telles
11/24/2016
15 citations
cs.DS

Official code: felipelouza/bwt-lcp-in-place (5 stars, C, last commit 2018-08-17).

Abstract

In this article we extend the elegant in-place Burrows-Wheeler transform (BWT) algorithm proposed by Crochemore et al. (Crochemore et al., 2015). Our extension is twofold: we first show how to compute simultaneously the longest common prefix (LCP) array as well as the BWT, using constant additional space; we then show how to build the LCP array directly in compressed representation using Elias coding, still using constant additional space and with no asymptotic slowdown.

Show full abstract

Furthermore, we provide a time/space tradeoff for our algorithm when additional memory is allowed. Our algorithm runs in quadratic time, as does Crochemore et al.'s, and is supported by interesting properties of the BWT and of the LCP array, contributing to our understanding of the time/space tradeoff curve for building indexing structures.

View on arXivView PDF

Code Implementations(1)

Burrows-Wheeler transform and LCP array construction in constant space [IWOCA'15, JDA 2017]

51C, MakefileAug 4, 20158 years ago
burrows-wheeler-transformlcp-array

Similar Papers

Cite this paper

@article{louza2016burrowswheeler,
  title  = {Burrows-Wheeler transform and LCP array construction in constant space},
  author = {Felipe A. Louza and Travis Gagie and Guilherme P. Telles},
  year   = {2016},
  eprint = {1611.08198},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1611.08198}
}

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/1611.08198.svg)](https://codeofpaper.com/paper/1611.08198)

Discussion