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 n⩽c(n, m)⩽2n-m+1 or 0⩽C⩽1. These bounds are improved, and Conline is determined exactly
Published in:
Foundations of Computer Science, 1990. Proceedings., 31st Annual Symposium on
Date of Conference:
22-24 Oct 1990
- Page(s):
-
135
-
144 vol.1
- Meeting Date :
-
22 Oct 1990-24 Oct 1990
- Print ISBN:
-
0-8186-2082-X
- INSPEC Accession Number:
-
3908497
- Conference Location :
-
St. Louis, MO
- Digital Object Identifier :
-
10.1109/FSCS.1990.89532
- Product Type:
-
Conference Publications