具有广义间隔约束的子序列:上下复杂度界限
Subsequences With Generalised Gap Constraints: Upper and Lower Complexity Bounds
AI总结:
本文研究广义间隔约束下的子序列匹配问题,证明其 NP-hard 性并给出参数化复杂度分析,同时识别出若干可高效求解的子类。
摘要:
对于字母表 A 上的两个字符串 u 和 v,我们研究在存在广义间隔约束的情况下将 u 作为子序列嵌入 w 的问题。广义间隔约束是一个三元组 (i, j, C_{i, j}),其中 1 <= i < j <= |u|,且 C_{i, j} 是 A^* 的子集。将 u 作为子序列嵌入 v 并满足 (i, j, C_{i, j}) 意味着:如果 u[i] 和 u[j] 分别映射到 v[k] 和 v[l],那么所诱导的间隔 v[k + 1..l - 1] 必须是来自 C_{i, j} 的字符串。这推广了近期在 [Day et al., ISAAC 2022] 中研究的情形(其中仅考虑 C_{i, i + 1} 形式的间隔约束),以及 [Kosche et al., RP 2022] 中的情形(其中仅考虑 C_{1, |u|} 形式的间隔约束)。我们证明广义间隔约束下的子序列匹配是 NP-hard 的,并用彻底的(参数化)复杂度分析来补充这一一般下界。此外,我们识别出若干可高效求解的子类,这些子类源于对广义间隔约束所诱导的区间结构进行限制。
英文摘要:
For two strings u, v over some alphabet A, we investigate the problem of embedding u into w as a subsequence under the presence of generalised gap constraints. A generalised gap constraint is a triple (i, j, C_{i, j}), where 1 <= i < j <= |u| and C_{i, j} is a subset of A^*. Embedding u as a subsequence into v such that (i, j, C_{i, j}) is satisfied means that if u[i] and u[j] are mapped to v[k] and v[l], respectively, then the induced gap v[k + 1..l - 1] must be a string from C_{i, j}. This generalises the setting recently investigated in [Day et al., ISAAC 2022], where only gap constraints of the form C_{i, i + 1} are considered, as well as the setting from [Kosche et al., RP 2022], where only gap constraints of the form C_{1, |u|} are considered. We show that subsequence matching under generalised gap constraints is NP-hard, and we complement this general lower bound with a thorough (parameterised) complexity analysis. Moreover, we identify several efficiently solvable subclasses that result from restricting the interval structure induced by the generalised gap constraints.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。