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 条
  • [41] A Linear-Time Optimal Broadcasting Algorithm in Stars of Cliques
    Damaschke, Peter
    Journal of Graph Algorithms and Applications, 2024, 28 (01) : 385 - 388
  • [42] A linear-time algorithm for computing the multinomial stochastic complexity
    Kontkanen, Petri
    Myllymaki, Petri
    INFORMATION PROCESSING LETTERS, 2007, 103 (06) : 227 - 233
  • [43] A linear-time algorithm to find modules of fault trees
    Dutuit, Y
    Rauzy, A
    IEEE TRANSACTIONS ON RELIABILITY, 1996, 45 (03) : 422 - 425
  • [44] A linear-time algorithm for generalized trust region subproblems
    Jiang, Rujun
    Li, Duan
    SIAM Journal on Optimization, 2020, 30 (01): : 915 - 932
  • [45] A LINEAR-TIME ALGORITHM FOR THE MAXIMUM MATCHING PROBLEM ON COGRAPHS
    YU, MS
    YANG, CH
    BIT, 1993, 33 (03): : 420 - 433
  • [46] A Linear-Time Algorithm for the Feasibility of Pebble Motion on Trees
    V. Auletta
    A. Monti
    M. Parente
    P. Persiano
    Algorithmica, 1999, 23 : 223 - 245
  • [47] An almost linear-time algorithm for trapezoidation of GIS polygons
    Lorenzetto, GP
    Datta, A
    FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2004, 20 (07): : 1145 - 1155
  • [48] Identifying hierarchical structure in sequences: A linear-time algorithm
    NevillManning, CG
    Witten, IH
    JOURNAL OF ARTIFICIAL INTELLIGENCE RESEARCH, 1997, 7 : 67 - 82
  • [49] Linear-time algorithm for drawing a planar graph on a grid
    Chrobak, M.
    Payne, T.H.
    Information Processing Letters, 1995, 54 (04):
  • [50] A LINEAR-TIME ALGORITHM FOR PROPER INTERVAL GRAPH RECOGNITION
    DEFIGUEIREDO, CMH
    MEIDANIS, J
    DEMELLO, CP
    INFORMATION PROCESSING LETTERS, 1995, 56 (03) : 179 - 184