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 条
  • [31] Efficient algorithms for the conditional covering problem
    Benkoczi, Robert
    Bhattacharya, Binay
    Hu, Yuzhuang
    Lin, Chien-Hsin
    Shi, Qiaosheng
    Wang, Biing-Feng
    INFORMATION AND COMPUTATION, 2012, 219 : 39 - 57
  • [32] Efficient polynomial-time algorithms for the constrained LCS problem with strings exclusion
    Hsing-Yen Ann
    Chang-Biau Yang
    Chiou-Ting Tseng
    Journal of Combinatorial Optimization, 2014, 28 : 800 - 813
  • [33] Efficient Dominant Point Algorithms for the Multiple Longest Common Subsequence (MLCS) Problem
    Wang, Qingguo
    Korkin, Dmitry
    Shang, Yi
    21ST INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE (IJCAI-09), PROCEEDINGS, 2009, : 1494 - 1499
  • [34] Efficient polynomial-time algorithms for the constrained LCS problem with strings exclusion
    Ann, Hsing-Yen
    Yang, Chang-Biau
    Tseng, Chiou-Ting
    JOURNAL OF COMBINATORIAL OPTIMIZATION, 2014, 28 (04) : 800 - 813
  • [35] Exact Algorithms for Weighted Rectangular Covering Problems
    Umeda, Ryoya
    Wu, Wei
    Hu, Yannan
    Hashimoto, Hideki
    COMPUTATIONAL SCIENCE AND ITS APPLICATIONS-ICCSA 2024, PT I, 2024, 14813 : 16 - 28
  • [36] Largest similar substructure problems for trees and their algorithms
    Liu, SM
    Tanaka, E
    Masuda, S
    ELECTRONICS AND COMMUNICATIONS IN JAPAN PART III-FUNDAMENTAL ELECTRONIC SCIENCE, 1997, 80 (02): : 92 - 104
  • [37] Approximation algorithms for knapsack problems with cardinality constraints
    Caprara, A
    Kellerer, H
    Pferschy, U
    Pisinger, D
    EUROPEAN JOURNAL OF OPERATIONAL RESEARCH, 2000, 123 (02) : 333 - 345
  • [38] Improved algorithms and analysis for secretary problems and generalizations
    Ajtai, M
    Megiddo, N
    Waarts, O
    SIAM JOURNAL ON DISCRETE MATHEMATICS, 2001, 14 (01) : 1 - 27
  • [39] Improved Approximation Algorithms for Balanced Partitioning Problems
    Raecke, Harald
    Stotz, Richard
    33RD SYMPOSIUM ON THEORETICAL ASPECTS OF COMPUTER SCIENCE (STACS 2016), 2016, 47
  • [40] SCALING ALGORITHMS FOR UNBALANCED OPTIMAL TRANSPORT PROBLEMS
    Chizat, Lenaic
    Peyre, Gabriel
    Schmitzer, Bernhard
    Vialard, Francois-Xavier
    MATHEMATICS OF COMPUTATION, 2018, 87 (314) : 2563 - 2609