Bit-Parallel LCS-length Computation Revisited (2004)
| Venue: | In Proc. 15th Australasian Workshop on Combinatorial Algorithms (AWOCA |
| Citations: | 6 - 4 self |
BibTeX
@INPROCEEDINGS{Hyyrö04bit-parallellcs-length,
author = {Heikki Hyyrö},
title = {Bit-Parallel LCS-length Computation Revisited},
booktitle = {In Proc. 15th Australasian Workshop on Combinatorial Algorithms (AWOCA},
year = {2004},
pages = {16--27}
}
OpenURL
Abstract
The longest common subsequence (LCS) is a classic and well-studied measure of similarity between two strings A and B. This problem has two variants: determining the length of the LCS (LLCS), and recovering an LCS itself. In this paper we address the first of these two. Let m and n denote the lengths of the strings A and B, respectively, and w denote the computer word size. First we give a slightly improved formula for the bit-parallel O(#m/w#n) LLCS algorithm of Crochemore et al. [4]. Then we discuss the relative performance of the bit-parallel algorithms and compare our variant against one of the best conventional LLCS algorithms. Finally we propose and evaluate an O(#d/w#n) version of the algorithm, where d is the simple (indel) edit distance between A and B.







