Online recognition of dictionary with one gap

Amihood Amir, Avivit Levy, Ely Porat, B. Riva Shalom

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

5 Scopus citations

Abstract

We formalize and examine the online Dictionary Recognition with One Gap problem (DROG) which is the following. Preprocess a dictionary D of d patterns, where each pattern contains a special gap symbol that can match any string, so that given a text that arrives online, a character at a time, we can report all the patterns from D that have not been reported yet and are suffixes of the text that has arrived so far, before the next character arrives. The gap symbols are associated with bounds determining the possible lengths of matching strings. Online DROG captures the difficulty in a bottleneck procedure for cyber-security, as many digital signatures of viruses manifest themselves as patterns with a single gap. Following the work of [4] on the closely related online Dictionary Matching with One Gap problem (DMOG), we provide algorithms whose time cost depends linearly on δ(GD), where GD is a bipartite graph that captures the structure of D and δ(GD) is the degeneracy of this graph. These algorithms are of practical interest since although δ(GD) can be as large as d, and even larger if GD is a multi-graph, it is typically a very small constant in practice. Finally, when δ(GD) is large we describe other efficient solutions.

Original languageEnglish
Title of host publicationProceedings of the Prague Stringology Conference, PSC 2017
EditorsJan Holub, Jan Zdarek
PublisherPrague Stringology Club
Pages3-17
Number of pages15
ISBN (Electronic)9788001061930
StatePublished - 2017
Event21st Prague Stringology Conference, PSC 2017 - Prague, Czech Republic
Duration: 28 Aug 201730 Aug 2017

Publication series

NameProceedings of the Prague Stringology Conference, PSC 2017

Conference

Conference21st Prague Stringology Conference, PSC 2017
Country/TerritoryCzech Republic
CityPrague
Period28/08/1730/08/17

Bibliographical note

Publisher Copyright:
© Czech Technical University in Prague, Czech Republic.

Fingerprint

Dive into the research topics of 'Online recognition of dictionary with one gap'. Together they form a unique fingerprint.

Cite this