کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
428675 686869 2010 5 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Detecting patterns in finite regular and context-free languages
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
Detecting patterns in finite regular and context-free languages
چکیده انگلیسی

We consider some natural variations on the following classic pattern-matching problem: given an NFA M over the alphabet Σ and a pattern p over some alphabet Δ, does there exist a word x∈L(M) such that x matches p? We consider the restricted problem where M only accepts a finite language. We also consider the variation where only some factor of x is required to match the pattern p. We show that both of these problems are NP-complete. We also consider the same problems for context-free grammars; in this case the problems become PSPACE-complete.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Information Processing Letters - Volume 110, Issue 3, 1 January 2010, Pages 108-112