A Linear-Time Algorithm for Hamming Distance with Shifts

被引:2
|
作者
Jiang, Minghui [1 ]
机构
[1] Utah State Univ, Dept Comp Sci, Logan, UT 84322 USA
关键词
Hamming distance; Swap distance; String algorithm; Combinatorial pattern matching;
D O I
10.1007/s00224-007-9088-4
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The Hamming distance with shifts was introduced by Bookstein et al. as a generalization of the traditional Hamming distance to allow a tunable degree of fuzziness when comparing two binary sequences of the same length. We present a linear-time algorithm for computing this distance. The previous best time bound was quadratic.
引用
收藏
页码:349 / 355
页数:7
相关论文
共 50 条
  • [1] A Linear-Time Algorithm for Hamming Distance with Shifts
    Minghui Jiang
    Theory of Computing Systems, 2009, 44 : 349 - 355
  • [2] A unified linear-time algorithm for computing distance maps
    Hirata, T
    INFORMATION PROCESSING LETTERS, 1996, 58 (03) : 129 - 133
  • [3] A unified linear-time algorithm for computing distance maps
    Faculty of Engineering, Nagoya University, Chikusaku, Nagoya, 464-01, Japan
    Inf. Process. Lett., 3 (129-133):
  • [4] A Linear-Time Algorithm and Analysis of Graph Relative Hausdorff Distance
    Aksoy, Sinan G.
    Nowak, Kathleen
    Young, Stephen J.
    SIAM JOURNAL ON MATHEMATICS OF DATA SCIENCE, 2019, 1 (04): : 647 - 666
  • [5] A linear Euclidean distance transform algorithm based on the Linear-time Legendre Transform
    Lucet, Y
    2ND CANADIAN CONFERENCE ON COMPUTER AND ROBOT VISION, PROCEEDINGS, 2005, : 262 - 267
  • [6] A linear-time algorithm for computing translocation distance between signed genomes
    Li, GJ
    Qi, XQ
    Wang, XL
    Zhu, BH
    COMBINATORIAL PATTERN MATCHING, PROCEEDINGS, 2004, 3109 : 323 - 332
  • [7] Mutual-visibility in distance-hereditary graphs: a linear-time algorithm
    Cicerone, Serafino
    Di Stefano, Gabriele
    XII LATIN-AMERICAN ALGORITHMS, GRAPHS AND OPTIMIZATION SYMPOSIUM, LAGOS 2023, 2023, 224 : 104 - 111
  • [8] Linear-Time Algorithm for Paired-Domination on Distance-Hereditary Graphs
    Mu, Ta-Yu
    Lin, Ching-Chi
    COMPUTING AND COMBINATORICS, COCOON 2022, 2022, 13595 : 357 - 367
  • [9] LINEAR-TIME EUCLIDEAN DISTANCE TRANSFORM ALGORITHMS
    BREU, H
    GIL, J
    KIRKPATRICK, D
    WERMAN, M
    IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 1995, 17 (05) : 529 - 533
  • [10] Linear-time algorithm for the generation of trees
    Algorithmica (New York), 1997, 17 (02):