期刊文献+

Sunday算法效率分析 被引量:8

Study on efficiency of Sunday algorithm
下载PDF
导出
摘要 针对Sunday算法的过程比较复杂,难以构建马尔可夫链的问题,提出一种新的根据算法的匹配次数差求平均效率的方法。首先选定初等算法作为效率分析的基准算法,使用马尔可夫链得出初等算法比较精确的平均效率估计公式;然后根据相应的概率公式计算出初等算法和Sunday算法匹配过程的差值;将两者结合,得出Sunday算法平均效率估计公式。实验结果表明,由此公式计算的估计值可以代表实际匹配次数的平均值。 Given the characteristic that the Sunday algorithm is too complex to construct Markov chains,a new method according to the difference of matching number in the algorithms was proposed to compute the average efficiency.Firstly,the naive algorithm was chosen as the foundation,and its accurate average efficiency was computed by Markov chains.Secondly,the difference of the two algorithms was computed by the corresponding knowledge in probability theory.The two results were combined to get the equation which represented the average efficiency of Sunday algorithm.The experimental results show that the estimated value computed by the equation is the average number of the matching times.
出处 《计算机应用》 CSCD 北大核心 2012年第11期3082-3084,3088,共4页 journal of Computer Applications
关键词 Sunday算法 算法效率 马尔可夫链 初等算法 平均匹配次数 Sunday algorithm algorithm efficiency Markov chain naive algorithm average matching number
  • 相关文献

参考文献14

  • 1Navarro G.柔性字符串匹配[M].中科院计算所网络信息安全研究组,译.北京:电子工业出版社,2007.
  • 2BARTH G. An analytical comparison of two string searching algorithms[ J]. Information Processing Letters, 1984, 18(5) :249 -256.
  • 3RICARDO A, BAEZA-YATE S. String searching algorithms revisited [ C]// Proceedings of the Workshop on Algorithms and Data Structure. London: Springer-Verlag, 1989:75 -96.
  • 4TSUNG-HSI T. Average case analysis of the Boyer-Moore algorithm [ J]. Random Structures & Algorithms, 2006, 28(4) : 481 -498.
  • 5BRURIAN B, HOLUB J, PELTOLA H. Improving practical exact string matching[ J]. Information Processing Letters, 2010, 110 (4) : 148 - 152.
  • 6BAEZA-YATES R A. Algorithms for string searching: a survey[ J].ACM SIGIR Forum, 1989, 23(3/4) : 34 -58.
  • 7FREDRIKSSON K , MOZGOVOY M . Efficient parameterized string matching[ J]. Information Processing Letters, 2006,100(3) : 91 - 96.
  • 8SALMELA L, TARHIO J. Fast parameterized matching with Q-grams [ J]. Joumal of Discrete Mgorithras, 2008, 6(3) : 408 - 419.
  • 9SALMELA L, TARHIO J, KYTOJOKI J. Multipattem string matching with q-grams[ J]. Journal of Experimental Algorithmics, 2006, 11:1 -19.
  • 10SALMELA L. Average complexity of backward q-gram string matching algorithms[ J]. Information Processing Letters, 2012, 112 (11) :433 -437.

共引文献7

同被引文献66

引证文献8

二级引证文献19

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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