| Algorithms | |
| An Algorithm to Compute the Character Access Count Distribution for Pattern Matching Algorithms | |
| Tobias Marschall1  | |
| [1] Centrum Wiskunde & Informatica (CWI), Science Park 123, 1098 XG Amsterdam, The Netherlands | |
| 关键词: pattern matching; analysis of algorithms; finite automaton; minimization; deterministic arithmetic automaton; probabilistic arithmetic automaton; | |
| DOI : 10.3390/a4040285 | |
| 来源: mdpi | |
PDF
|
|
【 摘 要 】
We propose a framework for the exact probabilistic analysis of window-based pattern matching algorithms, such as Boyer–Moore, Horspool, Backward DAWG Matching, Backward Oracle Matching, and more. In particular, we develop an algorithm that efficiently computes the distribution of a pattern matching algorithm's running time cost (such as the number of text character accesses) for any given pattern in a random text model. Text models range from simple uniform models to higher-order Markov models or hidden Markov models (HMMs). Furthermore, we provide an algorithm to compute the exact distribution of
【 授权许可】
CC BY
© 2011 by the authors; licensee MDPI, Basel, Switzerland.
【 预 览 】
| Files | Size | Format | View |
|---|---|---|---|
| RO202003190047194ZK.pdf | 520KB |
PDF