Improved dynamic dictionary matching

Amihood Amir, Martin Farach, Ramana M. Idury, Johannes A. La Poutre, Alejandro A. Schaeffer

Research output: Contribution to journalArticlepeer-review

Abstract

In the dynamic dictionary matching problem, a dictionary D contains a set of patterns that can change over time by insertion and deletion of individual patterns. The user also presents text strings and asks for all occurrences of any patterns in the text. The two main contributions of this paper are: 1) A faster algorithm for dynamic string dictionary matching with bounded alphabets, and 2) A dynamic dictionary matching algorithm for two dimensional texts and square patterns. The first contribution is based on an algorithm that solves the general problem of maintaining a sequence of well-balanced parentheses under the operations insert, delete, and find nearest enclosing parenthesis pair. The main ideas behind the second contribution are: a linearization of two dimensional square patterns along the main diagonal, and new data structures to allow efficient manipulation of failure links.
Original languageEnglish
JournalProceedings of the Fourth Annual ACM-SIAM Symposium on Discrete Algorithms
StatePublished - 1 Jan 1993

Fingerprint

Dive into the research topics of 'Improved dynamic dictionary matching'. Together they form a unique fingerprint.

Cite this