
handle: 11858/00-001M-0000-000F-3911-8
Summary: Given a pattern string of length \(m\) for the string-matching problem, we design an algorithm that computes deterministic samples of a sufficiently long substring of the pattern in constant time. This problem used to be the bottleneck in the pattern preprocessing for one- and two-dimensional pattern matching. The best previous time bound was \(O(\log 2m \log \log m)\). We use this algorithm to obtain the following results (all algorithms below are optimal parallel algorithms on a CRCW PRAM): -- a deterministic string-matching algorithm which takes \(O(\log \log m)\) time for preprocessing and constant time for text search, which are the best possible in both preprocessing and text search; -- a constant-time deterministic string-matching algorithm in the case, where the text length \(n\) satisfies \(n= \Omega(m^{1+\varepsilon})\) for a constant \(\varepsilon>0\); -- a simple string-matching algorithm that has constant time with high probability for random input; -- the main result: a constant-expected-time Las Vegas algorithm for computing the period of the pattern and all witnesses and thus for string matching itself; in both cases, an \(\Omega(\log\log m)\) lower bound is known for deterministic algorithms.
Combinatorics on words, Analysis of algorithms and problem complexity, randomized algorithms, Distributed algorithms, [INFO.INFO-DS] Computer Science [cs]/Data Structures and Algorithms [cs.DS], parallel string matching, deterministic samples
Combinatorics on words, Analysis of algorithms and problem complexity, randomized algorithms, Distributed algorithms, [INFO.INFO-DS] Computer Science [cs]/Data Structures and Algorithms [cs.DS], parallel string matching, deterministic samples
| 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). | 10 | |
| 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. | Average | |
| 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 10% | |
| impulse This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network. | Average |
