Designing optimal- and fast-on-average pattern matching algorithms
From MaRDI portal
Publication:511153
DOI10.1016/J.JDA.2016.11.001zbMATH Open1359.68333arXiv1604.08860OpenAlexW2964289865MaRDI QIDQ511153FDOQ511153
Publication date: 14 February 2017
Published in: Journal of Discrete Algorithms (Search for Journal in Brave)
Abstract: Given a pattern and a text , the speed of a pattern matching algorithm over with regard to , is the ratio of the length of to the number of text accesses performed to search into . We first propose a general method for computing the limit of the expected speed of pattern matching algorithms, with regard to , over iid texts. Next, we show how to determine the greatest speed which can be achieved among a large class of algorithms, altogether with an algorithm running this speed. Since the complexity of this determination make it impossible to deal with patterns of length greater than 4, we propose a polynomial heuristic. Finally, our approaches are compared with 9 pre-existing pattern matching algorithms from both a theoretical and a practical point of view, i.e. both in terms of limit expected speed on iid texts, and in terms of observed average speed on real data. In all cases, the pre-existing algorithms are outperformed.
Full work available at URL: https://arxiv.org/abs/1604.08860
Cites Work
- Title not available (Why is that?)
- Efficient randomized pattern-matching algorithms
- A fast string searching algorithm
- Fast Pattern Matching in Strings
- Probabilistic Arithmetic Automata and Their Application to Pattern Matching Statistics
- Title not available (Why is that?)
- The exact online string matching problem: a review of the most recent results
- String overlaps, pattern matching, and nontransitive games
- EFFICIENT VARIANTS OF THE BACKWARD-ORACLE-MATCHING ALGORITHM
- The Complexity of Pattern Matching for a Random String
- Average running time of the Boyer-Moore-Horspool algorithm
- An algorithm to compute the character access count distribution for pattern matching algorithms
- The Boyer-Moore-Horspool heuristic with Markovian input
- Analysis of Boyer-Moore-Horspool string-matching heuristic
- Exact Analysis of Horspool’s and Sunday’s Pattern Matching Algorithms with Probabilistic Arithmetic Automata
- Title not available (Why is that?)
- Average case analysis of the Boyer‐Moore algorithm
- Combinatorial Pattern Matching
- An analytical comparison of two string searching algorithms
Cited In (4)
This page was built for publication: Designing optimal- and fast-on-average pattern matching algorithms
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q511153)