4.3 Article

Computing a longest common almost-increasing subsequence of two sequences

期刊

THEORETICAL COMPUTER SCIENCE
卷 854, 期 -, 页码 44-51

出版社

ELSEVIER
DOI: 10.1016/j.tcs.2020.11.035

关键词

Algorithm; Dynamic programming; Longest common almost-increasing; subsequence

资金

  1. Ministry of Science and Technology of Taiwan [MOST107-2221-E-007066-MY2]

向作者/读者索取更多资源

In this work, a dynamic programming algorithm is proposed to correctly compute the longest common almost-increasing subsequence (LCaIS) between two sequences with repeated elements. The algorithm has a time complexity of O(nml) and a space complexity of O(nm).
Given a positive constant c , a sequence S = (s(1) , s(2) , ... , s(k)) of k numbers is said to be almost increasing if and only if s(i) > max(1 <= j <= i) s(j) - c for all 1 < i <= k. A longest common almost-increasing subsequence (LCaIS) between two input sequences is a longest common subsequence that is also an almost increasing sequence. We found out that the existing algorithm proposed by Moosa et al. [1] to find an LCaIS of two sequences without repeated elements gives an incorrect result for some instances. In this work, we present a dynamic programming algorithm that can correctly compute an LCaIS between any two sequences with repeated elements in O (nml) time and O (nm) space, where n and m are the lengths of two input sequences and l is the length of the output LCaIS. (C) 2020 Elsevier B.V. All rights reserved.

作者

我是这篇论文的作者
点击您的名字以认领此论文并将其添加到您的个人资料中。

评论

主要评分

4.3
评分不足

次要评分

新颖性
-
重要性
-
科学严谨性
-
评价这篇论文

推荐

暂无数据
暂无数据