×

Optimal algorithms for the average-constrained maximum-sum segment problem. (English) Zbl 1191.68823

Summary: Given a real number sequence \(A=(a_{1},a_{2},\cdots ,a_n)\), an average lower bound \(L\), and an average upper bound \(U\), the Average-Constrained Maximum-Sum Segment problem is to locate a segment \(A(i,j)=(a_i,a_{i+1},\cdots ,a_j)\) that maximizes \(\sum _i \leqslant _k \leqslant _j a_k\) subject to \(L \leqslant (\sum _{i\leqslant k \leqslant j}a_k)/(j-i+1) \leqslant U\). In this paper, we give an \(O(n)\)-time algorithm for the case where the average upper bound is ineffective, i.e., \(U=\infty \). On the other hand, we prove that the time complexity of the problem with an effective average upper bound is \(\Omega (n\log n)\) even if the average lower bound is ineffective, i.e., \(L= - \infty \).

MSC:

68W05 Nonnumerical algorithms

Software:

SEGID

References:

[1] Allison, L., Longest biased interval and longest non-negative sum interval, Bioinformatics, 19, 1294-1295 (2003)
[2] Arslan, A.; Eğecioğlu, Ö.; Pevzner, P., A new approach to sequence comparison: Normalized sequence alignment, Bioinformatics, 17, 327-337 (2001)
[3] S.E. Bae, T. Takaoka, Algorithms for the problem of \(k\) maximum sums and a VLSI algorithm for the \(k\) maximum subarrays problem, in: Proceedings of the 7th International Symposium on Parallel Architectures, Algorithms and Networks, 2004, pp. 247-253; S.E. Bae, T. Takaoka, Algorithms for the problem of \(k\) maximum sums and a VLSI algorithm for the \(k\) maximum subarrays problem, in: Proceedings of the 7th International Symposium on Parallel Architectures, Algorithms and Networks, 2004, pp. 247-253
[4] S.E. Bae, T. Takaoka, Improved algorithms for the \(k\)-maximum subarray problem for small \(K\), in: Proceedings of the 11th Annual International Computing and Combinatorics Conference, 2005, pp. 621-631; S.E. Bae, T. Takaoka, Improved algorithms for the \(k\)-maximum subarray problem for small \(K\), in: Proceedings of the 11th Annual International Computing and Combinatorics Conference, 2005, pp. 621-631 · Zbl 1128.68563
[5] F. Bengtsson, J. Chen, Efficient algorithms for \(k\) maximum sums, in: Proceedings of the 15th International Symposium on Algorithms and Computation, 2004, pp. 137-148; F. Bengtsson, J. Chen, Efficient algorithms for \(k\) maximum sums, in: Proceedings of the 15th International Symposium on Algorithms and Computation, 2004, pp. 137-148 · Zbl 1100.68643
[6] Bentley, J., Programming pearls: Algorithm design techniques, Communications of the ACM, 865-871 (1984)
[7] Bentley, J., Programming pearls: Perspective on performance, Communications of the ACM, 1087-1092 (1984)
[8] M. Ben-Or, Lower bounds for algebraic computation trees, in: Proceedings of the 15th Annual ACM Symposium on Theory of Computing, 1983, pp. 80-86; M. Ben-Or, Lower bounds for algebraic computation trees, in: Proceedings of the 15th Annual ACM Symposium on Theory of Computing, 1983, pp. 80-86
[9] T. Bernholt, F. Eisenbrand, T. Hofmeister, A geometric framework for solving subsequence problems in computational biology efficiently, in: Proceeding of the 23rd Annual Symposium on Computational Geometry, 2007, pp. 310-318; T. Bernholt, F. Eisenbrand, T. Hofmeister, A geometric framework for solving subsequence problems in computational biology efficiently, in: Proceeding of the 23rd Annual Symposium on Computational Geometry, 2007, pp. 310-318 · Zbl 1221.68256
[10] G.S. Brodal, A.G. Jørgensen, A linear time algorithm for the \(k\) maximal sums problem, in: Proceedings of the 32nd International Symposium on Mathematical Foundations of Computer Science, 2007, pp. 442-453; G.S. Brodal, A.G. Jørgensen, A linear time algorithm for the \(k\) maximal sums problem, in: Proceedings of the 32nd International Symposium on Mathematical Foundations of Computer Science, 2007, pp. 442-453 · Zbl 1147.68862
[11] Chen, K.-Y.; Chao, K.-M., On the range maximum-sum segment query problem, Discrete Applied Mathematics, 155, 2043-2052 (2007) · Zbl 1123.68029
[12] Cheng, C.-H.; Chen, K.-Y.; Tien, W.-C.; Chao, K.-M., Improved algorithms for the \(k\) maximum-sums problems, Theoretical Computer Science, 362, 1-3, 162-170 (2006) · Zbl 1155.68604
[13] T.-H. Fan, S. Lee, H.-I. Lu, T.-S. Tsou, T.-C. Wang, A. Yaom An optimal algorithm for maximum-sum segment and its application in bioinformatics, in: Proceedings of the Eighth International Conference on Implementation and Application of Automata, 2003, pp. 251-257; T.-H. Fan, S. Lee, H.-I. Lu, T.-S. Tsou, T.-C. Wang, A. Yaom An optimal algorithm for maximum-sum segment and its application in bioinformatics, in: Proceedings of the Eighth International Conference on Implementation and Application of Automata, 2003, pp. 251-257 · Zbl 1279.92064
[14] Fukuda, T.; Morimoto, Y.; Morishita, S.; Tokuyama, T., Mining optimized association rules for numeric attributes, Journal of Computer and System Science, 58, 1, 1-12 (1999) · Zbl 0943.68050
[15] Fukuda, T.; Morimoto, Y.; Morishita, S.; Tokuyama, T., Data mining with optimized two-dimensional association rules, ACM Transactions on Database Systems, 26, 179-213 (2001) · Zbl 1136.68381
[16] Grenander, U., Pattern Analysis (1978), Springer-Verlag: Springer-Verlag New York · Zbl 0428.68098
[17] Huang, X., An algorithm for identifying regions of a DNA sequence that satisfy a content requirement, Computer Applications in the Biosciences, 10, 219-225 (1994)
[18] T.-C. Lin, D.T. Lee, Efficient algorithm for the sum selection problem and \(k\) maximum sums problem, in: Proceedings of the 17th Annual International Symposium on Algorithms and Computation, 2006, pp. 460-473; T.-C. Lin, D.T. Lee, Efficient algorithm for the sum selection problem and \(k\) maximum sums problem, in: Proceedings of the 17th Annual International Symposium on Algorithms and Computation, 2006, pp. 460-473 · Zbl 1135.68631
[19] Lin, T.-C.; Lee, D. T., Randomized algorithm for the sum selection problem, Theoretical Computer Science, 377, 151-156 (2007) · Zbl 1115.68170
[20] Lin, Y.-L.; Jiang, T.; Chao, K.-M., Efficient algorithms for locating the length-constrained heaviest segments with applications to biomolecular sequence analysis, Journal of Computer and System Sciences, 65, 570-586 (2002) · Zbl 1059.68024
[21] H.-F. Liu, K.-M. Chao, Algorithms for finding the weight-constrained \(k\) longest paths in a tree and the length-constrained \(k\) maximum-sum segments of a sequence, Theoretical Computer Science, doi:10.1016/j.tcs.2008.06.052; H.-F. Liu, K.-M. Chao, Algorithms for finding the weight-constrained \(k\) longest paths in a tree and the length-constrained \(k\) maximum-sum segments of a sequence, Theoretical Computer Science, doi:10.1016/j.tcs.2008.06.052 · Zbl 1151.90057
[22] Perumalla, K.; Deo, N., Parallel algorithms for maximum subsequence and maximum subarray, Parallel Processing Letters, 5, 367-373 (1995)
[23] W.L. Ruzzo, M. Tompa, A linear time algorithm for finding all maximal scoring subsequences, in: Proceedings of the 7th International Conference on Intelligent Systems for Molecular Biology, 1999, pp. 234-241; W.L. Ruzzo, M. Tompa, A linear time algorithm for finding all maximal scoring subsequences, in: Proceedings of the 7th International Conference on Intelligent Systems for Molecular Biology, 1999, pp. 234-241
[24] Stojanovic, N.; Florea, L.; Riemer, C.; Gumucio, D.; Slightom, J.; Goodman, M.; Miller, W.; Hardison, R. C., Comparison of five methods for finding conserved sequences in multiple alignments of gene regulatory regions, Nucleic Acids Research, 19, 3899-3910 (1999)
[25] Wang, L.; Xu, Y., SEGID: Identifying interesting segments in (multiple) sequence alignments, Bioinformatics, 19, 297-298 (2003)
This reference list is based on information provided by the publisher or from digital mathematics libraries. Its items are heuristically matched to zbMATH identifiers and may contain data conversion errors. In some cases that data have been complemented/enhanced by data from zbMATH Open. This attempts to reflect the references listed in the original paper as accurately as possible without claiming completeness or a perfect matching.