Sliding window property testing for regular languages

09/23/2019
by   Moses Ganardi, et al.
0

We study the problem of recognizing regular languages in a variant of the streaming model of computation, called the sliding window model. In this model, we are given a size of the sliding window n and a stream of symbols. At each time instant, we must decide whether the suffix of length n of the current stream ("the active window") belongs to a given regular language. Recent works showed that the space complexity of an optimal deterministic sliding window algorithm for this problem is either constant, logarithmic or linear in the window size n and provided natural language theoretic characterizations of the space complexity classes. Subsequently, those results were extended to randomized algorithms to show that any such algorithm admits either constant, double logarithmic, logarithmic or linear space complexity. In this work, we make an important step forward and combine the sliding window model with the property testing setting, which results in ultra-efficient algorithms for all regular languages. Informally, a sliding window property tester must accept the active window if it belongs to the language and reject it if it is far from the language. We consider deterministic and randomized sliding window property testers with one-sided and two-sided errors. In particular, we show that for any regular language, there is a deterministic sliding window property tester that uses logarithmic space and a randomized sliding window property tester with two-sided error that uses constant space.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/21/2018

Randomized sliding window algorithms for regular languages

A sliding window algorithm receives a stream of symbols and has to outpu...
research
09/29/2022

Low-Latency Sliding Window Algorithms for Formal Languages

Low-latency sliding window algorithms for regular and context-free langu...
research
01/18/2023

Pseudorandom Generators for Sliding-Window Algorithms

A sliding-window algorithm of window size t is an algorithm whose curren...
research
03/27/2010

Active Testing for Face Detection and Localization

We provide a novel search technique, which uses a hierarchical model and...
research
05/10/2020

Approaching Optimal Duplicate Detection in a Sliding Window

Duplicate detection is the problem of identifying whether a given item h...
research
10/16/2020

Sliding-Window QPS (SW-QPS): A Perfect Parallel Iterative Switching Algorithm for Input-Queued Switches

In this work, we first propose a parallel batch switching algorithm call...
research
04/26/2021

A Sliding-Window Approach to Automatic Creation of Meeting Minutes

Meeting minutes record any subject matters discussed, decisions reached ...

Please sign up or login with your details

Forgot password? Click here to reset