交换中位数问题与交换最近邻问题的复杂性
The Swap Median and Swap Closest Problems are NP-complete for Three Permutations
AI总结:
该研究证明三个排列的交换中位数问题为NP完全,扩展构造得三个排列的交换最近邻亦为NP完全,且基于图论框架改进了两类问题的近似度量界。
摘要:
基因组重排距离提供了一个组合框架,用于比较以排列形式表示的基因组。尽管两个排列之间的交换距离可在多项式时间内计算,但对多个排列进行优化则更为困难。给定三个输入,交换中位数(Swap Median)可最小化与这三个输入的距离之和,而交换最近邻(Swap Closest)则可最小化最大距离。我们证明,对于三个排列,交换中位数的判定版本是NP完全的,解决了自Eriksen(2007)以来未解决的问题。该归约考虑的实例中,当且仅当达到三角不等式下界时,解才存在。我们用一个图表示成对的循环分解,该图的顶点对应同时破坏循环的交换,边则编码不相容的交换。这类图包含所有2-细分图;该类图上最大独立集的难解性进而意味着NP完全性。我们扩展该构造以证明,对于三个输入,交换最近邻同样是NP完全的,这强化了Popov针对任意数量排列的结果。最后,相同的图论框架产生了近似算法:选择相容的破循环交换,分别相对于中位数下界和输入直径,改进了交换中位数的标准4/3度量界与交换最近邻的标准2度量界。
英文摘要:
The swap distance (or Cayley distance) between two permutations is the minimum number of exchanges of two elements transforming one into the other. Given three permutations, Swap Median asks for a permutation minimizing the sum of the swap distances to the inputs, and Swap Closest asks for one minimizing the maximum distance. Both problems are NP-hard for an unbounded number of inputs, but the case of three inputs, the smallest non-trivial one, has remained open. We prove that both problems are NP-complete for three permutations. Swap Median remains NP-complete even when two of the inputs differ by disjoint swaps. For Swap Closest, it is already NP-complete to decide whether the trivial lower bound is attained. Along the way, we show that finding a permutation lying on shortest paths from one input to each of the other two, as far as possible from that input, is NP-hard and APX-hard. We also characterize when the triangle-inequality lower bound of the median is attained, and we give a quadratic-time algorithm when cycles are short, which yields a dichotomy. Finally, experiments on simulated evolutionary data show that a simple certified heuristic is optimal on all small instances and recovers ancestral permutations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。