...
首页> 外文期刊>Knowledge and information systems >Efficient string matching with wildcards and length constraints
【24h】

Efficient string matching with wildcards and length constraints

机译:带有通配符和长度约束的有效字符串匹配

获取原文
获取原文并翻译 | 示例
           

摘要

This paper defines a challenging problem of pattern matching between a pattern P and a text T, with wildcards and length constraints, and designs an efficient algorithm to return each pattern occurrence in an online manner. In this pattern matching problem, the user can specify the constraints on the number of wildcards between each two consecutive letters of P and the constraints on the length of each matching substring in T. We design a complete algorithm, SAIL that returns each matching substring of P in T as soon as it appears in T in an O(n+ klmg) time with an O(lm) space overhead, where n is the length of T, k is the frequency of P's last letter occurring in T, l is the user-specified maximum length for each matching substring, m is the length of P, and g is the maximum difference between the user-specified maximum and minimum numbers of wildcards allowed between two consecutive letters in P.
机译:本文定义了模式P和文本T之间具有通配符和长度约束的模式匹配的难题,并设计了一种有效的算法以在线方式返回每个模式出现。在此模式匹配问题中,用户可以指定对P的每个连续两个字母之间的通配符数量的约束以及对T中每个匹配子字符串的长度的约束。我们设计了一个完整的算法SAIL,该算法返回的每个匹配子字符串P在T中以O(n + klmg)的时间出现在T中,且具有O(lm)空间开销,其中n是T的长度,k是P在T中出现的最后一个字母的频率,l是用户指定的每个匹配子字符串的最大长度,m是P的长度,g是P中两个连续字母之间允许的用户指定的最大和最小通配符数之间的最大差。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号