Information Processing Letters, 70(3) pp.127-139, 1999
D. R. Powell, L. Allison and T. I. Dix,
Department of Computer Science, Monash University,
Clayton, VIC 3168,
Common string alignment algorithms such as the
dynamic programming algorithm (DPA) and the
time efficient Ukkonen algorithm use quadratic space to
determine an alignment between two strings.
In this paper we present a technique that can be applied to these
algorithms to obtain an alignment using only linear space,
while having little or no effect on the time complexity.
This new technique has several advantages over previous methods for
determining alignments in linear space, such as: simplicity,
the ability to use essentially the same technique when
using different cost functions, and the practical advantage of
easily being able to trade available memory for running time.
Keyword: Algorithms, sequence alignment, dynamic programming, edit distance
(The flexible D&C technique can also be applied to the alignment of
even with linear gap-costs and when combined in a fast greedy algorithm
[Powell et al].)