首页 | 本学科首页   官方微博 | 高级检索  
     

子网树求解一般间隙和长度约束严格模式匹配
引用本文:武优西,刘亚伟,郭磊,吴信东.子网树求解一般间隙和长度约束严格模式匹配[J].软件学报,2013,24(5):915-932.
作者姓名:武优西  刘亚伟  郭磊  吴信东
作者单位:河北工业大学计算机科学与软件学院, 天津 300401;河北工业大学计算机科学与软件学院, 天津 300401;河北工业大学电磁场与电器可靠性省部共建重点实验室, 天津 300130;合肥工业大学计算机科学与信息工程学院, 安徽 合肥 230009;Department of Computer Science, University of Vermont, Burlington, USA
基金项目:国家重点基础研究发展计划(973)(2013CB329604); 国家自然科学基金(61229301); 国家高技术研究发展计划(863)(2012AA011005); 河北省自然科学基金(H2012202035, F2013202138); 河北省教育厅重点项目(ZH2012038)
摘    要:具有通配符间隙约束的模式匹配问题在信息检索、计算生物学和序列模式挖掘等研究领域有重要的应用.提出了更一般性的模式匹配问题,即一般间隙和长度约束的严格模式匹配(strict pattern matching with generalgaps and length constraints,简称SPANGLO).该问题具有如下4 个特点:它是一种严格的精确模式匹配;允许序列中任意位置的字符被多次使用;模式串中可以包含多个一般间隙;对出现的总体长度进行了约束.最坏情况下,一个SPANGLO 实例将转换出指数个非负间隙的严格模式匹配实例.为了有效地解决该问题,提出了子网树及其相关概念和性质.在此基础上提出了求解算法Subnettree Spanglo(SETS),并给出算法的正确性和完备性证明,同时指出该算法的空间复杂度与时间复杂度分别为O(m×MaxLen×W)O(MaxLen×W×m2×n),其中,m,n,MaxLenW分别是模式和序列的长度、出现的最大长度约束和模式的最大间距.实验结果既验证了SPANGLO 问题转换方法的正确性,又验证了该算法的正确性和有效性.

关 键 词:模式匹配  一般间隙  长度约束  子网树
收稿时间:2012/9/13 0:00:00
修稿时间:2/5/2013 12:00:00 AM

Subnettrees for Strict Pattern Matching with General Gaps and Length Constraints
WU You-Xi,LIU Ya-Wei,GUO Lei and WU Xin-Dong.Subnettrees for Strict Pattern Matching with General Gaps and Length Constraints[J].Journal of Software,2013,24(5):915-932.
Authors:WU You-Xi  LIU Ya-Wei  GUO Lei and WU Xin-Dong
Affiliation:School of Computer Science and Software, Hebei University of Technology, Tianjin 300401, China;School of Computer Science and Software, Hebei University of Technology, Tianjin 300401, China;Province-Ministry Joint Key Laboratory of Electromagnetic Field and Electrical Apparatus Reliability, Hebei University of Technology, Tianjin 300401, China;School of Computer Science and Information Engineering, Hefei University of Technology, Hefei 230009, China;Department of Computer Science, University of Vermont, Burlington, USA
Abstract:Pattern matching with gap constraints has important applications in many fields such as information retrieval, computational biology, and sequential pattern mining etc. This paper proposes a pattern matching problem named Strict Pattern Matching with General Gaps and Length Constraints (SPANGLO) which has four characteristics: It is strict exact pattern matching; Any position in the given sequence can be used more than once; The pattern can have more than one general gap constraint; Each matching substring has length constraints. An instance of SPANGLO can be transformed into an exponential number of matching instances with non-negative gaps in the worst case. In order to solve the problem effectively, an algorithm named SubnettreeSpanglo (SETS) is proposed based on Subnettree and its special concepts and properties. The correctness and completeness of the algorithm are given, and the space and time complexities of the algorithm are O(m×MaxLen×W) and O(MaxLen×W×m2×n) respectively, where n, m, MaxLen and W are the sequence length, the pattern length, the maximum length of the occurrence and the maximum gap of the pattern respectively. Experimental results validate the correctness of the transforming method of SPANGLO and the efficientiveness and correctness of SETS.
Keywords:pattern matching  general gap  length constraint  Subnettree
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号