首页> 外文会议>International Conference on Artificial Reality and Telexistence >Two Improved Single Pattern Matching Algorithms
【24h】

Two Improved Single Pattern Matching Algorithms

机译:两个改进的单图案匹配算法

获取原文

摘要

In this paper, two single pattern matching algorithms are presented, each of which is composed by a smallest suffix automaton and a forward finite state automaton. Whatever the suffix automaton or the forward finite state automaton is running, the window shifts m-R characters and then the suffix automaton starts running if no pattern prefix is found (R is zero) in the first algorithm or R is not greater than half of m in the second algorithm, otherwise, the forward finite state automaton starts running. Their time complexities are all O(n) in the worst case and O(n/m) in the best case. The experimental results show that the average time complexities of two algorithms are less than that of RF and LDM for short patterns and that of BM for long patterns over small alphabets or short lengths over large alphabets.
机译:在本文中,呈现了两个单个模式匹配算法,每个单个模式匹配算法由最小的后缀自动机和前向有限状态自动机组成。无论后缀自动机还是前向有限状态自动机正在运行,窗口都会移动MR字符,然后在第一个算法中没有找到模式前缀(R为零)开始运行的后缀自动机器,或者R不超过M的一半第二种算法,否则,前向有限状态自动机开始运行。他们的时间复杂性在最佳情况下是最坏的情况和O(n / m)的所有o(n)。实验结果表明,两种算法的平均时间复杂性小于RF和LDM的短图案的复杂性,并且BM对于小字母或大字母上的短长度的长度的BM。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号