Dictionary matching with one gap

14Citations
Citations of this article
6Readers
Mendeley users who have this article in their library.
Get full text

Abstract

The dictionary matching with gaps problem is to preprocess a dictionary D of d gapped patterns P 1,...,P d over alphabet ∑, where each gapped pattern P i is a sequence of subpatterns separated by bounded sequences of don't cares. Then, given a query text T of length n over alphabet ∑, the goal is to output all locations in T in which a pattern Pi ∈ D, 1 ≤ I ≤ d, ends. There is a renewed current interest in the gapped matching problem stemming from cyber security. In this paper we solve the problem where all patterns in the dictionary have one gap with at least α and at most β don't cares, where α and β are given parameters. Specifically, we show that the dictionary matching with a single gap problem can be solved in either O(d log d+D) time and O(dlog ε d+D) space, and query time O(n(β-α)loglogd log 2 min { d, log D }+occ), where occ is the number of patterns found, or preprocessing time: O(d2 ovr+ D ), where ovr is the maximal number of subpatterns including each other as a prefix or as a suffix, space: O(d 2+ D ), and query time O(n(β-α)+occ), where occ is the number of patterns found. As far as we know, this is the best solution for this setting of the problem, where many overlaps may exist in the dictionary. © 2014 Springer International Publishing Switzerland.

Cite

CITATION STYLE

APA

Amir, A., Levy, A., Porat, E., & Shalom, B. R. (2014). Dictionary matching with one gap. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 8486 LNCS, pp. 11–20). Springer Verlag. https://doi.org/10.1007/978-3-319-07566-2_2

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free