Sparse dynamic programming II: convex and concave cost functions
Sparse dynamic programming II: convex and concave cost functions
复制标题
稀疏动态规划二:凸凹成本函数
DOI:
--
复制
发表时间:
1992
期刊:
影响因子:
--
通讯作者:
G. Italiano
中科院分区:
文献类型:
--
作者:
D. Eppstein;Z. Galil;R. Giancarlo;G. Italiano
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.