...
首页> 外文期刊>OASIcs : OpenAccess Series in Informatics >A Simple Algorithm for Approximating the Text-To-Pattern Hamming Distance
【24h】

A Simple Algorithm for Approximating the Text-To-Pattern Hamming Distance

机译:近似文本到汉明距离的简单算法

获取原文

摘要

The algorithmic task of computing the Hamming distance between a given pattern of length m and each location in a text of length n, both over a general alphabet Sigma, is one of the most fundamental algorithmic tasks in string algorithms. The fastest known runtime for exact computation is ilde O(nsqrt m). We recently introduced a complicated randomized algorithm for obtaining a (1 +/- eps) approximation for each location in the text in O( (n/eps) log(1/eps) log n log m log |Sigma|) total time, breaking a barrier that stood for 22 years. In this paper, we introduce an elementary and simple randomized algorithm that takes O((n/eps) log n log m) time.
机译:既在一般字母 Sigma上计算长度为m的给定模式与长度为n的文本中每个位置之间的汉明距离的算法任务,也是字符串算法中最基本的算法任务之一。用于精确计算的最快已知运行时间是 tilde O(n sqrt m)。我们最近推出了一种复杂的随机算法,用于以O((n / eps)log(1 / eps)log n log m log | Sigma |)总时间为文本中的每个位置获取(1 +/- eps)近似值打破了长达22年的壁垒。在本文中,我们介绍了一种基本且简单的随机算法,该算法花费O((n / eps)log n log m)时间。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号