Years and Authors of Summarized Original Work
1994; Huang
Problem Definition
Given a sequence of numbers, \(A=\langle a_{1},\!a_{2},\!\ldots ,a_{n}\!\rangle\), and two positive integers L, U, where 1 ≤ L ≤ U ≤ n, the maximum-density segment problem is to find a consecutive subsequence, i.e., a segment or substring, of A with length at least L and at most U such that the average value of the numbers in the subsequence is maximized.
Key Results
If there is no length constraint, then obviously the maximum-density segment is the maximum number in the sequence. Let’s first consider the problem where only the length lower bound L is imposed. By observing that the length of the shortest maximum-density segment with length at least L is at most 2L − 1, Huang [9] gave an O(nL)-time algorithm. Lin et al. [13] proposed a new technique, called the right-skew decomposition, to partition each suffix of A into right-skewsegments of strictly decreasing averages. The right-skew decomposition can be...
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Recommended Reading
Arslan A, Eğecioğlu Ö, Pevzner P (2001) A new approach to sequence comparison: normalized sequence alignment. Bioinformatics 17:327–337
Bergkvist A, Damaschke P (2005) Fast algorithms for finding disjoint subsequences with extremal densities. In: Proceedings of the 16th annual international symposium on algorithms and computation, Sanya. Lecture notes in computer science, vol 3827, pp 714–723
Burton BA (2011) Searching a bitstream in linear time for the longest substring of any given density. Algorithmica 61:555–579
Burton BA, Hiron M (2013) Locating regions in a sequence under density constraints. SIAM J Comput 42:1201–1215
Chen YH, Lu HI, Tang CY (2005) Disjoint segments with maximum density. In: Proceedings of the 5th annual international conference on computational science, Atlanta, pp 845–850
Chung K-M, Lu H-I (2004) An optimal algorithm for the maximum-density segment problem. SIAM J Comput 34:373–387
Fukuda T, Morimoto Y,Morishita S, Tokuyama T (1999) Mining optimized association rules for numeric attributes. J Comput Syst Sci 58:1–12
Goldwasser MH, Kao M-Y, Lu H-I (2005) Linear-time algorithms for computing maximum-density sequence segments with bioinformatics applications. J Comput Syst Sci 70:128–144
Hsieh Y-H, Yu C-C, Wang B-F (2008) Optimal algorithms for the interval location problem with range constraints on length and average. IEEE/ACM Trans Comput Biol Bioinform 5:281–290
Huang X (1994) An algorithm for identifying regions of a DNA sequence that satisfy a content requirement. Comput Appl Biosci 10:219–225
Kim SK (2003) Linear-time algorithm for finding a maximum-density segment of a sequence. Inf Process Lett 86:339–342
Lin Y-L, Huang X, Jiang T, Chao K-M (2003) MAVG: locating non-overlapping maximum average segments in a given sequence. Bioinformatics 19:151–152
Lin Y-L, Jiang T, Chao K-M (2002) Efficient algorithms for locating the length-constrained heaviest segments with applications to biomolecular sequence analysis. J Comput Syst Sci 65:570–586
Liu H-F, Chao K-M (2006) On locating disjoint segments with maximum sum of densities. In: Proceedings of the 17th annual international symposium on algorithms and computation, Kolkata. Lecture notes in computer science, vol 4288, pp 300–307
Nekrutenko A, Li WH (2000) Assessment of compositional heterogeneity within and between eukaryotic genomes. Genome Res 10:1986–1995
Stojanovic N, Dewar K (2005) Identifying multiple alignment regions satisfying simple formulas and patterns. Bioinformatics 20:2140–2142
Stojanovic N, Florea L, Riemer C, Gumucio D, Slightom J, Goodman M, Miller W, Hardison R (1999) Comparison of five methods for finding conserved sequences in multiple alignments of gene regulatory regions. Nucl Acid Res 19:3899–3910
Zhang Z, Berman P, Wiehe T, Miller W (1999) Post-processing long pairwise alignments. Bioinformatics 15:1012–1019
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2016 Springer Science+Business Media New York
About this entry
Cite this entry
Chao, KM. (2016). Maximum-Average Segments. In: Kao, MY. (eds) Encyclopedia of Algorithms. Springer, New York, NY. https://doi.org/10.1007/978-1-4939-2864-4_224
Download citation
DOI: https://doi.org/10.1007/978-1-4939-2864-4_224
Published:
Publisher Name: Springer, New York, NY
Print ISBN: 978-1-4939-2863-7
Online ISBN: 978-1-4939-2864-4
eBook Packages: Computer ScienceReference Module Computer Science and Engineering