Motivated by the task of finding approximate periodic patterns in real-world data, we consider the following problem: Given a sequence of n numbers in increasing order, and α ∈ [0,1], find a longest subsequence T = S1, S2,...,Sk of numbers S i ∈ S, ordered as in S, under the condition that max i=1,...,k-1{si+1-si}/min i=1,...,k-1{si+1-si}, called the period ratio of T, is at most 1+α. We give an exact algorithm with run time O(n 3) for this problem. This bound is too high for large inputs in practice. Therefore, we describe an algorithm which approximates the longest periodic pattern present in the input in the following sense: Given constants α and ε, the algorithm computes a subsequence with period ratio at most (1+α)(1+ε), whose length is greater or equal to the longest subsequence with period ratio at most (1+α). This latter algorithm has a much smaller run time of O(n1+γ), where γ>0 is an arbitrarily small positive constant. As a byproduct which may be of independent interest, we show that an approximate variant of the well-known 3SUM problem can also be solved in O(n1+γ + Tsort(n)) time, for any constant γ>0, where Tsort (n) is the time required to sort n numbers. © 2011 Springer-Verlag.
CITATION STYLE
Gfeller, B. (2011). Finding longest approximate periodic patterns. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 6844 LNCS, pp. 463–474). https://doi.org/10.1007/978-3-642-22300-6_39
Mendeley helps you to discover research relevant for your work.