arXiv ScienceSearch

arXiv · 2409.09734

Complexity of the Swap Median and Swap Closest Problems

Abstract

Genome rearrangement distances provide a combinatorial framework for comparing genomes represented as permutations. Although the swap distance between two permutations is polynomial-time computable, optimization over multiple permutations is harder. Given three inputs, Swap Median minimizes the sum of distances to them, while Swap Closest minimizes the maximum distance. We prove that the decision version of Swap Median is NP-complete for three permutations, resolving a question open since Eriksen (2007). The reduction considers instances in which a solution exists exactly when the triangle-inequality lower bound is attained. We represent pairs of cycle decompositions by a graph whose vertices correspond to swaps that simultaneously break cycles and whose edges encode incompatible swaps. This graph class contains all 2-subdivision graphs; the hardness of Maximum Independent Set on this class then implies NP-completeness. We extend the construction to show that Swap Closest is also NP-complete for three inputs, strengthening Popov's result for an arbitrary number of permutations. Finally, the same graph-theoretic framework yields approximation procedures: selecting compatible cycle-breaking swaps improves the standard 4/3 metric bound for Swap Median and the standard 2 metric bound for Swap Closest by explicit terms relative to the median lower bound and input diameter, respectively.

Explore related subjects

Keep this discovery

BibTeXRIS

Luís Cunha, Thiago Lopes, Arnaud Mary. 2024-09-15. Complexity of the Swap Median and Swap Closest Problems. https://arxiv.org/abs/2409.09734

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

The Computational Complexity of Holant Problems on 4-regular Graphs from the Stable Subgroup Sequence of $SL(2,\mathbb{C})$

The Holant framework provides a general setting for studying counting problems and includes graph homomorphisms (\#GH) and counting constraint satisfaction problems (\#CSP) as special cases. Over the past twenty years, a series of computational complexity dichotomies have been established for Holant problems, but the classification for complex-valued signatures is still open. The main obstacle is the case in which all signatures have even arity. In this paper, we establish a dichotomy for Holant problems with a complex-valued 4-ary signature, which is a key base case for the full classification of Holant problems. We present a new strategy by introducing Schur's theorem, the classification of finite subgroups of $\mathrm{SL}(2,\mathbb{C})$ and stable subgroup sequences into the proof. These new techniques are of independent interest.

cs.CC

Topology inside NC$^1$

We show that ACC$^0$ is precisely what can be computed with constant-width circuits of polynomial size and polylogarithmic genus. This extends a characterization given by Hansen, showing that planar constant-width circuits also characterize ACC$^0$. Thus polylogarithmic genus provides no additional computational power in this model. We consider other generalizations of planarity, including crossing number and thickness. We show that constant-width circuits of polynomial size and thickness two already suffice to capture all of NC$^1$.

cs.CC