arXiv:2610.22010cs.DSOct 2026

Manuscript Offprint

arXiv:2610.22010

Parameterized Complexity of Isometric Path Cover: Treewidth and Diameter

Dibyayan Chakraborty, Oscar Defrain, Florent Foucaud, Mathieu Mari, Prafullkumar Tale

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We study the fixed-parameter tractability of the ISOMETRIC PATH COVER problem where, given an integer k and a simple, undirected, and unweighted graph G, the objective is to decide whether G admits a set of k isometric paths (i.e., shortest paths between their endpoints) whose union is the entire vertex set of G.

We show that ISOMETRIC PATH COVER is NP-hard on graphs of pathwidth (and thus treewidth) at most 287. This is an interesting contrast with the closely related problems ISOMETRIC PATH PARTITION and PATH COVER, which are both known to be XP for treewidth, see [Chakraborty et al., WG 2026] and [Foucaud et al., TCS 2026].

On the positive side, we show, by a suitable dynamic programming scheme, that ISOMETRIC PATH COVER admits an XP algorithm w.r.t. the parameter combination of treewidth and diameter, running in time ndiamO(tw)n^{\text{diam}^{O(\text{tw})}} where diam, tw, and n denote the diameter, the treewidth, and the number of vertices of the input graph, respectively.

However, we also prove that ISOMETRIC PATH COVER becomes W[1]-hard for pathwidth on graphs of diameter 7, showing that an XP algorithm is the best one can hope for w.r.t. this parameterization, under standard complexity theory assumptions.

Keywords: ISOMETRIC PATH COVER, parameterized complexity, parameterized reductions, treewidth, diameter.

Contents

1 Introduction 3
1.1 Our results 3
1.2 Related works. 5
1.3 Organisation of this paper 6

2 Preliminaries 6

3 ISOMETRIC PATH COVER Hardness with Respect to Pathwidth 7
3.1 The source problem: constrained perfect matching 7
3.2 Construction of the graph 7
3.3 Pathwidth and size of the construction 10
3.4 Constructing a cover from a constrained perfect matching 11
3.5 Recovering a constrained perfect matching from a cover 12

4 Algorithm Parameterized by Treewidth plus Diameter 15
4.1 Objects of the dynamic programming 15
4.2 Computation of the values 18
4.2.1 Leaf Node 18
4.2.2 Introduce Vertex Node 19
4.2.3 Forget Vertex Node 23
4.2.4 Join Node 25
4.3 Correctness and complexity of the algorithm 29

5 ISOMETRIC PATH COVER W[1]-Hardness with Respect to Pathwidth on Graphs of Diameter 7 31
5.1 Overview of the reduction 31
5.2 The anti-split gadget 31
5.3 Construction of the graph 32
5.4 Forward direction 36
5.5 Backward direction 36

6 Conclusion 39

References (33)