期刊文献+

邻间关系匹配算法研究

Neighbor Relationship-Based String Matching Algorithm
下载PDF
导出
摘要 对于26个字母的全排,它们的邻间关系是唯一的。文中根据这个特性,针对子串长度较长的(大于26)字符串匹配问题,提出了一种基于邻间关系的匹配算法。该算法把字符串的邻间关系转化为十进制的数值,并利用这一数值实现字符串的快速匹配。该算法时间复杂度为О(m-n),且算法简便,容易实现。 Giving the arrangement of twenty- six letters, the sequence is exclusive, and the neighbor relationship of the lettes in the se quenee is a fixed value. Taking advantage of the feature given above, presents a string matching algorithm based on neighbor relationship, to solve the question of long string matching (more than twenty - six). The algorithm transforms the neighbor relationship to a value, and achieves the fast string matching by using this value. The time complexity of the algorithm is O( m - n ). By the way, this algorthm has the feature of simplicity and convenience, and it is easy to realize.
出处 《计算机技术与发展》 2006年第11期117-118,共2页 Computer Technology and Development
关键词 字符串匹配 KMP HASH BM 邻间关系 string matching KMP Hash BM neighbor relationship
  • 相关文献

参考文献5

  • 1Park J S,Chen M S,Yu P S.An effective hash-based algorithm for mining association rules[C]//Proceedings of ACM SIGMOD International Conference on Management of Data.[s.l.]:[s.n.],1995:175-186.
  • 2Knuth D E,Jr.Morris J H,Pratt V R.Fast pattern matching in strings[J].SIAM Journal on Computing,1977,6(1):323-350.
  • 3李静.字符串的模式匹配算法——基于KMP算法的讨论[J].青岛化工学院学报(自然科学版),2002,23(2):78-80. 被引量:14
  • 4Boyer R S,Moore J S.A fast string searching algorithm[J].Communications of the ACM,1977,20(10):762-772.
  • 5庞善臣,王淑栋,蒋昌俊.BM串匹配的一个改进算法[J].计算机应用,2004,24(12):11-13. 被引量:4

二级参考文献10

  • 1William Topp.数据结构:C++语言描述[M].北京:清华大学出版社(译),1997..
  • 2PEVZNER PA, WATERMAN MS. Multiple filtration and approximate pattern matching[J]. Algorithmica, 1995, 13(1/2):135-154.
  • 3AHO AV, HOPCROFT JE, ULLMAN JD. The design and analysis of computer algorithms[M]. Addison-Wesley, 1976.
  • 4KNUTH DE, MORRIS JH, PRATT VR. Fast pattern matching in string[J]. SIAM Journal on Computing, 1977, (6):323-350.
  • 5BOYER RS, MOORE JS. A fast string searching algorithm[J]. Communications of ACM, 1977, 20(10):762-772.
  • 6KARP RM, RABIN MO. Efficient randomized pattern-matching algorithm[J]. IBM J. Res. Develop. 1987, 31(2):249-260.
  • 7VISHKIN U. Deterministic sampling-a new technique for fast pattern matching[J]. SIAM Journal on Computing.1991, 20(1):22-40.
  • 8BAEZA-YATES R, Gonnet GH. A new approach to text searching[J]. Comm.ACM, 1992, 35(10):74-82.
  • 9WU S, MANBER U.Fast text searching allowing errors[J]. Comm.ACM, 1992, 35(10):83-90.
  • 10马建,滕弘飞,孙治国,杨宏宇.图形匹配问题[J].计算机科学,2001,28(4):61-64. 被引量:7

共引文献16

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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