English

Pathfinding in Self-Deleting Graphs

Data Structures and Algorithms 2025-09-18 v2

Abstract

In this paper, we study the problem of pathfinding on traversal-dependent graphs, i.e., graphs whose edges change depending on the previously visited vertices. In particular, we study \emph{self-deleting graphs}, introduced by Carmesin et al. (Sarah Carmesin, David Woller, David Parker, Miroslav Kulich, and Masoumeh Mansouri. The Hamiltonian cycle and travelling salesperson problems with traversal-dependent edge deletion. J. Comput. Sci.), which consist of a graph G=(V,E)G=(V, E) and a function f ⁣:V2Ef\colon V\rightarrow 2^E, where f(v)f(v) is the set of edges that will be deleted after visiting the vertex vv. In the \textsc{(Shortest) Self-Deleting ss-tt-path} problem we are given a self-deleting graph and its vertices ss and tt, and we are asked to find a (shortest) path from ss to tt, such that it does not traverse an edge in f(v)f(v) after visiting vv for any vertex vv. We prove that \textsc{Self-Deleting ss-tt-path} is NP-hard even if the given graph is outerplanar, bipartite, has maximum degree 33, bandwidth 22 and f(v)1|f(v)|\leq 1 for each vertex vv. We show that \textsc{Shortest Self-Deleting ss-tt-path} is W[1]-complete parameterized by the length of the sought path and that \textsc{Self-Deleting ss-tt-path} is \W{1}-complete parameterized by the vertex cover number, feedback vertex set number and treedepth. We also show that the problem becomes FPT when we parameterize by the maximum size of f(v)f(v) and several structural parameters. Lastly, we show that the problem does not admit a polynomial kernel even for parameterization by the vertex cover number and the maximum size of f(v)f(v) combined already on 2-outerplanar graphs.

Keywords

Cite

@article{arxiv.2507.12047,
  title  = {Pathfinding in Self-Deleting Graphs},
  author = {Michal Dvořák and Dušan Knop and Michal Opler and Jan Pokorný and Ondřej Suchý and Krisztina Szilágyi},
  journal= {arXiv preprint arXiv:2507.12047},
  year   = {2025}
}

Comments

Full version of paper accepted to ISAAC

R2 v1 2026-07-01T04:03:51.198Z