The purpose of this study is to develop an efficient algorithm to solve a variation of the NP-hard Shortest Common Superstring (SCS) problem. In this version of the problem, one string is allowed to have up to K mistakes, meaning it does not match the SCS in at most K places. Also, there is a slight constraint on the problem in that no string can be a substring of another. The algorithm proposed is exact, not an approximation, meaning it finds the best answer in all cases.
翻译:本研究旨在开发一种高效算法,用于求解NP难问题——最短公共超串(SCS)问题的一个变体。在该问题版本中,允许某个字符串存在最多K处错误,即其与最短公共超串最多有K个位置不匹配。此外,问题还存在一个微小约束:任意字符串均不能是另一字符串的子串。所提出的算法是精确算法而非近似算法,这意味着它能在所有情况下找到最优解。