arXiv:2610.31261cs.DSOct 2026

Manuscript Offprint

arXiv:2610.31261

A Polynomial-Time Algorithm for kk-Path Vertex Cover Reconfiguration on Trees under Token Sliding

Duc A. Hoang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Abstract

A k-path vertex cover (k-PVC) of a graph is a set of vertices meeting every path on k vertices. In Token Sliding, one token occupies each vertex of a cover; a move slides one token along an edge to an unoccupied vertex, preserving the cover property. We study whether two covers of a tree are joined by such moves. The case k=2k = 2 admits a linear-time decision algorithm. For every integer k≥2k \geq 2, we give an O(kn2)O(kn^2)-time decision algorithm on trees of order nn, with kk part of the input. Two covers are reachable precisely when their rigid tokens, which never move, occupy the same set and every component remaining after their deletion has the same token count. The proof transforms configurations of equal size without rigid tokens into a canonical configuration built on properly rooted subtrees, whose paths on kk vertices pass through their roots. A rooted-subtree recurrence identifies movable candidate tokens. We also give a direct recursive construction between the supplied endpoints, returning at most 8n23[n/2]8n^2 3^{[n/2]} slides in O(n103n/2)O(n^{10}3^{n/2}) time.

ChatGPT 6 Pro and Claude Fable 5.1 were used to assist with developing and reviewing mathematical arguments and drafting and revising the paper. The author takes full responsibility for the correctness and content of the paper.

Keywords: combinatorial reconfiguration, token sliding, k-path vertex cover, tree, polynomial-time algorithm.

1 Introduction

Recently, combinatorial reconfiguration has attracted attention from both theoretical and practical viewpoints. A reconfiguration problem asks whether one feasible solution of a source problem can be transformed into another by a sequence of small changes, each of which keeps the solution feasible. For an overview of this research area, we refer readers to the surveys of Nishimura [4] and van den Heuvel [6].

For an integer k≥2k \geq 2, a k-path vertex cover (k-PVC)(k\text{-}PVC) of a graph GG is a set S⊆V(G)S \subseteq V(G) such that every path on kk vertices of GG contains a vertex of SS. Brešar, Kardoš, Katrenič and Semanišin [9] introduced the minimum k-PVC problem, proved that it is NP-hard for every fixed k≥2k \geq 2, and gave a linear-time algorithm on trees. A 2-PVC is a vertex cover. The complement of a 3-PVC is a dissociation set, that is, a set of vertices inducing a subgraph of maximum degree at most one [3, 9].

Hoang, Suzuki and Yagita [2] initiated the study of reconfiguring k-PVCs. In the Token Sliding model, a token is placed on each vertex of a k-PVC. A move slides one token along an edge to an unoccupied vertex so that the occupied vertices still form a k-PVC. A sequence of such moves is a TS-sequence. The problem k-Path Vertex Cover Reconfiguration (k-PVCR) under Token Sliding asks, given a graph G and two k-PVCs S and S′S' of G of the same size, whether there is a TS-sequence from S to S′S'.

For k = 2, taking complements identifies the problem with Token Sliding for independent sets: sliding a vertex-cover token from u to v moves an independent-set token from v to u [2]. Token Sliding for independent sets is PSPACE-complete on general graphs [10, 11], and its complexity on restricted graph classes has been studied extensively. We refer readers to Kamiński, Medvedev and Milanič [8] and to Nishimura [4] for examples. On trees, Demaine et al. [5] gave a linear-time decision algorithm. Their characterization uses the tokens that never move and compares token counts after deleting the vertices with those tokens together with their neighbors.

For general k, Hoang, Suzuki and Yagita [2] proved that k-PVCR is PSPACE-complete under each of Token Sliding, Token Jumping and Token Addition/Removal even on planar graphs of maximum degree three and bounded bandwidth. They gave polynomial-time algorithms under all three models.

for paths and cycles, and under Token Jumping and Token Addition/Removal for trees. For each fixed k≥2k \geq 2, Hoang, Suzuki and Yagita [2] also construct shortest TS-sequences on paths in O(n2)O(n^2) time and TS-sequences on cycles in O(n2)O(n^2) time whenever the target is reachable, where nn is the order of the input graph. They left open the complexity under Token Sliding on trees. For caterpillars and k≥4k \geq 4, Hoang [1] gave a polynomial-time algorithm based on the vertices with rigid tokens, which never move, and the token counts after deleting those vertices. For each fixed k≥4k \geq 4, Hoang [1] also constructs a TS-sequence in O(n4)O(n^4) time between equal-size kk-PVCs of an nn-vertex caterpillar when neither has a rigid token. For k=3k = 3, the same paper points out that verifying one condition of its characterization of rigid tokens in polynomial time may require further ideas [1]. As far as we know, the complexity on trees has remained open for every k≥3k \geq 3.