Edit distance for a run-length-encoded string and an uncompressed string

被引:9
|
作者
Liu, J. J.
Huang, G. S.
Wang, Y. L.
Lee, R. C. T.
机构
[1] Natl Taiwan Univ Sci & Technol, Dept Informat Management, Taipei, Taiwan
[2] Natl Chi Nan Univ, Dept Comp Sci & Informat Engn, Nantou, Taiwan
关键词
edit distance; run-length-encoding; string compression; algorithms;
D O I
10.1016/j.ipl.2007.07.006
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We propose a new algorithm for computing the edit distance of an uncompressed string against a run-length-encoded string. For an uncompressed string of length n and a compressed string with M runs, the algorithm computes their edit distance in time O(Mn). This result directly implies an O(min{mN, Mn}) time algorithm for strings of lengths m and n with M and N runs, respectively. It improves the previous best known time bound O(mN + Mn). (c) 2007 Elsevier B.V. All rights reserved.
引用
收藏
页码:12 / 16
页数:5
相关论文
共 50 条
  • [31] Computing the Expected Edit Distance from a String to a PFA
    Calvo-Zaragoza, Jorge
    de la Higuera, Colin
    Oncina, Jose
    Implementation and Application of Automata, 2016, 9705 : 39 - 50
  • [32] An algorithm for string edit distance allowing substring reversals
    Arslan, Abdullah N.
    BIBE 2006: SIXTH IEEE SYMPOSIUM ON BIOINFORMATICS AND BIOENGINEERING, PROCEEDINGS, 2006, : 220 - +
  • [33] String edit distance, random walks and graph matching
    Robles-Kelly, A
    Hancock, ER
    INTERNATIONAL JOURNAL OF PATTERN RECOGNITION AND ARTIFICIAL INTELLIGENCE, 2004, 18 (03) : 315 - 327
  • [34] Contour Regularity Extraction Based on String Edit Distance
    Salas, Jose Ignacio Abreu
    Ramon Rico-Juan, Juan
    PATTERN RECOGNITION AND IMAGE ANALYSIS, PROCEEDINGS, 2009, 5524 : 160 - +
  • [35] Compressed String Dictionary Search with Edit Distance One
    Belazzougui, Djamal
    Venturini, Rossano
    ALGORITHMICA, 2016, 74 (03) : 1099 - 1122
  • [36] Compressed String Dictionary Search with Edit Distance One
    Djamal Belazzougui
    Rossano Venturini
    Algorithmica, 2016, 74 : 1099 - 1122
  • [37] Online signature verification based on string edit distance
    Kaspar Riesen
    Roman Schmidt
    International Journal on Document Analysis and Recognition (IJDAR), 2019, 22 : 41 - 54
  • [38] Privacy-Preserving String Edit Distance with Moves
    Nakagawa, Shunta
    Sakamoto, Tokio
    Takabatake, Yoshimasa
    Tomohiro, I
    Shin, Kilho
    Sakamoto, Hiroshi
    SIMILARITY SEARCH AND APPLICATIONS, SISAP 2018, 2018, 11223 : 226 - 240
  • [39] Parallel comparison of run-length-encoded strings on a linear systolic array
    Bogliolo, Alessandro
    Freschi, Valerio
    INFORMATION SCIENCES, 2007, 177 (01) : 231 - 238
  • [40] FPGA-based parallel comparison of run-length-encoded strings
    Bogliolo, A
    Freschi, V
    Miglioli, F
    Canella, M
    FIELD-PROGRAMMABLE LOGIC AND APPLICATIONS, PROCEEDINGS, 2004, 3203 : 1101 - 1103