Logo del repository
  1. Home
 
Opzioni

Substring Complexity in Sublinear Space

Giulia Bernardini
•
Gabriele Fici
•
PaweÅ Gawrychowski
•
Solon P. Pissis
2023
  • conference object

Abstract
Shannon’s entropy is a definitive lower bound for statistical compression. Unfortunately, no such clear measure exists for the compressibility of repetitive strings. Thus, ad hoc measures are employed to estimate the repetitiveness of strings, e.g., the size z of the Lempel–Ziv parse or the number r of equal-letter runs of the Burrows-Wheeler transform. A more recent one is the size γ of a smallest string attractor. Let T be a string of length n. A string attractor of T is a set of positions of T capturing the occurrences of all the substrings of T. Unfortunately, Kempa and Prezza [STOC 2018] showed that computing γ is NP-hard. Kociumaka et al. [LATIN 2020] considered a new measure of compressibility that is based on the function ST (k) counting the number of distinct substrings of length k of T, also known as the substring complexity of T. This new measure is defined as δ = sup{ST (k)/k, k ≥ 1} and lower bounds all the relevant ad hoc measures previously considered. In particular, δ ≤ γ always holds and δ can be computed in O(n) time using Θ(n) working space. Kociumaka et al. showed that one can construct an O(δ log n δ )-sized representation of T supporting efficient direct access and efficient pattern matching queries on T. Given that for highly compressible strings, δ is significantly smaller than n, it is natural to pose the following question: Can we compute δ efficiently using sublinear working space? It is straightforward to show that in the comparison model, any algorithm computing δ using O(b) space requires Ω(n 2−o(1)/b) time through a reduction from the element distinctness problem [Yao, SIAM J. Comput. 1994]. We thus wanted to investigate whether we can indeed match this lower bound. We address this algorithmic challenge by showing the following bounds to compute δ: O( n 3 log b b 2 ) time using O(b) space, for any b ∈ [1, n], in the comparison model. O ̃(n 2 /b) 1 time using O ̃(b) space, for any b ∈ [ √ n, n], in the word RAM model. This gives an O ̃(n 1+ε )-time and O ̃(n 1−ε )-space algorithm to compute δ, for any 0 < ε ≤ 1/2. Let us remark that our algorithms compute ST (k), for all k, within the same complexities.
DOI
10.4230/lipics.isaac.2023.12
Archivio
https://hdl.handle.net/11368/3065698
https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ISAAC.2023.12
Diritti
open access
FVG url
https://arts.units.it/bitstream/11368/3065698/3/LIPIcsISAAC202312.pdf
Soggetti
  • sublinear-space algor...

  • string algorithm

  • substring complexity

google-scholar
Get Involved!
  • Source Code
  • Documentation
  • Slack Channel
Make it your own

DSpace-CRIS can be extensively configured to meet your needs. Decide which information need to be collected and available with fine-grained security. Start updating the theme to match your nstitution's web identity.

Need professional help?

The original creators of DSpace-CRIS at 4Science can take your project to the next level, get in touch!

Realizzato con Software DSpace-CRIS - Estensione mantenuta e ottimizzata da 4Science

  • Impostazioni dei cookie
  • Informativa sulla privacy
  • Accordo con l'utente finale
  • Invia il tuo Feedback