Given a sequence A of numbers and two positive integers ℓ and k, we study the problem to find k disjoint segments of A, each has length at least ℓ, such that their sum of densities is maximized. We give the first known polynomial-time algorithm for the problem: For general k, our algorithm runs in O(nℓk] time. For the special case with k = 2 (respectively, k = 3), we also show how to solve the problem in O(n) (respectively, O(n + ℓ2)} time. © Springer-Verlag Berlin Heidelberg 2005.
CITATION STYLE
Chen, Y. H., Lu, H. I., & Tang, C. Y. (2005). Disjoint segments with maximum density. In Lecture Notes in Computer Science (Vol. 3515, pp. 845–850). Springer Verlag. https://doi.org/10.1007/11428848_108
Mendeley helps you to discover research relevant for your work.