The concave least-weight subsequence problem revisited

From MaRDI portal





We are given an integer n and a real-valued function w(i,j) defined for integers \(0\leq i<j\leq n\) and with the property that \(w(i_ 0,j_ 0)+w(i_ 1,j_ 1)\leq w(i_ 0,j_ 1)+w(i_ 1,j_ 0)\) for \(0\leq i_ 0<i_ 1<j_ 0<j_ 1\leq n\). The concave least-weight subsequence problem is to find an integer \(k\geq 1\) and a sequence of integers \(0=\ell_ 0<\ell_ 1<...<\ell_{k-1}<\ell_ k=n\) such that \(\sum^{k-1}_{i=0}w(\ell_ i,\ell_{i+1})\) is minimized. One application of this problem is determining optimal line breaks in a text formatting system. \textit{D. S. Hirschberg} and \textit{L. L. Larmore} [SIAM J. Comput. 16, 628- 638 (1987; see the preceding review)] showed that the concave least- weight subsequence problem can be solved in O(n log n) time and that if a certain extra condition is imposed it can be solved in O(n) time. Here we show that the concave least weight subsequence problem can always be solved in O(n) time, without any extra conditions.




Cited in
(31)








This page was built for publication: The concave least-weight subsequence problem revisited

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3796787)