Responsive image
博碩士論文 etd-0701118-163508 詳細資訊
Title page for etd-0701118-163508
論文名稱
Title
最長共同遞增子序列問題之對角線演算法
A Diagonal Algorithm for the Longest Common Increasing Subsequence Problem
系所名稱
Department
畢業學年期
Year, semester
語文別
Language
學位類別
Degree
頁數
Number of pages
78
研究生
Author
指導教授
Advisor
召集委員
Convenor
口試委員
Advisory Committee
口試日期
Date of Exam
2018-07-30
繳交日期
Date of Submission
2018-08-02
關鍵字
Keywords
最長共同遞增子序列、對角線、支配、最長共同子序列、最長遞增子序列、Van Emde Boas樹
Van Emde Boas Tree, Longest Common Increasing Subsequence, Diagonal, Dominate, Longest Increasing Subsequence, Longest Common Subsequence
統計
Statistics
本論文已被瀏覽 5662 次,被下載 79
The thesis/dissertation has been browsed 5662 times, has been downloaded 79 times.
中文摘要
最長共同遞增子序列問題 (LCIS)是為了找出兩條序列的最大長度的共同遞增子序列。在這篇論文中,我們提出了一個O((n+L(m-L))loglog |Σ|)時間複雜度的演算法來解決LCIS的問題,其中m和n分別為A和B的長度,m≤n,L是LCIS的長度,Σ是指字母集。我們的演算算法主要思想是擴展一些以前可行的支配操作來解決方案的答案。我們利用van Emde Boas tree的資料結構來完成延伸和支配的操作。從我們的時間複雜度可以看出,當L非常小或是非常大的時候會很有效率,最後我們的實驗數據可以顯示我們演算法的效率。
Abstract
The longest common increasing subsequences (LCIS) problem is to find out a common increasing subsequence with the maximal length of two given sequences. In this thesis, we propose an algorithm for solving the LCIS problem in O((n+L(m-L))loglog |Σ|) time, where m and n denote the lengths of A and B, respectively, m≤n, L denotes the LCIS length, andΣdenotes the alphabet set. The main idea of our algorithm is to extend the answer from some previously feasible solutions, in which the domination operation is invoked. To accomplish the extension and domination operations, the data structure of van Emde Boas tree is utilized. From the time complexity, it is obvious that our algorithm is extremely efficient when L is very small or very large. Some experiments are executed to show the efficiency of our algorithm.
目次 Table of Contents
VERIFICATION FORM . . . . . . . . . . . . . . . . . . . . . . . . . . . . i

THESIS AUTHORIZATION FORM . . . . . . . . . . . . . . . . . . . . iii

ACKNOWLEDGMENTS . . . . . . . . . . . . . . . . . . . . . . . . . . . iv

CHINESE ABSTRACT . . . . . . . . . . . . . . . . . . . . . . . . . . . . v

ENGLISH ABSTRACT . . . . . . . . . . . . . . . . . . . . . . . . . . . . vi

LIST OF FIGURES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix

LIST OF TABLES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi

Chapter 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

Chapter 2. Preliminaries . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

2.1 The Diagonal Algorithm for the Longest Common Subsequence Problem 4
2.2 The Longest Increasing Subsequence Problem . . . . . . . . . . . . . 6
2.3 The Longest Common Increasing Subsequence Problem . . . . . . . . 7

Chapter 3. The Algorithm for the Longest Common Increasing
Subsequence Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

3.1 The Diagonal Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.2 Efficient Implementation with van Emde Boas Trees . . . . . . . . . . 16

Chapter 4. Experimental Results . . . . . . . . . . . . . . . . . . . . . . 19

4.1 The Longest Common Increasing Subsequence . . . . . . . . . . . . . 19
4.2 The Longest Common Weakly Increasing Subsequence . . . . . . . . 24

Chapter 5. Conclusions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42

BIBLIOGRAPHY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43

Appendixes

A. The Complete LCIS Results . . . . . . . . . . . . . . . . . . . . . . . 47

