Journal Article10.1007/S00453-006-0076-X
Efficient Algorithms for k Maximum Sums
Fredrik Bengtsson,Jingsen Chen +1 more
31
TL;DR: The algorithm is optimal for k = \Omega(n \log^2 n) and improves over the previously best known result for any value of the user-defined parameter k < 1, resulting in fast algorithms as well.
read more
Abstract: We study the problem of computing the k maximum sum subsequences. Given a sequence of real numbers $\left\langle x_{1},x_{2},\ldots ,x_{n}\right\rangle $ and an integer parameter k, $1\leq k\leq \frac{1}{2}n(n-1),$ the problem involves finding the k largest values of $\sum_{\ell =i}^{j}x_{\ell }$ for $1\leq i\leq j\leq n.$ The problem for fixed k = 1, also known as the maximum sum subsequence problem, has received much attention in the literature and is linear-time solvable. Recently, Bae and Takaoka presented a $\Theta(nk)$ -time algorithm for the k maximum sum subsequences problem. In this paper we design an efficient algorithm that solves the above problem in $O( \min \{k+n\log^{2}n,n\sqrt{k}\}) $ time in the worst case. Our algorithm is optimal for $k = \Omega(n \log^2 n)$ and improves over the previously best known result for any value of the user-defined parameter k < 1. Moreover, our results are also extended to the multi-dimensional versions of the k maximum sum subsequences problem; resulting in fast algorithms as well.
read more
Chat with Paper
AI Agents for this Paper
Find similar papers on Google Scholar, PubMed and Arxiv
Write a critical review of this paper
Analyze citations of this paper to find unaddressed research gaps
Citations
Improved algorithms for the k maximum-sums problems
Chih-Huai Cheng,Kuan-Yu Chen,Wen-Chin Tien,Kun-Mao Chao +3 more
- 19 Dec 2005
TL;DR: An O(n+k log(min{n, k}))-time algorithm is proposed which is superior to Bengtsson and Chen's when k is o(nlog n), and the first optimal algorithm for delivering the k maximum-sum segments in non-decreasing order if k ≤ n is given.
28
A linear time algorithm for the k maximal sums problem
Gerth Stølting Brodal,Allan Grønlund Jørgensen +1 more
- 26 Aug 2007
TL;DR: This paper designs an optimal O(n+k) time algorithm and uses this algorithm to obtain algorithms solving the two-dimensional k maximal sums problem in O(m2 ċ n+ k) time, where the input is an m × n matrix with m ≤ n.
Randomized algorithm for the sum selection problem
Tien-Ching Lin,Der-Tsai Lee +1 more
TL;DR: A randomized algorithm is given for the Sum Selection Problem that matches the optimal O(n) time randomized algorithm for the Selection Problem and can also solve the k Maximum Sums Problem, to enumerate the k largest sums, in expected O( nlog([email protected]?)+k) time.
25
Robust optimization in the presence of uncertainty
Joachim M. Buhmann,Matúš Mihalák,Rastislav Šrámek,Peter Widmayer +3 more
- 09 Jan 2013
TL;DR: It is shown that the exact notion of near-optimum is intertwined with the proposed measure of similarity, which allows the author to derive formal statements about the expected quality of the computed solution: if the given instances are not similar, or are too noisy, the approach will detect this.
21
Algorithms for finding the weight-constrained k longest paths in a tree and the length-constrained k maximum-sum segments of a sequence
Hsiao-Fei Liu,Kun-Mao Chao +1 more
TL;DR: This work shows that the Length-ConstrainedkMaximum-Sum Segments problem can be solved in O(n+k) time and gives an O(VlogV+k)-time algorithm for it.
20
References
Mining association rules between sets of items in large databases
Rakesh Agrawal,Tomasz Imielinski,Arun N. Swami +2 more
- 01 Jun 1993
TL;DR: An efficient algorithm is presented that generates all significant association rules between items in the database of customer transactions and incorporates buffer management and novel estimation and pruning techniques.
The complexity of selection and ranking in X + Y and matrices with sorted columns
TL;DR: Algorithms are presented that run in time which depends nontrivially on the rank k of the element to be selected and which is sublinear with respect to set cardinality, and all bounds are shown to be optimal to within a constant multiplicative factor.
280
•Book
Data Structures and Algorithm Analysis
Mark Weiss
- 01 Jan 2012
TL;DR: Introduction Algorithm Analysis.
235
Efficient Algorithms for the Maximum Subarray Problem by Distance Matrix Multiplication
TL;DR: An efficient algorithm that maximizes the sum of array elements of a subarray of a two-dimensional array that correlates two parameters involved in data, such as ages and income for the amount of sales per some period is designed.
106
Programming pearls: perspective on performance
TL;DR: This column is about the opportunities for efficiency at various design levels of a computer system: each technique is applicable to one of several design levels at which computer systems are built.
81