English

Algorithms and Hardness for Geodetic Set on Tree-like Digraphs

Data Structures and Algorithms 2026-05-14 v3 Discrete Mathematics

Abstract

In the GEODETIC SET problem, an input is a (di)graph GG and integer kk, and the objective is to decide whether there exists a vertex subset SS of size kk such that any vertex in V(G)SV(G)\setminus S lies on a shortest (directed) path between two vertices in SS. The problem has been studied on undirected and directed graphs from both algorithmic and graph-theoretical perspectives. We focus on directed graphs and prove that GEODETIC SET admits a polynomial-time algorithm on ditrees, that is, digraphs with possible 2-cycles when the underlying undirected graph is a tree (after deleting possible parallel edges). This positive result naturally leads us to investigate cases where the underlying undirected graph is "close to a tree". Towards this, we show that GEODETIC SET on digraphs without 2-cycles and whose underlying undirected graph has feedback edge set number fen\textsf{fen}, can be solved in time 2O(fen)nO(1)2^{\mathcal{O}(\textsf{fen})} \cdot n^{\mathcal{O}(1)}, where nn is the number of vertices. To complement this, we prove that the problem remains NP-hard on DAGs (which do not contain 2-cycles) even when the underlying undirected graph has constant feedback vertex set number and constant pathwidth. Our last result significantly strengthens the result of Ara\'ujo and Arraes [Discrete Applied Mathematics, 2022] that the problem is NP-hard on DAGs when the underlying undirected graph is either bipartite, cobipartite or split.

Keywords

Cite

@article{arxiv.2603.23193,
  title  = {Algorithms and Hardness for Geodetic Set on Tree-like Digraphs},
  author = {Florent Foucaud and Narges Ghareghani and Lucas Lorieau and Morteza Mohammad-Noori and Rasa Parvini Oskuei and Prafullkumar Tale},
  journal= {arXiv preprint arXiv:2603.23193},
  year   = {2026}
}

Comments

27 pages, 4 figures

R2 v1 2026-07-01T11:35:26.810Z