首页> 外文期刊>Journal of Discrete Algorithms >Bit-parallel (δ, γ)-matching and suffix automata
【24h】

Bit-parallel (δ, γ)-matching and suffix automata

机译:位并行(δ,γ)匹配和后缀自动机

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

摘要

(δ, γ)-matching is a string matching problem with applications to music retrieval. The goal is, given a pattern P_(1...m) and a text T_(1...n) on an alphabet of integers, find the occurrences P′ of the pattern in the text such that (ⅰ) any1 ≤ i ≤ m, |P_i-P′_i| ≤ δ, and (ⅱ)∑_1≤ i ≤ m |P_i-P′_i| ≤ γ. The problem makes sense for δ≤ γ ≤ δm. Several techniques for (δ, γ)-matching have been proposed, based on bit-parallelism or on skipping characters. We first present an O(mn log(γ)/w) worst-case time and O(n) average-case time bit-parallel algorithm (being w the number of bits in the computer word). It improves the previous O(mn log (δm)/w) worst-case time algorithm of the same type. Second, we combine our bit-parallel algorithm with suffix automata to obtain the first algorithm that skips characters using both δ and γ. This algorithm examines less characters than any previous approach, as the others do just δ-matching and check the γ-condition on the candidates. We implemented our algorithms and drew experimental results on real music, showing that our algorithms are superior to current alternatives with high values of δ.
机译:(δ,γ)匹配是在音乐检索中的应用中的字符串匹配问题。目标是,给定模式P_(1 ... m)和整数T_(1 ... n)上的文本T_(1 ... n),找到文本中该模式的出现点P',使得(ⅰ)any1≤ i≤m,| P_i-P′_i | ≤δ,并且(ⅱ)∑_1≤ i≤m | P_i-P′_i | ≤γ。对于δ≤γ≤δm,该问题是有意义的。基于位并行或跳过字符,已经提出了几种用于(δ,γ)匹配的技术。我们首先提出O(mn log(γ)/ w)最坏情况时间和O(n)平均情况时间位并行算法(使用计算机字中的位数)。它改进了以前的相同类型的O(mn log(δm)/ w)最坏情况时间算法。其次,我们将位并行算法与后缀自动机相结合,以获得第一个同时使用δ和γ跳过字符的算法。该算法比以前的方法检查的字符更少,因为其他方法仅进行δ匹配并检查候选对象的γ条件。我们实施了我们的算法,并在真实音乐上得出了实验结果,表明我们的算法优于具有高δ值的当前替代方法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号