B. The Complete LCWIS Results . . . . . . . . . . . . . . . . . . . . . . 55
參考文獻 References
[1] H. Y. Ann, C. B. Yang, C. T. Tseng, and C. Y. Hor, “A fast and simple al-
gorithm for computing the longest common subsequence of run-length encoded
strings,” Information Processing Letters, Vol. 108, pp. 360–364, 2008.

[2] A. Apostolico, “Improving the worst-case performance of the Hunt-Szymanski
strategy for the longest common subsequence of two strings,” Information Pro-
cessing Letters, Vol. 23, pp. 63–69, 1986.

[3] A. Apostolico, “Remark the HSU-DU new algorithm for the longest common
subsequence problem,” Information Processing Letters, Vol. 25, pp. 235–236,
1987.

[4] A. Apostolico, S. Browne, and C. Guerra, “Fast linear-space computations
of longest common subsequences,” Theoretical Computer Science, Vol. 92(1),
pp. 3–17, 1992.

[5] L. Bergroth, H. Hakonen, and T. Raita, “A survey of longest common sub-
sequence algorithms,” In Proc. of the 7th International Symposium on String
Processing and Information Retrieval, Los Alamitos, CA, pp. 39–48, 2000.

[6] S. Bespamyatnikh and M. Segal, “Enumerating longest increasing subsequences
and patience sorting,” Information Processing Letters, Vol. 76, pp. 7–11, 2000.

[7] P. V. E. Boas, “Preserving order in a forest in less than logarithmic time and
linear space,” Information Processing Letters, Vol. 6(3), pp. 80–82, 1977.

[8] G. S. Brodal, K. Kaligosi, I. Katriel, and M. Kutz, “Faster algorithms for
computing longest common increasing subsequences,” In Proc. of the 17th An-
nual Symposium on Combinatorial Pattern Matching (CPM), Barcelona, Spain,
pp. 330–341, 2006.

[9] W. T. Chan, Y. Zhang, S. P. Y. Fung, D. Ye, and H. Zhu, “Efficient algo-
rithms for finding a longest common increasing subsequence,” Lecture Notes in
Computer Science, Vol. 3827, pp. 665–674, 2005.

[10] M. Crochemore, C. S. Iliopoulos, Y. J. Pinzon, and J. F. Reid, “A fast and
practical bit-vector algorithm for the longest common subsequence problem,”
Information Processing Letters, Vol. 80, pp. 279–285, 2001.

[11] M. Crochemore and E. Porat, “Fast computation of a longest increasing sub-
sequence and application,” Information and Computation, Vol. 208, pp. 1054–
1059, 2010.

[12] A. Danek and S. Deorowicz, “Bit-parallel algorithm for the block variant of the
merged longest common subsequence problem,” Advances in Intelligent Systems
and Computing, Vol. 242, pp. 173–181, 2014.

[13] A. L. Delcher, S. Kasif, R. D. Fleischmann, J. Peterson, O. White, and S. L.
Salzberg, “Alignment of whole genomes,” Nucleic Acids Res., Vol. 27, pp. 2369–
2376, 1999.

[14] J. S. Deogun, J. Yang, and F. M. Emagen, “An efficient approach to multiple
whole genome alignment,” In Proc. of the Second Asia-Pacic Bioinformatics
Conference (APBC), Dunedin, New Zealand, pp. 113–122, 2004.

[15] S. Deorowicz, “Bit-parallel algorithm for the constrained longest common sub-
sequence problem,” Fundamenta Informaticae, Vol. 99, pp. 409–433, 2010.

[16] S. Deorowicz and A. Danek, “Bit-parallel algorithms for the merged longest
common subsequence problem,” International Journal of Foundations of Com-
puter Science, Vol. 24, pp. 1281–1298, 2013.

[17] L. Duraj, “A linear algorithm for 3-letter longest common weakly increasing
subsequence,” Information Processing Letters, Vol. 113, pp. 94–99, 2013.

[18] M. L. Fredman, “On computing the length of longest increasing subsequences,”
Discrete Math., Vol. 11, pp. 29–35, 1975.

[19] J. Guo and F. Hwang, “An almost-linear time and linear space algorithm for
the longest common subsequence problem,” Information Processing Letters,
Vol. 94, pp. 131–135, 2005.

