Standard

Semi-local longest common subsequences in subquadratic time. / Tiskin, Alexander.

In: Journal of Discrete Algorithms, Vol. 6, No. 4, 01.12.2008, p. 570-581.

Research output: Contribution to journalArticlepeer-review

Harvard

APA

Vancouver

Author

Tiskin, Alexander. / Semi-local longest common subsequences in subquadratic time. In: Journal of Discrete Algorithms. 2008 ; Vol. 6, No. 4. pp. 570-581.

BibTeX

@article{24a773fec9c54c26ad731d8c11876d28,
title = "Semi-local longest common subsequences in subquadratic time",
abstract = "For two strings a, b of lengths m, n, respectively, the longest common subsequence (LCS) problem consists in comparing a and b by computing the length of their LCS. In this paper, we define a generalisation, called {"}the all semi-local LCS problem{"}, where each string is compared against all substrings of the other string, and all prefixes of each string are compared against all suffixes of the other string. An explicit representation of the output lengths is of size Θ ((m + n)2). We show that the output can be represented implicitly by a geometric data structure of size O (m + n), allowing efficient queries of the individual output lengths. The currently best all string-substring LCS algorithm by Alves et al., based on previous work by Schmidt, can be adapted to produce the output in this form. We also develop the first all semi-local LCS algorithm, running in time o (m n) when m and n are reasonably close. Compared to a number of previous results, our approach presents an improvement in algorithm functionality, output representation efficiency, and/or running time. {\textcopyright} 2008 Elsevier B.V. All rights reserved.",
keywords = "Longest common subsequence, Semi-local string comparison, String algorithms",
author = "Alexander Tiskin",
year = "2008",
month = dec,
day = "1",
doi = "10.1016/j.jda.2008.07.001",
language = "English",
volume = "6",
pages = "570--581",
journal = "Journal of Discrete Algorithms",
issn = "1570-8667",
publisher = "Elsevier",
number = "4",

}

RIS

TY - JOUR

T1 - Semi-local longest common subsequences in subquadratic time

AU - Tiskin, Alexander

PY - 2008/12/1

Y1 - 2008/12/1

N2 - For two strings a, b of lengths m, n, respectively, the longest common subsequence (LCS) problem consists in comparing a and b by computing the length of their LCS. In this paper, we define a generalisation, called "the all semi-local LCS problem", where each string is compared against all substrings of the other string, and all prefixes of each string are compared against all suffixes of the other string. An explicit representation of the output lengths is of size Θ ((m + n)2). We show that the output can be represented implicitly by a geometric data structure of size O (m + n), allowing efficient queries of the individual output lengths. The currently best all string-substring LCS algorithm by Alves et al., based on previous work by Schmidt, can be adapted to produce the output in this form. We also develop the first all semi-local LCS algorithm, running in time o (m n) when m and n are reasonably close. Compared to a number of previous results, our approach presents an improvement in algorithm functionality, output representation efficiency, and/or running time. © 2008 Elsevier B.V. All rights reserved.

AB - For two strings a, b of lengths m, n, respectively, the longest common subsequence (LCS) problem consists in comparing a and b by computing the length of their LCS. In this paper, we define a generalisation, called "the all semi-local LCS problem", where each string is compared against all substrings of the other string, and all prefixes of each string are compared against all suffixes of the other string. An explicit representation of the output lengths is of size Θ ((m + n)2). We show that the output can be represented implicitly by a geometric data structure of size O (m + n), allowing efficient queries of the individual output lengths. The currently best all string-substring LCS algorithm by Alves et al., based on previous work by Schmidt, can be adapted to produce the output in this form. We also develop the first all semi-local LCS algorithm, running in time o (m n) when m and n are reasonably close. Compared to a number of previous results, our approach presents an improvement in algorithm functionality, output representation efficiency, and/or running time. © 2008 Elsevier B.V. All rights reserved.

KW - Longest common subsequence

KW - Semi-local string comparison

KW - String algorithms

UR - http://www.scopus.com/inward/record.url?scp=54449083748&partnerID=8YFLogxK

U2 - 10.1016/j.jda.2008.07.001

DO - 10.1016/j.jda.2008.07.001

M3 - Article

AN - SCOPUS:54449083748

VL - 6

SP - 570

EP - 581

JO - Journal of Discrete Algorithms

JF - Journal of Discrete Algorithms

SN - 1570-8667

IS - 4

ER -

ID: 127710849