{"title":"The Constrained Longest Common Subsequence: Theory and Experiments","authors":"Daniel Soto, Wilson Soto","doi":"10.1109/CONCAPANXXXIX47272.2019.8977105","DOIUrl":null,"url":null,"abstract":"A common operation on strings is to calculate a value of similarity. The longest common subsequence (LCS) is a measure of similarity between two sequences. An extension of LCS measure is the constrained longest common subsequence (CLCS). The CLCS consists of calculating the LCS of two sequences, and it is a supersequence of a constrained sequence. This paper is an experimental evaluation of the most important CLCS algorithms. The implemented algorithms have a similar performance and were tested with different kinds of random strings belonging to the alphabets: generated uniformly at random (4, 10, 20, 32, 48 and 64 characters) and English text (239 characters). This study could help in selecting optimal algorithms for a given problem.","PeriodicalId":272652,"journal":{"name":"2019 IEEE 39th Central America and Panama Convention (CONCAPAN XXXIX)","volume":"7 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 IEEE 39th Central America and Panama Convention (CONCAPAN XXXIX)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CONCAPANXXXIX47272.2019.8977105","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
Abstract
A common operation on strings is to calculate a value of similarity. The longest common subsequence (LCS) is a measure of similarity between two sequences. An extension of LCS measure is the constrained longest common subsequence (CLCS). The CLCS consists of calculating the LCS of two sequences, and it is a supersequence of a constrained sequence. This paper is an experimental evaluation of the most important CLCS algorithms. The implemented algorithms have a similar performance and were tested with different kinds of random strings belonging to the alphabets: generated uniformly at random (4, 10, 20, 32, 48 and 64 characters) and English text (239 characters). This study could help in selecting optimal algorithms for a given problem.