Efficient algorithms for the block-edit problems

被引:14
|
作者
Ann, Hsing-Yen [1 ]
Yang, Chang-Biau [1 ]
Peng, Yung-Hsing [1 ]
Liaw, Bern-Cherng [2 ]
机构
[1] Natl Sun Yat Sen Univ, Dept Comp Sci & Engn, Kaohsiung 80424, Taiwan
[2] Natl Pingtung Inst Commence, Dept Finance & Banking, Pingtung, Taiwan
关键词
Design of algorithms; String edit distance; Block-edit; Similarity; Dynamic programming; LONGEST COMMON SUBSEQUENCE; DISTANCE; OPERATIONS; SEQUENCES; STRINGS;
D O I
10.1016/j.ic.2009.12.001
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In this paper, we focus on the edit distance between two given strings where block-edit operations are allowed and better fitting to the human natural edit behaviors. Previous results showed that this problem is NP-hard when block moves are allowed. Various approximations to this problem have been proposed in recent years. However, this problem can be solved by the polynomial-time optimization algorithms if some reasonable restructions are applied The restricted variations which we consider involve character insertions, character deletions, block copies and block deletions In this paper. three problems are defined with different measuring functions, which are P(EIS, C), P(EI, L) and P(EI, N) Then we show that with some preprocessing, the minimum block edit distances of these three problems can be obtained by dynamic programming in O(nm), O(nm log m) and O(nm(2)) time, respectively. where n and m are the lengths of the two input strings. (C) 2009 Elsevier Inc All rights reserved
引用
收藏
页码:221 / 229
页数:9
相关论文
共 50 条
  • [41] Combinatorial approximation algorithms for generalized flow problems
    Oldham, JD
    JOURNAL OF ALGORITHMS, 2001, 38 (01) : 135 - 169
  • [42] Algorithms for solving Lagrangian multistage decision problems
    Irvine, SS
    Sniedovich, M
    ASIA-PACIFIC JOURNAL OF OPERATIONAL RESEARCH, 2000, 17 (01) : 1 - 16
  • [43] Efficient sampling in approximate dynamic programming algorithms
    Cristiano Cervellera
    Marco Muselli
    Computational Optimization and Applications, 2007, 38 : 417 - 443
  • [44] Optimal and suboptimal structured algorithms of binary linear block codes
    Luo, Yijun
    Li, Jin
    JOURNAL OF SYSTEMS ENGINEERING AND ELECTRONICS, 2011, 22 (06) : 1010 - 1014
  • [45] Efficient sampling in approximate dynamic programming algorithms
    Cervellera, Cristiano
    Muselli, Marco
    COMPUTATIONAL OPTIMIZATION AND APPLICATIONS, 2007, 38 (03) : 417 - 443
  • [46] FAST BLOCK-BASED ALGORITHMS FOR CONNECTED COMPONENTS LABELING
    Santiago, Diego J. C.
    Ren, Tsang Ing
    Cavalcanti, George D. C.
    Jyh, Tsang Ing
    2013 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING (ICASSP), 2013, : 2084 - 2088
  • [47] Efficient algorithms for shortest partial seeds in words
    Kociumaka, Tomasz
    Pissis, Solon P.
    Radoszewski, Jakub
    Rytter, Wojciech
    Walen, Tomasz
    THEORETICAL COMPUTER SCIENCE, 2018, 710 : 139 - 147
  • [48] Efficient algorithms for detecting regular point configurations
    Anderegg, L
    Cieliebak, M
    Prencipe, G
    THEORETICAL COMPUTER SCIENCE, PROCEEDINGS, 2005, 3701 : 23 - 35
  • [49] Efficient algorithms for the minimum diameter bridge problem
    Tokuyama, T
    COMPUTATIONAL GEOMETRY-THEORY AND APPLICATIONS, 2003, 24 (01): : 11 - 18