Paper record

W2124115696

Sparse dynamic programming II: convex and concave cost functions

David Eppstein, Zvi Galil, Raffaele Giancarlo, Giuseppe Francesco Italiano

Year
1992
Venue
Journal of the ACM
References
22
Cited by
90

Details and counts from OpenAlex.

Abstract

Dynamic programming solutions to two recurrence equations, used to compute a sequence alignment from a set of matching fragments between two strings, and to predict RNA secondary structure, are considered. These recurrences are defined over a number of points that is quadratic in the input size; however, only a sparse set matters for the result. Efficient algorithms are given for solving these problems, when the cost of a gap in the alignment or a loop in the secondary structure is taken as a convex or concave function of the gap or loop length. The time complexity of our algorithms depends almost linearly on the number of points that need to be considered; when the problems are sparse, this results in a substantial speed-up over known algorithms.