English

Combinatorics of minimal absent words for a sliding window

Combinatorics 2022-04-19 v3 Discrete Mathematics Formal Languages and Automata Theory

Abstract

A string ww is called a minimal absent word (MAW) for another string TT if ww does not occur in TT but the proper substrings of ww occur in TT. For example, let Σ={a,b,c}\Sigma = \{\mathtt{a, b, c}\} be the alphabet. Then, the set of MAWs for string w=abaabw = \mathtt{abaab} is {aaa,aaba,bab,bb,c}\{\mathtt{aaa, aaba, bab, bb, c}\}. In this paper, we study combinatorial properties of MAWs in the sliding window model, namely, how the set of MAWs changes when a sliding window of fixed length dd is shifted over the input string TT of length nn, where 1d<n1 \leq d < n. We present \emph{tight} upper and lower bounds on the maximum number of changes in the set of MAWs for a sliding window over TT, both in the cases of general alphabets and binary alphabets. Our bounds improve on the previously known best bounds [Crochemore et al., 2020].

Keywords

Cite

@article{arxiv.2105.08496,
  title  = {Combinatorics of minimal absent words for a sliding window},
  author = {Tooru Akagi and Yuki Kuhara and Takuya Mieno and Yuto Nakashima and Shunsuke Inenaga and Hideo Bannai and Masayuki Takeda},
  journal= {arXiv preprint arXiv:2105.08496},
  year   = {2022}
}

Comments

A part of the results of this article appeared in Proc. SOFSEM 2020 (also in arXiv:1909.02804). The results on binary alphabets are the main new material in this article