English

Faster Recovery of Approximate Periods over Edit Distance

Data Structures and Algorithms 2018-07-30 v1

Abstract

The approximate period recovery problem asks to compute all approximate word-periods\textit{approximate word-periods} of a given word SS of length nn: all primitive words PP (P=p|P|=p) which have a periodic extension at edit distance smaller than τp\tau_p from SS, where τp=n(3.75+ϵ)p\tau_p = \lfloor \frac{n}{(3.75+\epsilon)\cdot p} \rfloor for some ϵ>0\epsilon>0. Here, the set of periodic extensions of PP consists of all finite prefixes of PP^\infty. We improve the time complexity of the fastest known algorithm for this problem of Amir et al. [Theor. Comput. Sci., 2018] from O(n4/3)O(n^{4/3}) to O(nlogn)O(n \log n). Our tool is a fast algorithm for Approximate Pattern Matching in Periodic Text. We consider only verification for the period recovery problem when the candidate approximate word-period PP is explicitly given up to cyclic rotation; the algorithm of Amir et al. reduces the general problem in O(n)O(n) time to a logarithmic number of such more specific instances.

Keywords

Cite

@article{arxiv.1807.10483,
  title  = {Faster Recovery of Approximate Periods over Edit Distance},
  author = {Tomasz Kociumaka and Jakub Radoszewski and Wojciech Rytter and Juliusz Straszyński and Tomasz Waleń and Wiktor Zuba},
  journal= {arXiv preprint arXiv:1807.10483},
  year   = {2018}
}

Comments

Accepted to SPIRE 2018