Title :
Two Improved Single Pattern Matching Algorithms
Author :
Liu, Chuanhan ; Wang, Yongcheng ; Liu, Derong ; Li, Danglin
Author_Institution :
Dept. of Comput. Sci. & Eng., Shanghai Jiao Tong Univ., Shanghai
fDate :
Nov. 29 2006-Dec. 1 2006
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.
Keywords :
finite state machines; pattern matching; forward finite state automaton; pattern prefix; single pattern matching algorithms; string matching; suffix automaton; Automata; Computer science; DNA; Doped fiber amplifiers; Information retrieval; Intrusion detection; Pattern matching; Radio frequency; Text processing;
Conference_Titel :
Artificial Reality and Telexistence--Workshops, 2006. ICAT '06. 16th International Conference on
Conference_Location :
Hangzhou
Print_ISBN :
0-7695-2754-X
DOI :
10.1109/ICAT.2006.134