Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:1712.04886

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Data Structures and Algorithms

arXiv:1712.04886 (cs)
[Submitted on 13 Dec 2017 (v1), last revised 20 May 2019 (this version, v8)]

Title:Optimal Construction of Compressed Indexes for Highly Repetitive Texts

Authors:Dominik Kempa
View a PDF of the paper titled Optimal Construction of Compressed Indexes for Highly Repetitive Texts, by Dominik Kempa
View PDF
Abstract:We propose algorithms that, given the input string of length $n$ over integer alphabet of size $\sigma$, construct the Burrows-Wheeler transform (BWT), the permuted longest-common-prefix (PLCP) array, and the LZ77 parsing in $O(n/\log_{\sigma}n+r\,{\rm polylog}\,n)$ time and working space, where $r$ is the number of runs in the BWT of the input. These are the essential components of many compressed indexes such as compressed suffix tree, FM-index, and grammar and LZ77-based indexes, but also find numerous applications in sequence analysis and data compression. The value of $r$ is a common measure of repetitiveness that is significantly smaller than $n$ if the string is highly repetitive. Since just accessing every symbol of the string requires $\Omega(n/\log_{\sigma}n)$ time, the presented algorithms are time and space optimal for inputs satisfying the assumption $n/r\in\Omega({\rm polylog}\,n)$ on the repetitiveness. For such inputs our result improves upon the currently fastest general algorithms of Belazzougui (STOC 2014) and Munro et al. (SODA 2017) which run in $O(n)$ time and use $O(n/\log_{\sigma} n)$ working space. We also show how to use our techniques to obtain optimal solutions on highly repetitive data for other fundamental string processing problems such as: Lyndon factorization, construction of run-length compressed suffix arrays, and some classical "textbook" problems such as computing the longest substring occurring at least some fixed number of times.
Subjects: Data Structures and Algorithms (cs.DS)
Cite as: arXiv:1712.04886 [cs.DS]
  (or arXiv:1712.04886v8 [cs.DS] for this version)
  https://doi.org/10.48550/arXiv.1712.04886
arXiv-issued DOI via DataCite
Related DOI: https://doi.org/10.1137/1.9781611975482.82
DOI(s) linking to related resources

Submission history

From: Dominik Kempa [view email]
[v1] Wed, 13 Dec 2017 17:56:24 UTC (16 KB)
[v2] Fri, 22 Dec 2017 13:05:52 UTC (19 KB)
[v3] Sat, 27 Jan 2018 21:30:19 UTC (21 KB)
[v4] Sat, 17 Mar 2018 23:40:12 UTC (21 KB)
[v5] Mon, 9 Apr 2018 15:51:48 UTC (29 KB)
[v6] Sat, 21 Apr 2018 19:20:09 UTC (30 KB)
[v7] Fri, 17 May 2019 15:38:16 UTC (28 KB)
[v8] Mon, 20 May 2019 01:00:47 UTC (28 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Optimal Construction of Compressed Indexes for Highly Repetitive Texts, by Dominik Kempa
  • View PDF
  • TeX Source
  • Other Formats
view license
Current browse context:
cs.DS
< prev   |   next >
new | recent | 2017-12
Change to browse by:
cs

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar

DBLP - CS Bibliography

listing | bibtex
Dominik Kempa
export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack