Abstract

We study the string-property of being periodic and having periodicity smaller than a given bound. Let Σ be a fixed alphabet and let p,n be integers such that $p\leq \frac{n}{2}$. A length-n string over Σ, α=(α 1,…,α n ), has the property Period(p) if for every i,j∈{1,…,n}, α i =α j whenever i≡j (mod p). For an integer parameter $g\leq \frac{n}{2},$ the property Period(≤g) is the property of all strings that are in Period(p) for some p≤g. The property $\mathit{Period}(\leq \frac{n}{2})$ is also called Periodicity. An e-test for a property P of length-n strings is a randomized algorithm that for an input α distinguishes between the case that α is in P and the case where one needs to change at least an e-fraction of the letters of α to get a string in P. The query complexity of the e-test is the number of letter queries it makes for the worst case input string of length n. We study the query complexity of e-tests for Period(≤g) as a function of the parameter g, when g varies from 1 to $\frac{n}{2}$, while ignoring the exact dependence on the proximity parameter e. We show that there exists an exponential phase transition in the query complexity around g=log n. That is, for every δ>0 and g≥(log n)1+δ , every two-sided error, adaptive e-test for Period(≤g) has a query complexity that is polynomial in g. On the other hand, for $g\leq \frac{\log{n}}{6}$, there exists a one-sided error, non-adaptive e-test for Period(≤g), whose query complexity is poly-logarithmic in g. We also prove that the asymptotic query complexity of one-sided error non-adaptive e-tests for Periodicity is $\Theta(\sqrt{n\log n}\,)$, ignoring the dependence on e.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.