Fast circular dictionary-matching algorithm

T Athar, C Barton, W Bland, J Gao… - … Structures in Computer …, 2017 - cambridge.org
T Athar, C Barton, W Bland, J Gao, CS Iliopoulos, C Liu, SP Pissis
Mathematical Structures in Computer Science, 2017cambridge.org
Circular string matching is a problem which naturally arises in many contexts. It consists in
finding all occurrences of the rotations of a pattern of length m in a text of length n. There
exist optimal worst-and average-case algorithms for circular string matching. Here, we
present a suboptimal average-case algorithm for circular string matching requiring time (M),
where M is the total length of the dictionary patterns, assuming that the shortest pattern is
sufficiently long. Moreover, the presented average-case algorithms and other worst-case …
Circular string matching is a problem which naturally arises in many contexts. It consists in finding all occurrences of the rotations of a pattern of length m in a text of length n. There exist optimal worst- and average-case algorithms for circular string matching. Here, we present a suboptimal average-case algorithm for circular string matching requiring time (M), where M is the total length of the dictionary patterns, assuming that the shortest pattern is sufficiently long. Moreover, the presented average-case algorithms and other worst-case approaches were also implemented. Experimental results, using real and synthetic data, demonstrate that the implementation of the presented algorithms can accelerate the computations by more than a factor of two compared to the corresponding implementation of other approaches.
Cambridge University Press
以上显示的是最相近的搜索结果。 查看全部搜索结果