###
Journal of Software:2018.29(2):363-382

一般间隙与One-Off条件的序列模式匹配
刘慧婷,刘志中,黄厚柱,吴信东
(计算智能与信号处理教育部重点实验室(安徽大学), 安徽 合肥 230039;安徽大学 计算机科学与技术学院, 安徽 合肥 230601;合肥工业大学 计算机科学与信息工程学院, 安徽 合肥 230009;School of Computing and Informatics, University of Louisiana at Lafayette, Lafayette 70503, USA)
Sequential Pattern Matching with General Gap and One-Off Condition
LIU Hui-Ting,LIU Zhi-Zhong,HUANG Hou-Zhu,WU Xin-Dong
(Key Laboratory of Intelligent Computing and Signal Processing(Anhui University), Ministry of Education, Hefei 230039, China;School of Computer Science and Technology, Anhui University, Hefei 230601, China;School of Computer Science and Information Engineering, Hefei University of Technology, Hefei 230009, China;School of Computing and Informatics, University of Louisiana at Lafayette, Lafayette 70503, USA)
Abstract
Chart / table
Reference
Similar Articles
Article :Browse 1719   Download 1076
Received:September 28, 2016    Revised:November 23, 2016
> 中文摘要: 带有间隙约束的模式匹配问题是序列模式挖掘的关键问题之一.目前,大多数的研究都为非负间隙,对字符串中每个字符的出现顺序有着严格的要求.为了增加匹配的灵活性,并且考虑到在序列模式挖掘中采用one-off条件更加合理,研究一般间隙与one-off条件下的模式匹配问题.该问题为NP-Hard问题.为了有效地求解该问题,提出了MSAING(maximum sequential pattern matching with one-off and general gaps condition)算法:首先,利用Reverse策略使模式与序列达到最佳的匹配状态;然后,使用线性表的结构使匹配过程中消耗的时间和空间大幅度地降低,同时,利用回溯机制提高匹配的成功率;最后,根据inside_Checking机制判断模式串是否会产生内部重复现象,以进一步提高算法的执行效率.理论证明了MSAING算法的完备性,实验结果验证了MSAING算法匹配结果的准确性以及在时间和空间方面的高效性.
中文关键词: 一般间隙  one-off条件  模式匹配  线性表
Abstract:Pattern matching with gap constraints is one of the key issues of sequential pattern mining. Recently, most research work focuses on pattern matching with non-negative gaps, but the rule strictly limits the order that each character appears in the sequence. In order to increase the flexibility of matching while taking into account that it is more reasonable to use one-off condition in sequential pattern mining, this paper studies the pattern matching problem under general gap and one-off condition, which is NP-hard. To tackle this issue, an algorithm, named MSAING, is proposed. Firstly, the algorithm processes the pattern and sequence using the Reverse strategy to get the maximum number of matching results. Secondly, it significantly reduces the time and space overhead with linear table structure in the matching process, and improves the matching rate using the backtracking method. Finally, to further improve the efficiency of the algorithm, it determines whether internal repetition exists in the pattern or not, according to the inside_Checking mechanism. Completeness of the MSAING algorithm is proved in theory. Experimental results verify the accuracy of the matching results of the MSAING algorithm and its validity in terms of the time and space complexity.
文章编号:     中图分类号:TP181    文献标志码:
基金项目:国家重点研发计划(2016YFB1000901);国家自然科学基金(61202227) 国家重点研发计划(2016YFB1000901);国家自然科学基金(61202227)
Foundation items:National Key Research and Development Program of China (2016YFB1000901); National Natural Science Foundation of China (61202227)
Reference text:

刘慧婷,刘志中,黄厚柱,吴信东.一般间隙与One-Off条件的序列模式匹配.软件学报,2018,29(2):363-382

LIU Hui-Ting,LIU Zhi-Zhong,HUANG Hou-Zhu,WU Xin-Dong.Sequential Pattern Matching with General Gap and One-Off Condition.Journal of Software,2018,29(2):363-382