In this paper, we study the computational complexity of finding the \emph{geodetic number} of graphs. A set of vertices of a graph is a \emph{geodetic set} if any vertex of lies in some shortest path between some pair of vertices from . The problem is to find a geodetic set with minimum cardinality. In this paper, we prove that solving the problem is NP-hard on planar graphs with a maximum degree six and line graphs. We also show that unless , there is no polynomial time algorithm to solve the problem with sublogarithmic approximation factor (in terms of the number of vertices) even on graphs with diameter . On the positive side, we give an -approximation algorithm for the problem on general graphs of order . We also give a -approximation algorithm for the problem on the family of solid grid graphs which is a subclass of planar graphs.

生成讲解博客的中文版本

生成AI智能校验的中文版本