Space-Efficient Construction of Compressed Suffix Trees
Abstract
We show how to build several data structures of central importance to string processing, taking as input the Burrows-Wheeler transform (BWT) and using small extra working space. Let be the text length and be the alphabet size. We first provide two algorithms that enumerate all LCP values and suffix tree intervals in time using just bits of working space on top of the input BWT. Using these algorithms as building blocks, for any parameter we show how to build the PLCP bitvector and the balanced parentheses representation of the suffix tree topology in time using at most bits of working space on top of the input BWT and the output. In particular, this implies that we can build a compressed suffix tree from the BWT using just succinct working space (i.e. bits) and any time in . This improves the previous most space-efficient algorithms, which worked in bits and time. We also consider the problem of merging BWTs of string collections, and provide a solution running in time and using just bits of working space. An efficient implementation of our LCP construction and BWT merge algorithms use (in RAM) as few as bits on top of a packed representation of the input/output and process data as fast as megabases per second.
Cite
@article{arxiv.1908.04686,
title = {Space-Efficient Construction of Compressed Suffix Trees},
author = {Nicola Prezza and Giovanna Rosone},
journal= {arXiv preprint arXiv:1908.04686},
year = {2019}
}
Comments
arXiv admin note: substantial text overlap with arXiv:1901.05226