
doi: 10.1137/0216067
Summary: Given a pattern string of length n and an object string of length m, the string matching problem asks for the positions of all occurrences of the pattern in the object string. This paper investigates a generalization of string matching, in which the pattern is a sequence of pattern elements, each compatible with a set of symbols. The alphabet of symbols is infinite, with its members encoded in a finite alphabet. In contrast to standard string matching, which can be solved in simultaneous linear time and constant space, it is shown that generalized string matching requires a time-space product of \(\Omega\) (n 2/log n) on a powerful model of computation, when the alphabet is restricted to n symbols. Our proof uses a method of Borodin. The obvious algorithm for generalized string matching requires time O(N M), where N is the length of the encoding of the pattern, and M is that of the object string. We describe an algorithm which solves generalized string matching in time \(O(N+M+m N^{1/2} poly\log (n))\).
regular expressions, time-space tradeoff, Analysis of algorithms and problem complexity, generalized string matching, pattern string, Searching and sorting, object string
regular expressions, time-space tradeoff, Analysis of algorithms and problem complexity, generalized string matching, pattern string, Searching and sorting, object string
| selected citations These citations are derived from selected sources. This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | 193 | |
| popularity This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network. | Top 10% | |
| influence This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | Top 0.1% | |
| impulse This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network. | Top 10% |
