Fast algorithms for two dimensional and multiple pattern matching

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

Abstract

A new algorithm for searching a two dimensional m × m pattern in a two dimensional n × n text is presented. It performs on the average less comparisons than the size of the text; n2/m using m2 extra space. It improves on previous results in both time: n2 and space: n or m2, and is nearly optimal. Basically, it uses multiple string matching on only n/m rows of the text. We also present a new multi-string searching algorithm based in the Boyer-Moore string searching algorithm. A theoretical analysis is performed relying on original methods, word enumeration and probability theory, quite new in this field, and powerful. The average number of comparisons is proved to be asymptotically αn2/m, α < 1.

Cite

CITATION STYLE

APA

Baeza-Yates, R., & Régnier, M. (1990). Fast algorithms for two dimensional and multiple pattern matching. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 447 LNCS, pp. 332–347). Springer Verlag. https://doi.org/10.1007/3-540-52846-6_102

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