FINDING ALL APPROXIMATE GAPPED PALINDROMES

被引:9
|
作者
Hsu, Ping-Hui [1 ]
Chen, Kuan-Yu
Chao, Kun-Mao [1 ]
机构
[1] Natl Taiwan Univ, Dept Comp Sci & Informat Engn, Grad Inst Biomed Elect & Bioinformat, Grad Inst Networking & Multimedia, Taipei 106, Taiwan
关键词
Palindrome; incremental string comparison; string matching; STRINGS; WORDS;
D O I
10.1142/S0129054110007647
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We study the problem of finding all maximal approximate gapped palindromes in a string. More specifically, given a string S of length n, a parameter q >= 0 and a threshold k > 0, the problem is to identify all substrings in S of the form uvw such that (1) the Levenshtein distance between u(r) and w is at most k, where u(r) is the reverse of u and (2) v is a string of length q. The best previous work requires O(k(2)n) time. In this paper, we propose an O(kn)-time algorithm for this problem by utilizing an incremental string comparison technique. It turns out that the core technique actually solves a more general incremental string comparison problem that allows the insertion, deletion, and substitution of multiple symbols.
引用
收藏
页码:925 / 939
页数:15
相关论文
共 50 条
  • [31] Derivation of on-line algorithms, with an application to finding palindromes
    Jeuring, Johan
    Algorithmica (New York), 1994, 11 (02): : 146 - 184
  • [32] Identifying Approximate Palindromes in Run-Length Encoded Strings
    Chen, Kuan-Yu
    Hsu, Ping-Hui
    Chao, Kun-Mao
    ALGORITHMS AND COMPUTATION, PT 2, 2010, 6507 : 339 - 350
  • [33] Finding Gapped Motifs by a Novel Evolutionary Algorithm
    Lei, Chengwei
    Ruan, Jianhua
    EVOLUTIONARY COMPUTATION, MACHINE LEARNING AND DATA MINING IN BIOINFORMATICS, PROCEEDINGS, 2010, 6023 : 50 - 61
  • [34] Finding all solutions of nonlinear equations using inverses of approximate Jacobian matrices
    Yamamura, K
    Kumakura, T
    Inoue, Y
    IEICE TRANSACTIONS ON FUNDAMENTALS OF ELECTRONICS COMMUNICATIONS AND COMPUTER SCIENCES, 2001, E84A (11) : 2950 - 2952
  • [35] Finding all solutions of nonlinear equations using inverses of approximate Jacobian matrices
    Yamamura, Kiyotaka
    Kumakura, Takayoshi
    Inoue, Yasuaki
    2001, Institute of Electronics, Information and Communication, Engineers, IEICE (E84-A)
  • [36] All highest scoring paths in weighted grid graphs and their application to finding all approximate repeats in strings
    Schmidtz, JP
    SIAM JOURNAL ON COMPUTING, 1998, 27 (04) : 972 - 992
  • [37] Approximate Fourier coefficients for gapped magnetic recording heads
    Shute, HA
    Wilton, DT
    Mapps, DJ
    IEEE TRANSACTIONS ON MAGNETICS, 1999, 35 (04) : 2180 - 2186
  • [38] Efficient retrieval of approximate palindromes in a run-length encoded string
    Chen, Kuan-Yu
    Hsu, Ping-Hui
    Chao, Kun-Mao
    THEORETICAL COMPUTER SCIENCE, 2012, 432 : 28 - 37
  • [39] Generating all Possible Palindromes from Ngram Corpora
    Papadopoulos, Alexandre
    Roy, Pierre
    Regin, Jean-Charles
    Pachet, Francois
    PROCEEDINGS OF THE TWENTY-FOURTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE (IJCAI), 2015, : 2489 - 2495
  • [40] FINDING AN APPROXIMATE MAXIMUM
    ALON, N
    AZAR, Y
    SIAM JOURNAL ON COMPUTING, 1989, 18 (02) : 258 - 267