基于后缀数组的近似字符串匹配-计算机软件与理论专业论文.docxVIP

基于后缀数组的近似字符串匹配-计算机软件与理论专业论文.docx

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
基于后缀数组的近似字符串匹配-计算机软件与理论专业论文

I I 摘要 字符串匹配问题是计算机科学研究中最基础的问题之一。早期的研究多集中 于精确字符串匹配领域,就精确字符串匹配提出了许多单模式和多模式匹配算法。 然而在信息检索、模式识别和计算生物学等一些实际应用中有时候更需要查找的 是近似匹配字符串。因此研究高效的近似字符串匹配算法具有重要的理论价值和 实际意义。 本文首先介绍了近似字符串匹配算法的研究现状和近似字符串的相关理论和 主要研究方法—动态规划、自动机、位并行、过滤等技术。结合后缀数组这一索 引结构,本文提出了基于后缀数组的近似字符串匹配算法,即 IS_DP 算法。算法 使用后缀数组加快在动态规划矩阵上的迭代速度,从而达到 O(kn)的时间复杂度和 空间复杂度。用后缀数组构造算法可以预先排序文本串后缀,求解后缀数组中相 邻后缀的最长公共前缀,从而可以在 O(1)时间内计算出任意两个后缀串的最长共 有前缀长度。本文算法是对原有的基于动态规划的近似字符串匹配算法的改进, 通过加速矩阵对角线上扩展的方式降低了构造动态规划矩阵的时间消耗,进而在 O(kn)时间内查找出文本中所有的近似匹配字符串,与一些在后缀树上查找近似字 符串匹配的算法相比较,本文算法采用后缀数组结构可以节省约 5n 的存储空间。 关键词: 动态规划 后缀数组 编辑距离 近似字符串匹配 最长公 共前缀数组 III III Abstract String matching is one of the basic problems in computer science. A lot of researches were focusing on exact string matching in early time, and many algorithms of single and multiple string matching have been proposed. However, in applications such as information retrieval, pattern recognition and computational biology, approximate string matching makes more sense. So there is so much theoretical value and practical meaning to research and design efficient approximate string matching algorithms. In the beginning, this paper introduces the research status and basic theories of approximate string matching, and then presents the main approaches which include dynamic programming, automata, bit-parallelism and filtering. Then we come up with our approximate string matching over suffix array algorithm which is short for IS_DP algorithm. IS_DP algorithm uses suffix array for accelerating the computation along the dynamic programming table and reaches running time in O(kn). Suffix array are used for preprocessing the sequences allowing an O(1) running time computation of the longest common extension between substrings. Compared with the classic approximate string matching algorithm which is based on dynamic programming, our algorithm shows pretty good time complexity which is O(kn); besides, compared with some approximate string matching algorithms which are based on suffix tree, IS_DP algorithm doe

您可能关注的文档

文档评论(0)

peili2018 + 关注
实名认证
文档贡献者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档