All Semi-local Longest Common Subsequences in Subquadratic Time
Tiskin, A. (2006) All Semi-local Longest Common Subsequences in Subquadratic Time. In: Computer Science – Theory and Applications. Lecture Notes in Computer Science, 3967 . Springer Verlag, pp. 352-363. ISBN 978-3-540-34166-6
| PDF Restricted to Repository staff only Download (431Kb) |
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. can be adapted to produce the output in this form. We also develop the first all semi-local LCS algorithm, running in time o(mn) 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.
| Item Type: | Book Section |
|---|---|
| Uncontrolled Keywords: | focs semi-local LCS algorithm |
| Subjects: | Q Science > QA Mathematics > QA75 Electronic computers. Computer science |
| Divisions: | Faculty of Science > Computer Science |
| Depositing User: | Ms Saima Arif |
| Date Deposited: | 15 Dec 2010 10:44 |
| Last Modified: | 26 Jul 2011 12:15 |
| URI: | http://eprints.dcs.warwick.ac.uk/id/eprint/461 |
Actions (login required)
| View Item |