@inproceedings{b5123f7d8c23432fba901f2c288c4d52,
title = "Testing parenthesis languages",
abstract = "We continue the investigation of properties defined by formal languages. This study was initiated by Alon et al. [1] who described an algorithm for testing properties defined by regular languages. Alon et al. also considered several context free languages, and in particular Dyck languages, which contain strings of properly balanced parentheses. They showed that the first Dyck language, which contains strings over a single type of pairs of parentheses, is testable in time independent of n, where n is the length of the input string. However, the second Dyck language, defined over two types of parentheses, requires Ω(log n) queries. Here we describe a sublinear-time algorithm for testing all Dyck languages. Specifically, the running time of our algorithm is (Formula Presented), where ϵ is the given distance parameter. Furthermore, we improve the lower bound for testing Dyck languages to Ω(n1/11) for constant ϵ. We also have a testing algorithm for the context free language (Formula Presented), where Σ is a fixed alphabet. The running time of our algorithm is O(√n/ε), which almost matches the lower bound given by Alon et al. [1].",
keywords = "Regular languages, query complexity, testing algorithm, substrings",
author = "Michal Parnas and Dana Ron and Ronitt Rubinfeld",
note = "Publisher Copyright: {\textcopyright} Springer-Verlag Berlin Heidelberg 2001; 4th International Workshop on Approximation Algorithms for Combinatorial Optimization Problems, APPROX 2001 and 5th International Workshop on Randomization and Approximation Techniques in Computer Science, RANDOM 2001 ; Conference date: 18-08-2001 Through 20-08-2001",
year = "2001",
doi = "10.1007/3-540-44666-4_29",
language = "אנגלית",
isbn = "978-3-540-42470-3",
series = "Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)",
publisher = "Springer Verlag",
pages = "261--272",
editor = "Michel Goemans and Klaus Jansen and Rolim, {Jose D. P.} and Luca Trevisan",
booktitle = "Approximation, Randomization, and Combinatorial Optimization",
}