Back to Search Start Over

Complexity of Token Swapping and Its Variants.

Authors :
Bonnet, Édouard
Miltzow, Tillmann
Rzążewski, Paweł
Source :
Algorithmica. Sep2018, Vol. 80 Issue 9, p2656-2682. 27p.
Publication Year :
2018

Abstract

In the TOKEN SWAPPING problem we are given a graph with a token placed on each vertex. Each token has exactly one destination vertex, and we try to move all the tokens to their destinations, using the minimum number of swaps, i.e., operations of exchanging the tokens on two adjacent vertices. As the main result of this paper, we show that TOKEN SWAPPING is W[1]<inline-graphic></inline-graphic>-hard parameterized by the length k of a shortest sequence of swaps. In fact, we prove that, for any computable function f, it cannot be solved in time f(k)no(k/logk)<inline-graphic></inline-graphic> where n is the number of vertices of the input graph, unless the ETH fails. This lower bound almost matches the trivial nO(k)<inline-graphic></inline-graphic>-time algorithm. We also consider two generalizations of the TOKEN SWAPPING, namely COLORED TOKEN SWAPPING (where the tokens have colors and tokens of the same color are indistinguishable), and SUBSET TOKEN SWAPPING (where each token has a set of possible destinations). To complement the hardness result, we prove that even the most general variant, SUBSET TOKEN SWAPPING, is FPT in nowhere-dense graph classes. Finally, we consider the complexities of all three problems in very restricted classes of graphs: graphs of bounded treewidth and diameter, stars, cliques, and paths, trying to identify the borderlines between polynomial and NP-hard cases. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
01784617
Volume :
80
Issue :
9
Database :
Academic Search Index
Journal :
Algorithmica
Publication Type :
Academic Journal
Accession number :
129738682
Full Text :
https://doi.org/10.1007/s00453-017-0387-0