首页 > 其他 > 详细

Boyer-Moore algorithm

时间:2016-12-29 19:14:58      阅读:229      评论:0      收藏:0      [点我收藏+]

http://www-igm.univ-mlv.fr/~lecroq/string/node14.html

Main features

  • performs the comparisons from right to left;
  • preprocessing phase in O(m+技术分享) time and space complexity;
  • searching phase in O(mn) time complexity;
  • 3n text character comparisons in the worst case when searching for a non periodic pattern;
  • O(n / m) best performance.

 

Boyer-Moore algorithm

原文:http://www.cnblogs.com/yuanjiangw/p/6233804.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!