检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]哈尔滨工业大学,国家计算机信息内容安全重点实验室,黑龙江哈尔滨150001 [2]国家计算机网络与信息安全管理中心,北京100031
出 处:《计算机应用》2003年第3期6-8,12,共4页journal of Computer Applications
基 金:国家 8 63计划项目(863-104-02-01)
摘 要:在对著名的Boyer -Moore串匹配算法进行分析后 ,对BM算法中的尝试位置移动处理部分进行改进 ,提出了IBM算法。该算法将好后缀移动与坏字符移动合并进行处理 ,从而尽量利用已有信息进行更大的尝试位置移动 ,使算法具有更高的效率。对IBM算法进行复杂度分析 ,对BM算法、KMP算法和IBM算法进行实际性能比较 ,结果表明IBM算法的平均运行时间明显优于BM算法与KMP算法。String matching is an essential and important problem in computer science. After BM algorithm is analyzed, the shift function of the attempt position in BM algorithm is improved, and IBM algorithm is put forward. The IBM algorithm combines Good Suffix Shift and Bad Character Shift to process, and makes the most of known information to increase the shift distance so that it is more efficient. In the end, the analysis of the complexity of IBM algorithm and the comparison of performance in practice about KMP, BM and IBM algorithms are carried out. The results show that the average running time of IBM algorithm is 58% of BM algorithms, and the average comparing time of IBM algorithm are 52% of BM algorithms.
分 类 号:TP301.6[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.175