Algorithms and complexity for geodetic sets on planar and chordal graphs
For graph theorists and algorithm designers, this work tightens the complexity boundary of MGS by showing hardness on a very restricted graph class and providing an exact polynomial-time solution on another.
The paper proves that Minimum Geodetic Set (MGS) remains NP-hard even for subcubic partial grids of arbitrary girth, strengthening three existing hardness results. It also presents a linear-time algorithm for MGS on solid grids, improving on a previous 3-approximation.
A set $S$ of vertices of a graph $G$ is a \emph{geodetic set} if every vertex of $G$ lies in a shortest path between some pair of vertices of $S$. The \textsc{Minimum Geodetic Set (MGS)} problem is to find a geodetic set with minimum cardinality of a given graph. A \emph{grid embedding} of a graph is a set of points in two dimensions with integer coordinates such that each point in the set represents a vertex of the graph and, for each edge, the points corresponding to its endpoints are at Euclidean distance~$1$. A graph is a \emph{partial grid} if it has a grid embedding. In this paper, we first prove that \textsc{Minimum Geodetic Set} remains NP-hard even for subcubic partial grids of arbitrary girth. This jointly strengthens three existing hardness results: for bipartite graphs (Dourado et al., Discrete. Math, 2010), subcubic graphs (Bueno et al., Inf. Process. Lett., 2018)~\cite{bueno2018}, and planar graphs (Chakraborty et al., CALDAM, 2020). The \emph{area} of an internal face is the number of integer points lying on the boundary or interior of the face. A graph is a \emph{solid grid} if it has a grid embedding such that all interior faces have area exactly four. To complement the above hardness result, we design a linear-time algorithm for \textsc{Minimum Geodetic Set} on solid grids, improving on a $3$-approximation algorithm by Chakraborty et al. (CALDAM, 2020). Our results hold for \textsc{Edge Geodetic Set} as well. A set $S$ of vertices of a graph $G$ is a \emph{geodetic set} if every edge of $G$ lies in a shortest path between some pair of vertices of $S$. The \textsc{Minimum Edge Geodetic Set (MEGS)} problem is to find an edge geodetic set with minimum cardinality of a given graph. As corollaries, we obtain that \textsc{MEGS} remains NP-hard on partial grids and is linear-time solvable on solid grids.