• DocumentCode
    774969
  • Title

    The design of efficient algorithms for two-dimensional pattern matching

  • Author

    Fan, Jang-Jong ; Su, Keh-Yih

  • Author_Institution
    Dept. of Electr. Eng., Nat. Tsing Hua Univ., Hsinchu, Taiwan
  • Volume
    7
  • Issue
    2
  • fYear
    1995
  • fDate
    4/1/1995 12:00:00 AM
  • Firstpage
    318
  • Lastpage
    327
  • Abstract
    The two-dimensional pattern matching problem finds the occurrences of a given two-dimensional pattern array in a two-dimensional text array. The paper presents two efficient algorithms, which combine Fan-Su (1993) and Aho-Corasick (1979) string search algorithms, to solve this problem. The proposed algorithms need not inspect each character of the text array during the pattern matching in most cases. Additionally, unlike the algorithms proposed by Zhu and Takaoka (1989) which are based on the hashing method, these new algorithms require no preprocessing of the text array. A comparison of the performance of various algorithms is presented. The result shows that the proposed algorithms are about three to six times faster than the best algorithm proposed previously when the size of the pattern array is less than 1/100 of the size of the text array, which occurs frequently in many applications
  • Keywords
    algorithm theory; pattern matching; search problems; string matching; efficient algorithm design; performance; string search algorithms; two-dimensional pattern array; two-dimensional pattern matching; two-dimensional text array; Algorithm design and analysis; Automata; Birds; Detectors; Helium; Pattern matching; Sensor arrays;
  • fLanguage
    English
  • Journal_Title
    Knowledge and Data Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    1041-4347
  • Type

    jour

  • DOI
    10.1109/69.382300
  • Filename
    382300