Algorithms for the Problems of Length-Constrained Heaviest Segments
Md. Shafiul Alam, Asish Mukhopadhyay

TL;DR
This paper introduces efficient algorithms for length-constrained maximum sum and density segment problems, providing optimal time and space complexities, and extends these solutions to related problems and higher dimensions.
Contribution
It presents the first non-trivial algorithms for length-constrained heaviest segments with optimal complexities and extends these methods to multiple related problems and higher dimensions.
Findings
Algorithms run in O(n) time for maximum sum and density segments.
Extensions solve k maximum segments problems efficiently.
Algorithms can be adapted for higher-dimensional data.
Abstract
We present algorithms for length-constrained maximum sum segment and maximum density segment problems, in particular, and the problem of finding length-constrained heaviest segments, in general, for a sequence of real numbers. Given a sequence of n real numbers and two real parameters L and U (L <= U), the maximum sum segment problem is to find a consecutive subsequence, called a segment, of length at least L and at most U such that the sum of the numbers in the subsequence is maximum. The maximum density segment problem is to find a segment of length at least L and at most U such that the density of the numbers in the subsequence is the maximum. For the first problem with non-uniform width there is an algorithm with time and space complexities in O(n). We present an algorithm with time complexity in O(n) and space complexity in O(U). For the second problem with non-uniform width there…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsConstraint Satisfaction and Optimization · Computational Geometry and Mesh Generation · Algorithms and Data Compression
