期刊文献+

The Factors Analysis and Algorithm Implementation of Single-pattern Matching

The Factors Analysis and Algorithm Implementation of Single-pattern Matching
原文传递
导出
摘要 By studying the algorithms of single pattern matching, five factors that have effect on time complexity of the algorithm are analyzed. The five factors are: sorting the characters of pattern string in an increasing order of using frequency, utilizing already-matched pattern suffix information, utilizing already-matched pattern prefix information, utilizing the position factor which is absorbed from quick search algorithm, and utilizing the continue-skip idea which is originally proposed by this paper. Combining all the five factors, a new single pattern matching algorithm is implemented. It’s proven by the experiment that the effciency of new algorithm is the best of all algorithms. By studying the algorithms of single pattern matching, five factors that have effect on time complexity of the algorithm are analyzed. The five factors are: sorting the characters of pattern string in an increasing order of using frequency, utilizing already-matched pattern suffix information, utilizing already-matched pattern prefix information, utilizing the position factor which is absorbed from quick search algorithm, and utilizing the continue-skip idea which is originally proposed by this paper. Combining all the five factors, a new single pattern matching algorithm is implemented. It's proven by the experiment that the efficiency of new algorithm is the best of all algorithms.
出处 《Journal of Shanghai Jiaotong university(Science)》 EI 2009年第3期331-337,共7页 上海交通大学学报(英文版)
基金 the National Natural Science Foundation of China (Nos. 60502032 and 60672068)
关键词 模式匹配算法 算法实现 快速搜索算法 匹配模式 时间复杂度 学习算法 因素影响 字符串 single pattern matching, string search, algorithm analysis
  • 相关文献

参考文献11

  • 1Liu Gongshen Li Jianhua Li Shenghong.New multi-pattern matching algorithm[J].Journal of Systems Engineering and Electronics,2006,17(2):437-442. 被引量:2
  • 2殷丽华,张冬艳,方滨兴.面向入侵检测的单模式匹配算法性能分析[J].计算机工程与应用,2004,40(24):1-3. 被引量:9
  • 3Navarro G,Raffinot M.Flexible pattern matching in strings: Practical on-line search algorithms for texts and biological sequences[]..2007
  • 4Liu Q.Character frequency of modern Chinese. http://www.nlp. org.cn/docs/download.php?doc id=1217 . 2009
  • 5Liu G S.Researches on some key problems of high performance Chinese automatic summarization system[]..2004
  • 6Donald E K.The art of computer programming[]..2004
  • 7Knuth DE,Morris JH,Pratt VR.Fast pattern matching in strings[].SIAM Journal on Computing.1977
  • 8Daniel M Sunday.A very fast substring search algorithm[].Communications of the ACM.1990
  • 9Boyer RS,Moore JS.A fast string searching algorithm[].Communications of the ACM.1977
  • 10M Crochemore,D Perrin.Two-way string-matching[].Journal of the Association for Computing Machinery.1991

二级参考文献11

  • 1Knuth D E,Morris J H,Pratt V R.Fast pattern matching in string[J].SIAM J Comput, 1977;6(6) :323~350
  • 2Boyer R S,Moore J S.A fast string searching algorithm[J].Commun ACM, 1977;20(10) :762~772
  • 3Sunday D M.A very fast substring search algorithm[J].Commun ACM, 1990;33(8): 132~142
  • 4http://www-igm.univ-mlv.fr/~lecroq/string/
  • 5Aho A V, Corasick M J. Efficient string matching: An aid to bibliographic search.Comm.ACM, 1975, 18(6):333-340.
  • 6Lewis H R, Papadimitriou C H. Elements of the theory of computation (Second Edition). Prentice-Hall International, Inc, 1998.
  • 7Fan J J, Su K Y. An efficient algorithm for match multiple patterns. IEEE Trans. on Knowledge and Data Engineering, 1993, 5(2):339-351.
  • 8Shaffer C A. A practice introduction to data structures and algorithm analysis. New York Prentice Hall, 1997.
  • 9Chen G L. Some technology research in automatic abstract. Shanghai Jiaotong University, 2000, (4)
  • 10Boyer R S, Moore J S. A fast string searching algorithm. Comm. ACM, 1977, 20(10):762-772.

共引文献9

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部