[20] D. S. Hirschberg, “A linear space algorithm for computing maximal common
subsequences,” Communications of the ACM, Vol. 18(6), pp. 341–343, 1975.

[21] J. Hunt and T. Szymanski, “A fast algorithm for computing longest common
subsequences,” Communications of the ACM, Vol. 20, pp. 350–353, 1977.

[22] D. E. Knuth, The art of computer programming: sorting and searching.
Addison-Wesley, 2nd ed., 1973.

[23] S. Kumar and C. Rangan, “A linear space algorithm for the LCS problem,”
Acta Informatica, Vol. 24, pp. 353–362, 1987.

[24] S. Kurtz, A. Phillippy, A. Delcher, M. Smoot, M. Shumway, C. Antonescu,
and S. Salzberg, “Versatile and open software for comparing large genomes,”
Genome Biology, Vol. 5(2), 2004.

[25] M. Kutz, G. S. Brodal, K. Kaligosi, and I. Katriel, “Faster algorithms for
computing longest common increasing subsequences,” Journal of Discrete Al-
gorithms, pp. 314–325, 2011.

[26] J. Matousek and E. Welzl, “Good splitters for counting points in triangles,”
Journal of Algorithms, Vol. 13, pp. 307–319, 1992.

[27] N. Nakatsu, Y. Kambayashi, and S. Yajima, “A longest common subsequence
algorithm suitable for similar text strings,” Acta Informatica, Vol. 18, pp. 171–
179, 1982.

[28] Y. H. Peng and C. B. Yang, “Finding the gapped longest common subse-
quence by incremental suffix maximum queries,” Information and Computation,
Vol. 237, pp. 95–100, 2014.

[29] C. Rick, “Simple and fast linear space computation of longest common subse-
quence,” Information Processing Letters, Vol. 75, pp. 275–281, 2000.

[30] Y. Sakai, “A linear space algorithm for computing a longest common increasing
subsequence,” Information Processing Letters, Vol. 99, pp. 203–207, 2006.

[31] C. Schensted, “Longest increasing and decreasing subsequences,” Canad. J.
Math., Vol. 13, pp. 179–191, 1961.

[32] C. T. Tseng, C. B. Yang, and H. Y. Ann, “Efficient algorithms for the longest
common subsequence problem with sequential substring constraints,” Journal
of Complexity, Vol. 29(1), pp. 44–52, 2013.

[33] K. T. Tseng, D. S. Chan, C. B. Yang, and S. F. Lo, “Efficient merged longest
common subsequence algorithms for similar sequences,” Theoretical Computer
Science, Vol. 708, pp. 75–90, 2018.

[34] E. Ukkonen, “Algorithm for approximate string matching,” Information and
Control, Vol. 64, pp. 100–118, 1985.

[35] R. Wagner and M. Fischer, “The string-to-string correction problem,” Journal
of the ACM, Vol. 21(1), pp. 168–173, 1974.

[36] I. H. Yang, C. P. Huang, and K. M. Chao, “A fast algorithm for comput-
ing a longest common increasing subsequence,” Information Processing Letters,
Vol. 93(5), pp. 249–253, 2005.

[37] D. Zhu, L. Wang, T. Wang, and X. Wang, “A simple linear space algorithm for
computing a longest common increasing subsequence,” CoRR, abs/1608.07002,
2016.
電子全文 Fulltext
本電子全文僅授權使用者為學術研究之目的,進行個人非營利性質之檢索、閱讀、列印。請遵守中華民國著作權法之相關規定,切勿任意重製、散佈、改作、轉貼、播送,以免觸法。
論文使用權限 Thesis access permission:自定論文開放時間 user define
開放時間 Available:
校內 Campus: 已公開 available
校外 Off-campus: 已公開 available


紙本論文 Printed copies
紙本論文的公開資訊在102學年度以後相對較為完整。如果需要查詢101學年度以前的紙本論文公開資訊,請聯繫圖資處紙本論文服務櫃台。如有不便之處敬請見諒。
開放時間 available 已公開 available

QR Code