An Improved Algorithm for the Longest Common Subsequence Problem
碩士 === 國立暨南國際大學 === 資訊工程學系 === 101 === The Longest Common Subsequence (LCS) problem is a well-known problem in the field of computer science. There are many variants and applications related to LCS such as computing the edit distance between two DNA sequences, automatic typing correction and even co...
Main Authors: | , |
---|---|
Other Authors: | |
Format: | Others |
Language: | en_US |
Published: |
2013
|
Online Access: | http://ndltd.ncl.edu.tw/handle/71921485917954092341 |
id |
ndltd-TW-101NCNU0392057 |
---|---|
record_format |
oai_dc |
spelling |
ndltd-TW-101NCNU03920572016-03-21T04:27:18Z http://ndltd.ncl.edu.tw/handle/71921485917954092341 An Improved Algorithm for the Longest Common Subsequence Problem 最長共同子序列問題之改進演算法研究 Jia-Sen Wu 吳嘉森 碩士 國立暨南國際大學 資訊工程學系 101 The Longest Common Subsequence (LCS) problem is a well-known problem in the field of computer science. There are many variants and applications related to LCS such as computing the edit distance between two DNA sequences, automatic typing correction and even computer virus detection. This paper is about how to make a more efficient algorithm to solve the LCS problem. The main idea is that the binary search is replaced by VEB tree with a special technique called Reranking in order to reduce the time complexity of Hunt-Szymanski Algorithm. The time of search operation of VEB tree depends on the range it operates. The smaller range VEB tree operates, the more efficient searching operation would be. If we can reduce the range then we can improve the Hunt-Szymanski Algorithm as well. In short, our algorithm exploits the Reranking technique to reduce VEB tree range meanwhile decrease the memory that VEB tree needs as another advantage. Our algorithm time complexity O(n + r log log s ) where n is the time for sorting two input strings from constant alphabet, r is the number of total matched pairs in the matched list and s is the length of LCS. Guan-Shieng Huang 黃光璿 2013 學位論文 ; thesis 41 en_US |
collection |
NDLTD |
language |
en_US |
format |
Others
|
sources |
NDLTD |
description |
碩士 === 國立暨南國際大學 === 資訊工程學系 === 101 === The Longest Common Subsequence (LCS) problem is a well-known problem in the
field of computer science. There are many variants and applications related to LCS
such as computing the edit distance between two DNA sequences, automatic typing
correction and even computer virus detection.
This paper is about how to make a more efficient algorithm to solve the LCS
problem. The main idea is that the binary search is replaced by VEB tree with a
special technique called Reranking in order to reduce the time complexity of
Hunt-Szymanski Algorithm. The time of search operation of VEB tree depends on the
range it operates. The smaller range VEB tree operates, the more efficient searching
operation would be. If we can reduce the range then we can improve the
Hunt-Szymanski Algorithm as well.
In short, our algorithm exploits the Reranking technique to reduce VEB tree
range meanwhile decrease the memory that VEB tree needs as another advantage. Our
algorithm time complexity O(n + r log log s ) where n is the time for sorting two input
strings from constant alphabet, r is the number of total matched pairs in the matched
list and s is the length of LCS.
|
author2 |
Guan-Shieng Huang |
author_facet |
Guan-Shieng Huang Jia-Sen Wu 吳嘉森 |
author |
Jia-Sen Wu 吳嘉森 |
spellingShingle |
Jia-Sen Wu 吳嘉森 An Improved Algorithm for the Longest Common Subsequence Problem |
author_sort |
Jia-Sen Wu |
title |
An Improved Algorithm for the Longest Common Subsequence Problem |
title_short |
An Improved Algorithm for the Longest Common Subsequence Problem |
title_full |
An Improved Algorithm for the Longest Common Subsequence Problem |
title_fullStr |
An Improved Algorithm for the Longest Common Subsequence Problem |
title_full_unstemmed |
An Improved Algorithm for the Longest Common Subsequence Problem |
title_sort |
improved algorithm for the longest common subsequence problem |
publishDate |
2013 |
url |
http://ndltd.ncl.edu.tw/handle/71921485917954092341 |
work_keys_str_mv |
AT jiasenwu animprovedalgorithmforthelongestcommonsubsequenceproblem AT wújiāsēn animprovedalgorithmforthelongestcommonsubsequenceproblem AT jiasenwu zuìzhǎnggòngtóngzixùlièwèntízhīgǎijìnyǎnsuànfǎyánjiū AT wújiāsēn zuìzhǎnggòngtóngzixùlièwèntízhīgǎijìnyǎnsuànfǎyánjiū AT jiasenwu improvedalgorithmforthelongestcommonsubsequenceproblem AT wújiāsēn improvedalgorithmforthelongestcommonsubsequenceproblem |
_version_ |
1718208938037477376 |