Skip navigation

DSpace JSPUI

DSpace preserves and enables easy and open access to all types of digital content including text, images, moving images, mpegs and data sets

Learn More
DSpace logo
English
中文
  • Browse
    • Communities
      & Collections
    • Publication Year
    • Author
    • Title
    • Subject
    • Advisor
  • Search TDR
  • Rights Q&A
    • My Page
    • Receive email
      updates
    • Edit Profile
  1. NTU Theses and Dissertations Repository
  2. 電機資訊學院
  3. 資訊工程學系
Please use this identifier to cite or link to this item: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/38968
Full metadata record
???org.dspace.app.webui.jsptag.ItemTag.dcfield???ValueLanguage
dc.contributor.advisor趙坤茂
dc.contributor.authorKuan-Yu Chenen
dc.contributor.author陳冠宇zh_TW
dc.date.accessioned2021-06-13T16:54:57Z-
dc.date.available2005-07-30
dc.date.copyright2005-07-30
dc.date.issued2005
dc.date.submitted2005-06-10
dc.identifier.citationA. V. Aho, J. E. Hopcroft, and J.D. Ullman. The Design and Analysis of Computer Algorithms. Addison-Wesley, Reading, MA, 1974.
L. Allison. Longest Biased Interval and Longest Non-Negative Sum Interval. Bioinformatics, 19:1294--1295, 2003.
S. Alstrup, C. Gavoille, H. Kaplan, and T. Rauhe. Nearest Common Ancestors: A Survey and a New Algorithm for a Distributed Environment. Theory of Computing System, 37: 441--456, 2004.
M. A. Bender, and M. Farach-Colton. The LCA Problem Revisited. Proceedings of the 4th Latin American Symposium on Theoretical Informatics, 17: 88--94, 2000.
J. Bentley. Programming Pearls - Algorithm Design Techniques, CACM, 865--871, 1984.
K.-Y Chen and K.-M Chao. On the Range Maximum-Sum Segment Query Problem. ISAAC, LNCS 3341, 294--305, 2004.
K. Chung and H.-I. Lu. An Optimal Algorithm for the Maximum-Density Segment Problem. SIAM Journal on Computing, 34(2):373--387, 2004.
T.-H. Fan ,S. Lee, H.-I Lu, T.-S. Tsou, T.-C. Wang, and A. Yao. An Optimal Algorithm for Maximum-Sum Segment and Its Application in Bioinformatics. CIAA, LNCS 2759, 251--257, 2003.
H. Gabow, J. Bentley, and R. Tarjan. Scaling and Related Techniques for Geometry Problems. Proc. Symp Theory of Computing (STOC), 135--143, 1984.
M.H. Goldwasser, M.-Y. Kao, and H.-I. Lu. Linear-Time Algorithms for Computing Maximum-Density Sequence Segments with Bioinformatics Applications. Journal of Computer and System Sciences, 70(2), 2005.
D. Gusfield. Algorithms on Strings, Trees, and Sequences: Computer Science and Computational Biology. Cambridge University Press, 1999.
D. Harel and R. E. Tarjan. Fast Algorithms for Finding Nearest Common Ancestors. SIAM J Comput., 13: 338--355, 1984.
X. Huang. An Algorithm for Identifying Regions of a DNA Sequence that Satisfy a Content Requirement. CABIOS, 10: 219--225, 1994.
Y.-L. Lin, X. Huang, T. Jiang, and K.-M. Chao, MAVG: Locating Non-Overlapping Maximum Average Segments in a Given Sequence, Bioinformatics, 19:151-152, 2003.
Y.-L. Lin, T. Jiang, and K.-M. Chao. 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.
W. L. Ruzzo and M. Tompa. A Linear Time Algorithm for Finding All Maximal Scoring Subsequences. In 7th Intl. Conf. Intelligent Systems for Molecular Biology, Heidelberg, Germany, 234--241, 1999.
B. Schieber and U. Vishkin. On Finding Lowest Common Ancestors: Simplification and Parallelization. SIAM J Comput., 17: 1253--1262, 1988.
J. Vuillemin. A Unifying Look at Data Structures. \textit{CACM}, 23: 229--239, 1980.
L. Wang and Y. Xu. SEGID:Identifying Interesting Segments in (Multiple) Sequence Alignments. Bioinformatics, 19: 297--298, 2003.
dc.identifier.urihttp://tdr.lib.ntu.edu.tw/jspui/handle/123456789/38968-
dc.description.abstractRange Minima Query 問題 (或簡稱 RMQ 問題)定義為, 先對一個 A[1...n] 的實數數列作些處理, 之後我們希望能有效地回答一連串像這樣的區域查詢: ``給任意兩個位置 i 和 j, 在子數列 A[i...j] 中, 最小作的位置在哪?',
這個問題已被証明和 LCA 問題等價 (LCA 問題是對一個樹結構先處理完後, 回答任兩個節點最近的共同祖先位置在哪? ), 這兩個問題在 RAM model 下都已有最佳解.
我們的動機來自一些生物序列分析的相關問題, 這篇論文的前半部分, 探討了一個類似上面的區域查詢問題, 在這個新問題中, 我們希望回答像這樣的區域查詢: ``給兩個位置 i 和 j, 在子數列 A[i...j] 中, 最大總和區間位置在哪?',
透過証明這個問題等價於 RMQ 問題, 我們得到了一個線性處理時間和常數回答時間的演算法, 經由進一步延伸後, 我們可以用所發展出來的區域查詢技術來解決三個跟最大總和區間相關的序列分析問題, 這也說明了此區域查詢技術在此類問題中的潛在應用.
至於論文的後半部分, 我們針對其中一個和最大總和區間相關的問題做了進一步的探討: ``給一個實數序列, 分別找出最長和最短有總和或平均值限制的區間位置', 我們設計了兩個擁有線上運算特性的最佳演算法, 這改進了以往演算法無法有效處理資料串流的缺點.
zh_TW
dc.description.abstractThe range minima query problem, RMQ for short, is to preprocess a sequence of real
numbers A[1...n] for subsequent queries of the form: ``Given indices i, j, what is the
index of the minimum value of A[1...n]?' This problem is shown to be equivalent to the
LCA problem in which a tree is preprocessed for answering the lowest common ancestor
of two nodes. It is also shown that both the RMQ and LCA problem can be solved
optimally under the RAM model.
Motivated by some biological string problems, the first part of the paper considers a similar
query problem, in which we wish to answer queries of the form: ``Given indices i, j,
where is the maximum-sum segment of A[1...n]?' By showing the equivalence between
this problem and RMQ, we obtain a linear preprocessing time and constant query time
solution. We extend this result to solve in linear time three biological string problems
related to maximum-sum segments. These variations on the basic theme demonstrate
the utilities of the techniques developed in this thesis.
As for the second part of the paper, we devise two linear time online algorithms for
the following biological string problems: ``Given a sequence of real numbers, locate the
longest and shortest segment satisfying a sum or an average constraint.'
Our algorithms improve on previous algorithms by providing the capability of handling data string inputs.
en
dc.description.provenanceMade available in DSpace on 2021-06-13T16:54:57Z (GMT). No. of bitstreams: 1
ntu-94-R92922047-1.pdf: 576247 bytes, checksum: aa5f9bb929dafc4c65705a489f0664be (MD5)
Previous issue date: 2005
en
dc.description.tableofcontents1 Introduction 1
2 A New Range Query Problem 4
2.1 The Range Minima/Maxima Query Problem (RMQ) . . . . . . . . . . . 4
2.2 The Range Maximum-Sum Segment Query Problem (RMSQ) . . . . . . 5
2.3 Table Lookup Algorithms for RMSQ . . . . . . . . . . . . . . . . . . . . 5
3 Equivalence between RMQ and RMSQ 8
3.1 Reduction from RMQ to RMSQ . . . . . . . . . . . . . . . . . . . . . . . 8
3.2 Reduction from RMSQ to RMQ . . . . . . . . . . . . . . . . . . . . . . . 8
3.2.1 Our First Attempt . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.2.2 A Better Partner . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.2.3 A Formal Proof . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.3 An Extension of RMSQ . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4 Applications of RMSQ 20
4.1 Finding All Maximal-Sum Segments . . . . . . . . . . . . . . . . . . . . . 20
ii
4.2 Finding the Maximum-Sum Segment Satisfying Length Constraints . . . 21
4.3 Finding the Longest Segment Satisfying an Average Constraint . . . . . . 21
5 The Longest and Shortest Segment with Sum or Average Constraints
Problems 23
6 Online Algorithms for the Longest and Shortest Segment Problems 25
6.1 An Online Algorithm for the Longest Segment Problem . . . . . . . . . . 25
6.2 An Online Algorithm for the Shortest Segment Problem . . . . . . . . . . 27
6.3 Concluding Remarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
dc.language.isozh-TW
dc.subject最大平均值zh_TW
dc.subject區域查詢zh_TW
dc.subject最大總和zh_TW
dc.subjectmaximum-sumen
dc.subjectRMQen
dc.subjectmaximum-averageen
dc.title最大總和區間與最大平均值區間相關問題的線上演算法和區域查詢技術zh_TW
dc.titleOnline Algorithms and Range Qeury Techniques for Some Constrained Maximum-Sum and Maximum-Average Segment Problemsen
dc.typeThesis
dc.date.schoolyear93-2
dc.description.degree碩士
dc.contributor.oralexamcommittee徐熊健,張雅惠
dc.subject.keyword區域查詢,最大總和,最大平均值,zh_TW
dc.subject.keywordmaximum-sum,maximum-average,RMQ,en
dc.relation.page33
dc.rights.note有償授權
dc.date.accepted2005-06-10
dc.contributor.author-college電機資訊學院zh_TW
dc.contributor.author-dept資訊工程學研究所zh_TW
Appears in Collections:資訊工程學系

Files in This Item:
File SizeFormat 
ntu-94-1.pdf
  Restricted Access
562.74 kBAdobe PDF
Show simple item record


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.

社群連結
聯絡資訊
10617臺北市大安區羅斯福路四段1號
No.1 Sec.4, Roosevelt Rd., Taipei, Taiwan, R.O.C. 106
Tel: (02)33662353
Email: ntuetds@ntu.edu.tw
意見箱
相關連結
館藏目錄
國內圖書館整合查詢 MetaCat
臺大學術典藏 NTU Scholars
臺大圖書館數位典藏館
本站聲明
© NTU Library All Rights Reserved