• DocumentCode
    2777425
  • Title

    On the exact complexity of string matching

  • Author

    Colussi, Livio ; Galil, Zvi ; Giancarlo, Raffaele

  • Author_Institution
    Dipartimento di Matematica Pura & Appl., Padova Univ., Italy
  • fYear
    1990
  • fDate
    22-24 Oct 1990
  • Firstpage
    135
  • Abstract
    The maximal number of character comparisons made by a linear-time string matching algorithm, given a text string of length n and a pattern string of length m over a general alphabet, is investigated. The number is denoted by c(n,m) or approximated by (1+C)n, where C is a universal constant. The subscript `online´ is added when attention is restricted to online algorithms, and the superscript `1´ is added when algorithms that find only one occurrence of the pattern in the text are considered. It is well known that nc(n, m)⩽2n-m+1 or 0⩽C⩽1. These bounds are improved, and Conline is determined exactly
  • Keywords
    computational complexity; online operation; pattern recognition; alphabet; character comparisons; exact complexity; linear-time string matching algorithm; online algorithms; pattern string; text string; Algorithm design and analysis; Computational complexity; Mechanical factors; Pattern matching; Upper bound;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Foundations of Computer Science, 1990. Proceedings., 31st Annual Symposium on
  • Conference_Location
    St. Louis, MO
  • Print_ISBN
    0-8186-2082-X
  • Type

    conf

  • DOI
    10.1109/FSCS.1990.89532
  • Filename
    89532