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 条
  • [41] Optimally fast parallel algorithms for maximum problems
    Tsotras, V.J.
    Proceedings of the European Workshops on Parallel Computing, 1992,
  • [42] Parameterized algorithms for directed maximum leaf problems
    Alon, Noga
    Fomin, Fedor V.
    Gutin, Gregory
    Krivelevich, Michael
    Saurabh, Saket
    AUTOMATA, LANGUAGES AND PROGRAMMING, PROCEEDINGS, 2007, 4596 : 352 - +
  • [43] Algorithms for K-DISJOINT maximum subarrays
    Bae, Sung Eun
    Takaoka, Tadao
    INTERNATIONAL JOURNAL OF FOUNDATIONS OF COMPUTER SCIENCE, 2007, 18 (02) : 319 - 339
  • [45] Improved Approximation Algorithms for Inventory Problems
    Bosman, Thomas
    Olver, Neil
    INTEGER PROGRAMMING AND COMBINATORIAL OPTIMIZATION, IPCO 2020, 2020, 12125 : 91 - 103
  • [46] Improved Algorithms for Orienteering and Related Problems
    Chekuri, Chandra
    Korula, Nitish
    Pal, Martin
    PROCEEDINGS OF THE NINETEENTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, 2008, : 661 - +
  • [47] Improved Algorithms for Orienteering and Related Problems
    Chekuri, Chandra
    Korula, Nitish
    Pal, Martin
    ACM TRANSACTIONS ON ALGORITHMS, 2012, 8 (03)
  • [48] Maximum Edge-Disjoint Paths in k-Sums of Graphs
    Chekuri, Chandra
    Naves, Guyslain
    Shepherd, F. Bruce
    AUTOMATA, LANGUAGES, AND PROGRAMMING, PT I, 2013, 7965 : 328 - 339
  • [49] Improved Algorithms for Maximum Satisfiability and Its Special Cases
    Brilliantov, Kirill
    Alferov, Vasily
    Bliznets, Ivan
    THIRTY-SEVENTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOL 37 NO 4, 2023, : 3898 - 3905
  • [50] Deterministic approximation algorithms for the maximum traveling salesman and maximum triangle packing problems
    van Zuylen, Anke
    DISCRETE APPLIED MATHEMATICS, 2013, 161 (13-14) : 2142 - 2157