TAILIEUCHUNG - Automata technique for the LCS problem

In this paper, we introduce two efficient algorithms in practice for computing the length of a longest common subsequence of two strings, using automata technique, in sequential and parallel ways. For two input strings of lengths m and n with m ≤ n, the parallel algorithm uses k processors (k ≤ m) and costs time complexity O(n) in the worst case, where k is an upper estimate of the length of a longest common subsequence of the two strings. | Journal of Computer Science and Cybernetics, , (2019), 21–37 DOI AUTOMATA TECHNIQUE FOR THE LCS PROBLEM NGUYEN HUY TRUONG School of Applied Mathematics and Informatics, Hanoi University of Science and Technology, Vietnam; Abstract. In this paper, we introduce two efficient algorithms in practice for computing the length of a longest common subsequence of two strings, using automata technique, in sequential and parallel ways. For two input strings of lengths m and n with m ≤ n, the parallel algorithm uses k processors (k ≤ m) and costs time complexity O(n) in the worst case, where k is an upper estimate of the length of a longest common subsequence of the two strings. These results are based on the Knapsack Shaking approach proposed by P. T. Huy et al. in 2002. Experimental results show that for the alphabet of size 256, our sequential and parallel algorithms are about and times faster than the classical dynamic programming algorithm proposed by Wagner and Fisher in 1974, respectively. Keywords. Automata; Dynamic programing; Knapsack shaking approach; Longest common subsequence; Parallel LCS. 1. INTRODUCTION The longest common subsequence (LCS) problem is a well-known problem in computer science [2, 3, 7, 8] and has many applications [1, 8, 14], especially in approximate pattern matching [8, 10, 12]. In 1972, authors V. Chvatal, D. A. Klarner and D. Knuth listed the problem of finding the longest common subsequence of the two strings in 37 selected combinatorial research problems [3]. The LCS problem for k strings (k > 2) is the NP-hard problem [7, 9, 11]. For the approximate pattern matching problem, the length of a longest common subsequence of two strings is used to compute the similarity between the two strings [10, 12]. Our work is concerned with the problem of finding the length of a longest subsequence of two strings of lengths m and n. In addition, our main objective is .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.