@inproceedings{37191b7ec9ed4bb1b54fd0314b93c3cd,

title = "An improvement of the franek-jennings-smyth pattern matching algorithm",

abstract = "In this paper, we propose a new pattern matching algorithm based on the Franek-Jennings-Smyth (FJS) algorithm. The FJS algorithm is a hybrid of the Knuth- Morris-Pratt (KMP) and the Sunday algorithms. The worst case time complexity of the KMP algorithm is linear time and the Sunday algorithm is quadratic time. However, the Sunday algorithm is faster than the KMP algorithm in practice. Inheriting the virtues of those algorithms, the FJS algorithm runs in linear time in the worst case and fast in practice. We improve the FJS algorithm by further taking an idea inspired by the Quite-Naive algorithm by Cantone and Faro. The experimental results show that our algorithm is faster than the FJS algorithm in general except when a pattern is extremely short.",

keywords = "Exact pattern matching, Knuth-Morris-Pratt algorithm, Sunday algorithm",

author = "Satoshi Kobayashi and Hendrian Diptarama and Ryo Yoshinaka and Ayumi Shinohara",

year = "2019",

month = jan,

day = "1",

language = "English",

series = "Proceedings of the Prague Stringology Conference, PSC 2019",

publisher = "Prague Stringology Club",

pages = "56--68",

editor = "Jan Holub and Jan Zdarek",

booktitle = "Proceedings of the Prague Stringology Conference, PSC 2019",

note = "23rd Prague Stringology Conference, PSC 2019 ; Conference date: 26-08-2019 Through 28-08-2019",

}