کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
6874034 686415 2015 19 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Checking determinism of regular expressions with counting
ترجمه فارسی عنوان
بررسی جبرگرایی عبارات منظم با شمارش
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
چکیده انگلیسی
In this paper, we first present characterizations of weak determinism for regular expressions with counting, based on which we develop an O(|ΣE||E|) time algorithm to check whether an expression E with counting is weakly deterministic, where ΣE is the set of distinct symbols in the expression E. Moreover, our algorithm can locate nondeterminism in subexpressions, which is useful for diagnosing purpose. Then we present a characterization of strong determinism for regular expressions with counting, and study the relations between weak determinism and strong determinism. Based on these, we give an O(|E|) time algorithm to check strong determinism, improving the previous upper bound of O(|E|3) time. Finally, historically there has been another definition of strong determinism for standard regular expressions, which we call restricted strong determinism in this paper. We extend this definition to expressions with counting, establish the relation between the two definitions, and give an O(|E|) time algorithm to check restricted strong determinism for regular expressions with counting.
ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Information and Computation - Volume 241, April 2015, Pages 302-320
نویسندگان
, ,