English

On the Complexity of Secluded Path Problems

Data Structures and Algorithms 2026-04-07 v2

Abstract

This paper investigates the complexity of finding secluded paths in graphs. We focus on the \textsc{Short Secluded Path} problem and a natural new variant we introduce, \textsc{Shortest Secluded Path}. Formally, given an undirected graph G=(V,E)G=(V, E), two vertices s,tVs,t\in V, and two integers k,lk,l, the \textsc{Short Secluded Path} problem asks whether there exists an ss-tt path of length at most kk with at most ll neighbors. This problem is known to be computationally hard: it is W[1]-hard when parameterized by the path length kk or by cliquewidth, and para-NP-complete when parameterized by the number ll of neighbors. The fixed-parameter tractability is known for k+lk+l or treewidth. In this paper, we expand the parameterized complexity landscape by designing (1) an XP algorithm parameterized by cliquewidth and (2) fixed-parameter algorithms parameterized by neighborhood diversity and twin cover number, respectively. As a byproduct, our results also yield parameterized algorithms for the classic \textsc{ss-tt kk-Path} problem under the considered parameters. Furthermore, we introduce the \textsc{Shortest Secluded Path} problem, which seeks a shortest ss-tt path with the minimum number of neighbors. In contrast to the hardness of the original problem, we reveal that this variant is solvable in polynomial time on unweighted graphs. We complete this by showing that for edge-weighted graphs, the problem becomes W[1]-hard yet remains in XP when parameterized by the shortest path distance between ss and tt.

Keywords

Cite

@article{arxiv.2603.22818,
  title  = {On the Complexity of Secluded Path Problems},
  author = {Tesshu Hanaka and Daisuke Tsuru},
  journal= {arXiv preprint arXiv:2603.22818},
  year   = {2026}
}

Comments

A preliminary version of this paper appeared in IPEC 2025. This version contains the full proofs and adds missing references

R2 v1 2026-07-01T11:34:50.694Z