Title :
Truly alphabet-independent two-dimensional pattern matching
Author :
Galil, Zvi ; Park, Kunsoo
Abstract :
A. Amir, G. Benson and M. Farach (see Proc. 24th STOC, p.59-68 (1992)) gave an algorithm for two-dimensional pattern matching (ABF for short) whose text processing is independent of the alphabet and takes O(n2) time, but whose pattern processing is dependent on the alphabet and takes O(m2log|Σ|) time. The authors present an algorithm that is truly independent of the alphabet and takes linear O(m2+n2) time. As in the Knuth-Morris-Pratt algorithm, the only operation on the alphabet is the equality test of two symbols. All previous algorithms except the ABF algorithm reduce the two-dimensional problem into one-dimensional string matching, and use known techniques in string matching. The ABF algorithm uses two-dimensional periodicity for text processing, but their pattern processing resorts to one-dimensional techniques. The authors present a two-dimensional technique for both pattern processing and text processing
Keywords :
character recognition; Knuth-Morris-Pratt algorithm; string matching; text processing; truly alphabet-independent 2D pattern matching; Birds; Computer science; Educational institutions; Pattern matching; Testing; Text processing;
Conference_Titel :
Foundations of Computer Science, 1992. Proceedings., 33rd Annual Symposium on
Conference_Location :
Pittsburgh, PA
Print_ISBN :
0-8186-2900-2
DOI :
10.1109/SFCS.1992.267767