WorksMathematics
On the General Position Number of Cacti
Abstract
Given a graph G=(V,E), where V is the set of vertices and E is the set of edges, a subset of vertices is called a General Position Set (GPS) if no shortest path on G between any two vertices in S contains another vertex from S. The General Position Number (GPN) of a graph G is the maximum size of a GPS in G. The decision version of this problem, determining whether the GPN of a graph G is at least a given integer i, is known as the General Position Problem (GPP). The GPP is known to be NP-complete, making the computation of the GPN for general graphs computationally challenging. Hence, much of the existing research has focused on determining the GPN for special classes of graphs. One such class is that of cactus graphs (i.e., cacti), in which any two simple cycles share at most one vertex and no edge. For cactus graphs, several upper and lower bounds on the GPN have been previously presented. In this paper, we determine the exact value of the GPN for cactus graphs. We propose a novel graph decomposition that partitions a cactus graph into two types of subgraphs, called bearded cycles and non-beard trees. For each subgraph, we compute a special GPS, named a subGPS. We prove that the union of all maximum subGPSs constitutes a maximum GPS for the original cactus graph. This result allows us to compute the exact GPN for any cactus graph.