LAUSR.org creates dashboard-style pages of related content for over 1.5 million academic articles. Sign Up to like articles & get recommendations!

Periodicity in Data Streams with Wildcards

Photo from archive.org

We investigate the problem of detecting periodic trends within a string S of length n , arriving in the streaming model, containing at most k wildcard characters, where k =… Click to show full abstract

We investigate the problem of detecting periodic trends within a string S of length n , arriving in the streaming model, containing at most k wildcard characters, where k = o ( n ). A wildcard character is a special character that can be assigned any other character. We say that S has wildcard-period p if there exists an assignment to each of the wildcard characters so that in the resulting stream the prefix of length n − p equals the suffix of length n − p . We present a two-pass streaming algorithm that computes wildcard-periods of S using O ( k 3 polylog n ) $\mathcal {O}(k^{3} \text {polylog} n)$ bits of space, while we also show that this problem cannot be solved in sublinear space in one pass. We also give a one-pass randomized streaming algorithm that computes all wildcard-periods p of S with p < n 2 $p<\frac {n}{2}$ and no wildcard characters appearing in the last p symbols of S , using O ( k 3 log 9 n ) $\mathcal {O}(k^{3}\log ^{9} n)$ space.

Keywords: data streams; periodicity data; space; wildcard characters; pass; streams wildcards

Journal Title: Theory of Computing Systems
Year Published: 2019

Link to full text (if available)


Share on Social Media:                               Sign Up to like & get
recommendations!

Related content

More Information              News              Social Media              Video              Recommended



                Click one of the above tabs to view related content.