研究生: |
吳政忠 Wu, Jheng-Jhong |
---|---|
論文名稱: |
The implementation of a visualizing tool for tree edit distance problems 樹編輯距離視覺化工具之實作 |
指導教授: |
石維寬
Shih, Wei-Kuan |
口試委員: | |
學位類別: |
碩士 Master |
系所名稱: |
電機資訊學院 - 資訊系統與應用研究所 Institute of Information Systems and Applications |
論文出版年: | 2009 |
畢業學年度: | 97 |
語文別: | 中文 |
論文頁數: | 45 |
中文關鍵詞: | 樹 、編輯距離 、比對 、視覺化 、Shasha 、Klein |
外文關鍵詞: | tree, edit distance, matching, visualizing, Shasha, Klein |
相關次數: | 點閱:1 下載:0 |
分享至: |
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
由於資訊科技與生物科技相關研究的進步,樹編輯距離的重要性也愈趨明顯。像是XML文件比對、RNA二級結構的研究、編譯器的最佳化、影像分析、自然語言處理等許多領域,只要是能夠轉換成樹對樹比對的問題皆可使用樹編輯距離的方法做分析比較。計算樹編輯距離的演算法非常多,例如像1979年Kuo-Chung Tai[6]正式提出樹編輯距離的問題,當時將樹編輯距離稱做Tree-to-Tree Correction Problem。後來Kaizhong Zhang and Dennis Shasha[5]在1989年提供一個比較好的演算法,且此演算法成為經典之一。Philip N. Klein[8]也在1998年提出的演算法改善了Zhang與Shasha演算法[5]的最糟情況下的時間複雜度。
然而卻找不到針對樹編輯距離提供視覺化過程的軟體工具,因此有必要提供一個工具解決這個問題。本論文介紹一套軟體工具,此工具可以讓使用者使用某些方式建立樹並執行樹編輯距離的演算法。建立樹的方法有兩種,第一種方法是填入一些適當的參數隨機產生相對應的樹;第二種方法是假設使用者想建立某一特定結構的樹,只需要在工具上填入某相對應的序列即可產生該樹狀結構。利用此兩種方法建立好所想要的樹狀結構之後,在節點上使用滑鼠連點兩下會出現設定節點標籤的視窗。一切設定好以後,最後將根據其演算法執行的結果將其過程以視覺化的方式呈現。
本篇論文介紹的工具使得未來樹編輯距離相關領域的研究變得更方便,藉由將結果視覺化的功能,減去以往人工比對的困難及時間,相信對於未來的研究會有相當程度的幫助。
Study of tree edit distance problems is more and more important because of the advancement of the related study of information technology and biology. There are a lot of algorithms for tree edit distance problems. For example in 1979, first to give a formal definition to tree edit distance is Kuo-Chung Tai[6]. Then Kaizhong Zhang and Dennis Shasha[5] provide a better algorithm in 1989, and their paper becomes one of the classic papers in the field of tree edit distance problems. Philip N. Klein[8] also provides another algorithm to solve tree edit distance problems in 1998, and it improves worst case of time complexity of the algorithm[5] Zhang and Shasha provide.
However, there is no related tool to visualize the result of tree edit distance problems, so it is necessary to provide a tool to visualize it. This thesis introduces a software tool. This tool can let user create trees by some methods and then do the algorithm of tree edit distance problems, and finally it provides a visualizing processes according to the result of some specific algorithm.
[1]Bruce A. Shapiro, Kaizhong Zhang Comparing multiple RNA secondary structures.CABIOS.1990,Vol. 6,4,pp.309-318.
[2]Dov Harel, Robert Endre Tarjan Fast algorithms for finding nearest common ancestors.SIAM Journal on Computing.5 1984,Vol. 13,2,pp.338-355.
[3]Erik D. Demaine et al. An optimal decomposition algorithm for tree edit distance.ACM Transactions on Algorithms.2008.
[4]Kaizhong Zhang Algorithms for the constrained editing distance between ordered labeled trees and related problems.Pattern Recognition.3 1995,Vol. 28,3,pp.463-474.
[5]Kaizhong Zhang, Dennis Shasha Simple fast algorithms for the editing distance between trees and related problems.SIAM Journal of Computing.1989,Vol. 18,6,pp.1245-1262.
[6]Kuo-Chung Tai The tree-to-tree correction problem.Journal of the ACM (JACM).7 1979,Vol. 26,3,pp.422-433.
[7]Larry Barowski Drawing Graphs with VGJ.[Online]1998.[Cited: 8 6 2009.]http://www.eng.auburn.edu/department/cse/research/graph_drawing/graph_drawing.html.—.Visualizing Graphs with Java (VGJ).[Online]1998.[Cited: 8 6 2009.]
http://www.eng.auburn.edu/csse/research/research_groups/graph_drawing/manual/vgj_manual.html.
[8]Philip N. Klein Computing the edit-distance between unrooted ordered trees.6th annual European Symposium on Algorithms (ESA).1998,pp.91-102.
[9]Philip Bille A survey on tree edit distance and related problems.Theoretical Computer Science.2005,Vols. 1-3,337,pp.217-239.
[10]Sebastian Maneth, Nikolay Mihaylov, Sherif Sakr XML tree structure compression.2008,pp.243-247.
[11]Serge Dulucq, Helene Touzet Analysis of tree edit distance algorithms.Combinatorial Pattern Matching, 14th Annual Symposium, CPM 2003.2003,Vol. 2676,pp.83-95.
[12]Tatsuya Akutsu A relation between edit distance for ordered trees and edit distance for Euler strings.Information Processing Letters.15 11 2006,Vol. 100,3,pp.105-109.
[13]Wikipedia Wikipedia.[Online]6 6 2009.[Cited: 8 6 2009.]http://en.wikipedia.org/wiki/Tree_traversal.—.Wikipedia.[Online]17 6 2009.[Cited: 23 6 2009.]
http://en.wikipedia.org/wiki/Depth_first_search.
[14]許伯鈞 一個新的樹編輯距離之演算法.s.l.,交通大學,2007.