English
Related papers

Related papers: Token Swapping on Trees

200 papers

Given a graph where every vertex has exactly one labeled token, how can we most quickly execute a given permutation on the tokens? In (sequential) token swapping, the goal is to use the shortest possible sequence of swaps, each of which…

We study the weighted token swapping problem, in which we are given a graph on $n$ vertices, $n$ weighted tokens, an initial assignment of one token to each vertex, and a final assignment of one token to each vertex. The goal is to find a…

Data Structures and Algorithms · Computer Science 2025-08-01 Nicole Wein , Guanyu Tony Zhang

The problems of Permutation Routing via Matching and Token Swapping are reconfiguration problems on graphs. This paper is concerned with the complexity of those problems and a colored variant. For a given graph where each vertex has a…

Computational Complexity · Computer Science 2017-09-13 Jun Kawahara , Toshiki Saitoh , Ryo Yoshinaka

We investigate the computational complexity of the following problem. We are given a graph in which each vertex has an initial and a target color. Each pair of adjacent vertices can swap their current colors. Our goal is to perform the…

Data Structures and Algorithms · Computer Science 2018-03-20 Katsuhisa Yamanaka , Takashi Horiyama , J. Mark Keil , David Kirkpatrick , Yota Otachi , Toshiki Saitoh , Ryuhei Uehara , Yushi Uno

Given a graph $G=(V,E)$ with $V=\{1,\ldots,n\}$, we place on every vertex a token $T_1,\ldots,T_n$. A swap is an exchange of tokens on adjacent vertices. We consider the algorithmic question of finding a shortest sequence of swaps such that…

Computational Complexity · Computer Science 2017-07-28 Tillmann Miltzow , Lothar Narins , Yoshio Okamoto , Günter Rote , Antonis Thomas , Takeaki Uno

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.,…

Computational Complexity · Computer Science 2018-01-08 Édouard Bonnet , Tillmann Miltzow , Paweł Rzążewski

We study the token swapping problem, in which we are given a graph with an initial assignment of one distinct token to each vertex, and a final desired assignment (again with one token per vertex). The goal is to find the minimum length…

Data Structures and Algorithms · Computer Science 2024-10-28 Sam Hiken , Nicole Wein

We study the following variant of the 15 puzzle. Given a graph and two token placements on the vertices, we want to find a walk of the minimum length (if any exists) such that the sequence of token swappings along the walk obtains one of…

Data Structures and Algorithms · Computer Science 2025-07-30 Hironori Kiya , Yuto Okada , Hirotaka Ono , Yota Otachi

We study a new reconfiguration problem inspired by classic mechanical puzzles: a colored token is placed on each vertex of a given graph; we are also given a set of distinguished cycles on the graph. We are tasked with rearranging the…

Computational Complexity · Computer Science 2020-09-24 Kwon Kham Sai , Ryuhei Uehara , Giovanni Viglietta

In this paper we study a combinatorial reconfiguration problem that involves finding an optimal sequence of swaps to move an initial configuration of tokens that are placed on the vertices of a graph to a final desired one. This problem…

Data Structures and Algorithms · Computer Science 2026-03-13 Ishan Bansal , Oktay Günlük , Richard Shapley

Reconfiguration problems involve determining whether two given configurations can be transformed into each other under specific rules. The Token Sliding problem asks whether, given two different set of tokens on vertices of a graph $G$, we…

Data Structures and Algorithms · Computer Science 2026-03-26 Niranka Banerjee , Christian Engels , Duc A. Hoang

Cartesian tree pattern matching consists of finding all the factors of a text that have the same Cartesian tree than a given pattern. There already exist theoretical and practical solutions for the exact case. In this paper, we propose the…

Data Structures and Algorithms · Computer Science 2024-10-21 Bastien Auvray , Julien David , Richard Groult , Thierry Lecroq

Suppose that we are given two independent sets $I_b$ and $I_r$ of a graph such that $|I_b|=|I_r|$, and imagine that a token is placed on each vertex in $I_b$. Then, the sliding token problem is to determine whether there exists a sequence…

Consider the following puzzle: a farmland consists of several fields, each occupied by either a farmer, a fox, a chicken, or a caterpillar. Creatures in neighboring fields can swap positions as long as the fox avoids the farmer, the chicken…

Computational Complexity · Computer Science 2026-01-15 Davide Bilò , Stefano Leucci , Andrea Martinelli

Consider a problem where we are given a bipartite graph H with vertices arranged on two horizontal lines in the plane, such that the two sets of vertices placed on the two lines form a bipartition of H. We additionally require that H admits…

Computational Complexity · Computer Science 2017-12-27 Grzegorz Guśpiel

In this paper, we present novel algorithms that efficiently compute a shortest reconfiguration sequence between two given dominating sets in trees and interval graphs under the Token Sliding model. In this problem, a graph is provided along…

Data Structures and Algorithms · Computer Science 2023-07-21 Jan Matyáš Křišťan , Jakub Svoboda

Suppose that two independent sets $I$ and $J$ of a graph with $\vert I \vert = \vert J \vert$ are given, and a token is placed on each vertex in $I$. The Sliding Token problem is to determine whether there exists a sequence of independent…

Data Structures and Algorithms · Computer Science 2019-05-22 Duc A. Hoang , Amanj Khorramian , Ryuhei Uehara

We investigate the tractability of a simple fusion of two fundamental structures on graphs, a spanning tree and a perfect matching. Specifically, we consider the following problem: given an edge-weighted graph, find a minimum-weight…

Data Structures and Algorithms · Computer Science 2024-07-12 Kristóf Bérczi , Tamás Király , Yusuke Kobayashi , Yutaro Yamaguchi , Yu Yokoi

In reconfiguration, we are given two solutions to a graph problem, such as Vertex Cover or Dominating Set, with each solu tion represented by a placement of tokens on vertices of the graph. Our task is to reconfigure one into the other…

Combinatorics · Mathematics 2024-11-22 Jan Matyáš Křišťan , Jakub Svoboda

Given two independent sets $I, J$ of a graph $G$, and imagine that a token (coin) is placed at each vertex of $I$. The Sliding Token problem asks if one could transform $I$ to $J$ via a sequence of elementary steps, where each step requires…

Discrete Mathematics · Computer Science 2018-03-20 Duc A. Hoang , Ryuhei Uehara
‹ Prev 1 2 3 10 Next ›