Periodicity in Data Streams with Wildcards

02/20/2018
by   Funda Ergun, et al.
0

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 S has wildcard-period p if there exists an assignment to each of the wildcard characters so that in the resulting stream the length n-p prefix equals the length n-p suffix. We present a two-pass streaming algorithm that computes wildcard-periods of S using O(k^3 polylog n) bits of space, while we also show that this problem cannot be solved in sublinear space in one pass. We then give a one-pass randomized streaming algorithm that computes all wildcard-periods p of S with p<n/2 and no wildcard characters appearing in the last p symbols of S, using O(k^3polylog n) space.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/12/2018

Sliding window order statistics in sublinear space

We extend the multi-pass streaming model to sliding window problems, and...
research
09/25/2019

Streaming PTAS for Binary ℓ_0-Low Rank Approximation

We give a 3-pass, polylog-space streaming PTAS for the constrained binar...
research
03/27/2022

Approximately Counting Subgraphs in Data Streams

Estimating the number of subgraphs in data streams is a fundamental prob...
research
10/15/2018

Small Space Stream Summary for Matroid Center

In the matroid center problem, which generalizes the k-center problem, w...
research
11/12/2017

Longest Alignment with Edits in Data Streams

Analyzing patterns in data streams generated by network traffic, sensor ...
research
07/13/2023

A Noise Resilient Transformation for Streaming Algorithms

In a streaming algorithm, Bob receives an input x ∈{0,1}^n via a stream ...
research
08/19/2022

Revisiting Maximum Satisfiability and Related Problems in Data Streams

We revisit the MaxSAT problem in the data stream model. In this problem,...

Please sign up or login with your details

Forgot password? Click here to reset