The notion of circular string attractor has been recently introduced by Mantaci et al. [TCS 2021]. It consists of a set Γc of positions in a word such that each distinct circular factor has at least an occurrence crossing one of the elements of Γc. Its definition is an extension of the notion of string attractor by Kempa and Prezza [STOC 2018], which has been introduced as a unifying framework for some dictionary-based compressors. In this paper, we present the first linear time algorithm to check whether a set is a circular string attractor of a word w∈{a_1, . . . , a_σ}^𝑛 by using O(n log n) bits of space. We further show that, for each p > 0, the decision problem of having a circular string attractor of size ≤ p is NP-complete. The proof is obtained through a reduction from the analogous problem for string attractors, for which Kempa and Prezza [STOC 2018] proved the NP-completeness. This reduction naturally leads to a new algorithm for checking whether a set is a string attractor that, unlike one of the solutions proposed by Kempa et al. [ESA 2018], it is independent from the size of the alphabet

Giuseppe Romana (2023). Algorithmic View on Circular String Attractors. In M.S. Giuseppa Castiglione (a cura di), Proceedings of the 24th Italian Conference on Theoretical Computer Science (ICTCS 2023), Palermo, Italy, September 13-15, 2023. (pp. 169-180).

Algorithmic View on Circular String Attractors

Giuseppe Romana
Primo
2023-01-01

Abstract

The notion of circular string attractor has been recently introduced by Mantaci et al. [TCS 2021]. It consists of a set Γc of positions in a word such that each distinct circular factor has at least an occurrence crossing one of the elements of Γc. Its definition is an extension of the notion of string attractor by Kempa and Prezza [STOC 2018], which has been introduced as a unifying framework for some dictionary-based compressors. In this paper, we present the first linear time algorithm to check whether a set is a circular string attractor of a word w∈{a_1, . . . , a_σ}^𝑛 by using O(n log n) bits of space. We further show that, for each p > 0, the decision problem of having a circular string attractor of size ≤ p is NP-complete. The proof is obtained through a reduction from the analogous problem for string attractors, for which Kempa and Prezza [STOC 2018] proved the NP-completeness. This reduction naturally leads to a new algorithm for checking whether a set is a string attractor that, unlike one of the solutions proposed by Kempa et al. [ESA 2018], it is independent from the size of the alphabet
2023
Settore INFO-01/A - Informatica
Giuseppe Romana (2023). Algorithmic View on Circular String Attractors. In M.S. Giuseppa Castiglione (a cura di), Proceedings of the 24th Italian Conference on Theoretical Computer Science (ICTCS 2023), Palermo, Italy, September 13-15, 2023. (pp. 169-180).
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10447/665405
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? ND
social impact