English

Distance Recoloring

Data Structures and Algorithms 2026-05-19 v5 Discrete Mathematics

Abstract

Reconfiguration problems ask whether one feasible solution can be transformed into another by a sequence of local moves while maintaining feasibility throughout. For integers d1d \geq 1 and kd+1k \geq d+1, the Distance Coloring problem asks if a given graph GG has a (d,k)(d, k)-coloring, i.e., a coloring of the vertices of GG by kk colors such that any two vertices within distance dd from each other have different colors. For ordinary proper colorings (d=1d=1), the kk-Coloring Reconfiguration problem is polynomial-time solvable for k3k\le 3 [Cereceda, van den Heuvel, and Johnson, J. Graph Theory 67(1):69--82, 2011] but is PSPACE\mathsf{PSPACE}-complete for every fixed k4k\ge 4, even on bipartite graphs [Bonsma and Cereceda, Theor. Comput. Sci. 410(50):5215--5226, 2009]. In this work, we initiate a study of the distance-dd analogue, for d2d \geq 2. We show that even for planar, bipartite, and 22-degenerate graphs, (d,k)(d, k)-Coloring Reconfiguration remains PSPACE\mathsf{PSPACE}-complete for every d3d \geq 3 via a reduction from the well-known Sliding Tokens problem. Our construction uses k=k0+2+n(d/21)k = k_0 + 2 + n(\lceil d/2\rceil-1) colors on instances of size nn, where k0{3d+3,3d+6}k_0\in\{3d+3,3d+6\} (depending on the parity of dd). For d=2d = 2, the same reduction scheme can be adapted to show that the problem is PSPACE\mathsf{PSPACE}-complete on planar and 22-degenerate graphs with same values of kk. Additionally, on split graphs, there is an interesting dichotomy: the problem is PSPACE\mathsf{PSPACE}-complete when d=2d = 2 and kk is large but can be solved efficiently when d3d \geq 3 and kd+1k \geq d+1. For chordal graphs, we show that the problem is PSPACE\mathsf{PSPACE}-complete for even values of d2d \geq 2. Finally, we design a quadratic-time algorithm to solve the problem on paths for any d2d \geq 2 and kd+1k \geq d+1.

Keywords

Cite

@article{arxiv.2402.12705,
  title  = {Distance Recoloring},
  author = {Niranka Banerjee and Christian Engels and Duc A. Hoang},
  journal= {arXiv preprint arXiv:2402.12705},
  year   = {2026}
}

Comments

27 pages, 8 figures, accepted to COCOON 2026

R2 v1 2026-06-28T14:54:02.677Z