Duncan Adamson, Maria Kosche, Tore Koss, F. Manea, Stefan Siemer
{"title":"Longest Common Subsequence with Gap Constraints","authors":"Duncan Adamson, Maria Kosche, Tore Koss, F. Manea, Stefan Siemer","doi":"10.48550/arXiv.2304.05270","DOIUrl":null,"url":null,"abstract":"We consider the longest common subsequence problem in the context of subsequences with gap constraints. In particular, following Day et al. 2022, we consider the setting when the distance (i. e., the gap) between two consecutive symbols of the subsequence has to be between a lower and an upper bound (which may depend on the position of those symbols in the subsequence or on the symbols bordering the gap) as well as the case where the entire subsequence is found in a bounded range (defined by a single upper bound), considered by Kosche et al. 2022. In all these cases, we present effcient algorithms for determining the length of the longest common constrained subsequence between two given strings.","PeriodicalId":31852,"journal":{"name":"Beyond Words","volume":"70 1","pages":"60-76"},"PeriodicalIF":0.0000,"publicationDate":"2023-04-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Beyond Words","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.48550/arXiv.2304.05270","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2
Abstract
We consider the longest common subsequence problem in the context of subsequences with gap constraints. In particular, following Day et al. 2022, we consider the setting when the distance (i. e., the gap) between two consecutive symbols of the subsequence has to be between a lower and an upper bound (which may depend on the position of those symbols in the subsequence or on the symbols bordering the gap) as well as the case where the entire subsequence is found in a bounded range (defined by a single upper bound), considered by Kosche et al. 2022. In all these cases, we present effcient algorithms for determining the length of the longest common constrained subsequence between two given strings.
我们考虑了带间隙约束的子序列中的最长公共子序列问题。特别是,第二天等。2022年,我们认为距离时的设置(即差距)连续两个符号之间的子序列必须是低和上界(可能取决于子序列中的位置的符号或符号接壤)的差距以及整个子序列的情况是发现在有限范围内(定义为一个上限),认为Kosche et al . 2022。在所有这些情况下,我们提出了有效的算法来确定两个给定字符串之间最长公共约束子序列的长度。