کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
433730 689618 2016 8 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Set Intersection and Sequence Matching with mismatch counting
ترجمه فارسی عنوان
تقاطع و دنباله ای را با شمارش ناپیوستگی تنظیم کنید
کلمات کلیدی
تنظیم تقاطع مطابق، تطبیق دنباله، تطبیق الگو، رشته های متداول
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
چکیده انگلیسی

In the classical pattern-matching problem, one is given a text and a pattern both of which are sequences of letters. The requirement is to find all occurrences of the pattern in the text. We studied two modifications of the classical problem, where each letter in the text and pattern is a set (Set Intersection Matching problem) or a sequence (Sequence Matching problem). Two “letters” are found to match if the intersection of the corresponding sets is not empty or if the two sequences have a common element in the same index. We first show that the two problems are similar by establishing a linear time reduction between them. We then show the first known non-trivial and efficient algorithms for these problems, when the maximum set/sequence size d is small. The first is a Monte Carlo randomized algorithm for Set Intersection Matching  , that takes Θ(4dnlog⁡nlog⁡m)Θ(4dnlog⁡nlog⁡m) time, where n and m   are the lengths of the text and the pattern, respectively; the failure probability is less than 1n2. This algorithm can also be used, with slight modifications, when up to k   mismatches is allowed. In addition, it can be used to maintain an approximation of factor 1±ϵ1±ϵ of the mismatch count in Θ(1ϵ24dnlog⁡nlog⁡m) time; the failure probability is bounded by 1n. The second is a deterministic algorithm for Set Intersection Matching   that can be used to count the number of matches at each index of the text in a total running time Θ(∑i=1d(σi)nlog⁡m)=O(σdnlog⁡m), where σ is the size of the alphabet. The third algorithm, also deterministic, solves the Sequence Matching   problem in Θ(4dnlog⁡m)Θ(4dnlog⁡m) time.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Theoretical Computer Science - Volume 638, 25 July 2016, Pages 3–10
نویسندگان
, ,