Improved algorithms for the k maximum-sums problems

被引:0
|
作者
Cheng, CH
Chen, KY
Tien, WC
Chao, KM [1 ]
机构
[1] Natl Taiwan Univ, Dept Comp Sci & Informat Engn, Taipei 106, Taiwan
[2] Natl Taiwan Univ, Grad Inst Networking & Multimedia, Taipei 106, Taiwan
来源
ALGORITHMS AND COMPUTATION | 2005年 / 3827卷
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Given a sequence of n real numbers and an integer k, 1 <= k <= 1/2n(n-1), the k maximum-sum segments problem is to locate the k segments whose sums are the k largest among all possible segment sums. Recently, Bengtsson and Chen gave an O(min {k+n log(2) n, n root k})-time algorithm for this problem. In this paper, we propose an O(n+k log(min{n, k}))-time algorithm for the same problem which is superior to Bengtsson and Chen's when k is o(n log n). We also give the first optimal algorithm for delivering the k maximum-sum segments in non-decreasing order if k <= n. Then we develop an O(n(2d-1)+k log min {n,k})-time algorithm for the d-dimensional version of the problem, where d>1 and each dimension, without loss of generality, is of the same size n. This improves the best previously known O(n(2d-1) C)-time algorithm, also by Bengtsson and Chen, where C=min{k+n log(2) n, n root k}. It should be pointed out that, given a two-dimensional array of size m x n, our algorithm for finding the k maximum-sum subarrays is the first one achieving cubic time provided that k is O(m(2)n/log n).
引用
收藏
页码:799 / 808
页数:10
相关论文
共 50 条
  • [1] Improved algorithms for the k maximum-sums problems
    Cheng, Chih-Huai
    Chen, Kuan-Yu
    Tien, Wen-Chin
    Chao, Kun-Mao
    THEORETICAL COMPUTER SCIENCE, 2006, 362 (1-3) : 162 - 170
  • [2] Efficient algorithms for k maximum sums
    Bengtsson, F
    Chen, J
    ALGORITHMS AND COMPUTATION, 2004, 3341 : 137 - 148
  • [3] Efficient algorithms for k maximum sums
    Bengtsson, Fredrik
    Chen, Jingsen
    ALGORITHMICA, 2006, 46 (01) : 27 - 41
  • [4] Efficient Algorithms for k Maximum Sums
    Fredrik Bengtsson
    Jingsen Chen
    Algorithmica, 2006, 46 : 27 - 41
  • [5] Algorithms for the problem of K maximum sums and a VLSI algorithm for the K maximum subarrays problem
    Bae, SE
    Takaoka, T
    I-SPAN 2004: 7TH INTERNATIONAL SYMPOSIUM ON PARALLEL ARCHITECTURES, ALGORITHMS AND NETWORKS, PROCEEDINGS, 2004, : 247 - 253
  • [6] Efficient algorithms for the Sum Selection Problem and K Maximum Sums Problem
    Lin, Tien-Ching
    Lee, D. T.
    ALGORITHMS AND COMPUTATION, PROCEEDINGS, 2006, 4288 : 460 - +
  • [7] Efficient algorithms for the sum selection problem and k maximum sums problem
    Lin, Tien-Ching
    Lee, D. T.
    THEORETICAL COMPUTER SCIENCE, 2010, 411 (7-9) : 986 - 994
  • [8] Improved approximation algorithms for maximum graph partitioning problems
    Jager, G
    Srivastav, A
    JOURNAL OF COMBINATORIAL OPTIMIZATION, 2005, 10 (02) : 133 - 167
  • [9] Improved Approximation Algorithms for Maximum Graph Partitioning Problems
    Gerold Jäger
    Anand Srivastav
    Journal of Combinatorial Optimization, 2005, 10 : 133 - 167
  • [10] Improved algorithms for the K-maximum subarray problem
    Bae, Sung Eun
    Takaoka, Tadao
    Computer Journal, 2006, 49 (03): : 358 - 374