The Community for Technology Leaders
16th International Conference on Artificial Reality and Telexistence--Workshops (ICAT'06) (2006)
Hangzhou, China
Nov. 29, 2006 to Dec. 1, 2006
ISBN: 0-7695-2754-X
pp: 419-422
Chuanhan Liu , Shanghai Jiao Tong University, China
Yongcheng Wang , Shanghai Jiao Tong University, China
Derong Liu , Shanghai Jiao Tong University, China
Danglin Li , Shanghai Jiao Tong University, China
ABSTRACT
In this paper, two single pattern matching algorithms are presented, each of which is composed by a smallest suffix automaton and a forward finite state automaton. Whatever the suffix automaton or the forward finite state automaton is running, the window shifts m-R characters and then the suffix automaton starts running if no pattern prefix is found (R is zero) in the first algorithm or R is not greater than half of m in the second algorithm, otherwise, the forward finite state automaton starts running. Their time complexities are all O(n) in the worst case and O(n/m) in the best case. The experimental results show that the average time complexities of two algorithms are less than that of RF and LDM for short patterns and that of BM for long patterns over small alphabets or short lengths over large alphabets.
INDEX TERMS
null
CITATION
Chuanhan Liu, Yongcheng Wang, Derong Liu, Danglin Li, "Two Improved Single Pattern Matching Algorithms", 16th International Conference on Artificial Reality and Telexistence--Workshops (ICAT'06), vol. 00, no. , pp. 419-422, 2006, doi:10.1109/ICAT.2006.134
81 ms
(Ver 3.3 (11022016))