
The cactus graph has many practical applications, particularly in radio communication systems. Let G=(V,E) be a finite, undirected, and simple connected graph, then the edge metric dimension of G is the minimum cardinality of the edge metric generator for G (an ordered set of vertices that uniquely determines each pair of distinct edges in terms of distance vectors). Given an ordered set of vertices Ge={g1,g2,...,gk} of a connected graph G, for any edge e∈E, we referred to the k-vector (ordered k-tuple), r(e|Ge)=(d(e,g1),d(e,g2),...,d(e,gk)) as the edge metric representation of e with respect to Ge. In this regard, Ge is an edge metric generator for G if, and only if, for every pair of distinct edges e1,e2∈E implies r(e1|Ge)≠r(e2|Ge). In this paper, we investigated another class of cacti different from the cacti studied in previous literature. We determined the edge metric dimension of the following cacti: C(n,c,r) and C(n,m,c,r) in terms of the number of cycles (c) and the number of paths (r).
Citation: Lyimo Sygbert Mhagama, Muhammad Faisal Nadeem, Mohamad Nazri Husin. On the edge metric dimension of some classes of cacti[J]. AIMS Mathematics, 2024, 9(6): 16422-16435. doi: 10.3934/math.2024795
[1] | Pradeep Singh, Sahil Sharma, Sunny Kumar Sharma, Vijay Kumar Bhat . Metric dimension and edge metric dimension of windmill graphs. AIMS Mathematics, 2021, 6(9): 9138-9153. doi: 10.3934/math.2021531 |
[2] | Xiaogang Liu, Muhammad Ahsan, Zohaib Zahid, Shuili Ren . Fault-tolerant edge metric dimension of certain families of graphs. AIMS Mathematics, 2021, 6(2): 1140-1152. doi: 10.3934/math.2021069 |
[3] | Meiqin Wei, Jun Yue, Xiaoyu zhu . On the edge metric dimension of graphs. AIMS Mathematics, 2020, 5(5): 4459-4465. doi: 10.3934/math.2020286 |
[4] | Mohra Zayed, Ali Ahmad, Muhammad Faisal Nadeem, Muhammad Azeem . The comparative study of resolving parameters for a family of ladder networks. AIMS Mathematics, 2022, 7(9): 16569-16589. doi: 10.3934/math.2022908 |
[5] | Ali N. A. Koam . Metric based resolvability of cycle related graphs. AIMS Mathematics, 2024, 9(4): 9911-9925. doi: 10.3934/math.2024485 |
[6] | Al-Nashri Al-Hossain Ahmad, Ali Ahmad . Generalized perimantanes diamondoid structure and their edge-based metric dimensions. AIMS Mathematics, 2022, 7(7): 11718-11731. doi: 10.3934/math.2022653 |
[7] | Maryam Salem Alatawi, Ali Ahmad, Ali N. A. Koam, Sadia Husain, Muhammad Azeem . Computing vertex resolvability of benzenoid tripod structure. AIMS Mathematics, 2022, 7(4): 6971-6983. doi: 10.3934/math.2022387 |
[8] | Ahmed Alamer, Hassan Zafar, Muhammad Javaid . Study of modified prism networks via fractional metric dimension. AIMS Mathematics, 2023, 8(5): 10864-10886. doi: 10.3934/math.2023551 |
[9] | Ali N. A. Koam, Sikander Ali, Ali Ahmad, Muhammad Azeem, Muhammad Kamran Jamil . Resolving set and exchange property in nanotube. AIMS Mathematics, 2023, 8(9): 20305-20323. doi: 10.3934/math.20231035 |
[10] | Fan Wu, Xinhui An, Baoyindureng Wu . Sombor indices of cacti. AIMS Mathematics, 2023, 8(1): 1550-1565. doi: 10.3934/math.2023078 |
The cactus graph has many practical applications, particularly in radio communication systems. Let G=(V,E) be a finite, undirected, and simple connected graph, then the edge metric dimension of G is the minimum cardinality of the edge metric generator for G (an ordered set of vertices that uniquely determines each pair of distinct edges in terms of distance vectors). Given an ordered set of vertices Ge={g1,g2,...,gk} of a connected graph G, for any edge e∈E, we referred to the k-vector (ordered k-tuple), r(e|Ge)=(d(e,g1),d(e,g2),...,d(e,gk)) as the edge metric representation of e with respect to Ge. In this regard, Ge is an edge metric generator for G if, and only if, for every pair of distinct edges e1,e2∈E implies r(e1|Ge)≠r(e2|Ge). In this paper, we investigated another class of cacti different from the cacti studied in previous literature. We determined the edge metric dimension of the following cacti: C(n,c,r) and C(n,m,c,r) in terms of the number of cycles (c) and the number of paths (r).
In graph theory, the metric dimension has become very popular nowadays and has sparked the interest of distinguished researchers to make more studies on it. This may be because of its applicability in real-life situations to diverse practical applications such as robot navigation, combinatorial optimization, processing of images, networks, tasks on coin-weighing and tricky games [1], pharmaceutical chemistry, pattern recognition [2], a tool for detecting network motifs [3], observers in detecting the source of a spread over a network [4], the basis of a method for embedding DNA sequences in real space [5], Sonar and coast guard Loran [6], etc. The idea of metric dimension was first introduced by Slater [6] who referred to it as a location number. He called the metric generator the locating set and the minimum metric generator the reference set. These ideas were also independently discovered by Harary and Melter [7], who used the term "metric dimension" for "location number". Nadeem et al. [38] worked on the locating number of biswapped interconnection networks. In this paper, we use the terms used by Harary and Melter. After discovering the metric dimension based on uniquely pinpointing distinct nodes, [8] went further on this idea, trying to think on the other side: What if the intruder is accessing the network through their connections (edges) between the nodes? Then, that intruder could not be pinpointed and, hence, the surveillance fails; this is where the idea of the edge metric dimension arises.
Since then, a significant number of results from different families of graphs have been published, such as [9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33] to mention a few. In particular, the edge metric dimension of several graphs has been studied by different researchers. Iqbal et al. worked on the graphs Pm◻Pn, Pm◻Cn, and the generalized Petersen graph [9]; Filipović et al. [10] and Raza and Ji [11] studied the generalized Petersen graph; Iqbal et al. worked on double generalized Petersen graphs [12]; Geneson obtained a number of results about pattern avoidance in graphs with bounded edge metric dimension [13]; Goshi et al. [14] computed the fractional local edge dimension of a graph (FLED) of the Coxeter graph, Petersen graph, the families of cycle, complete, wheel, complete bipartite graphs, and grid; Geneson et al. [15] answered several open extremal problems on metric dimension and pattern avoidance in graphs posed by Geneson [13] and made the progress on a problem posed by Zubrilina [16]; Peterin and Yero studied the join, lexicographic, and corona product of graphs [17]; Zhang and Gao investigated some classes of plane graphs such as the web graph, convex polytope, and convex polytope antiprism and prism [18]; Siddiqui et al. determined the bounds of edge metric dimension of zero-divisor graphs [19]; Wei et al. [20] characterized all connected bipartite graphs with edge metric dimension n−2 and partially settled a problem from Zubrilina [16]; Zhu et al. [21] characterized the structure of topful graphs, and necessary and sufficient conditions for topful graphs were obtained; Zubrilina [16] settled two open problems posed by Kelenc et al. [8]; Adawiyah et al. studied some families of tree graph such as broom graph, star graph, banana tree graph, and double broom graph [22]; Deng et al. [23] worked on square, triangular and hexagonal Möbius ladder networks; Knor et al. [24] settled three open problems posed by Kelenc et al. [8]; Sedlar and Škrekovski worked on cacti where some results on edge metric dimension are obtained [25]; Ikhlaq et al. [26] studied dragon graph, paraline graph of dragon graph, line graph of dragon graph and line graph of dragon graph; Zhu et al. [27,28] studied unicyclic graphs; Knor et al. determined bounds on edge metric dimension of some simple 2-connected graphs [29]; Sedlar and Škrekovski showed the upper bound on leafless cacti and their characterization [30]; Sedlar and R. Škrekovski explored bounds on metric dimensions of graphs with edge disjoint cycles (cactus graphs) [31]; Rafiullah et al. studied some wheel related convex polytopes [32]; and Ahsan et al. worked on some classes of circulant graphs [33].
Graphs considered in this paper are undirected, finite, simple, and connected. Let G= (V,E) be a connected graph such that vertex x∈V and edge e=uv∈E, then the distance between x and e is given by d(x,e)=min{d(x,u),d(x,v)}. Two edges e1,e2∈E and e1≠e2 are said to be distinguished by a vertex x∈V if d(x,e1)≠d(x,e2). A set Ge of vertices of a connected graph G is an edge metric generator of G if every two distinct edges of G are distinguished by some vertex in Ge. An edge metric generator with the smallest cardinality is called an edge metric basis of G, and the cardinality of the edge metric basis is called the edge metric dimension, which we denote by edim(G). The following approach might also be helpful for edge metric generators. Given an ordered set of vertices Ge={g1,g2,…,gk} of a connected graph G, for any edge e∈E, we refer to the k - vector (ordered k-tuple), r(e∣Ge)= (d(e,g1),d(e,g2),…,d(e,gk)) as the edge metric representation of e with respect to Ge. In this regard, Ge is an edge metric generator for G if, and only if, for every pair of distinct edges e1,e2∈ E implies r(e1∣Gϵ)≠r(e2∣Ge) or if r(e1∣Gε)=r(e2∣Gε) implies e1=e2.
Cactus graphs or cacti are connected graphs in which any two simple cycles have at most one vertex in common, or simply graphs with edge disjoint cycles. Some renowned researchers worked on these graphs. In [30], researchers studied leafless cacti, and the upper bound of edge metric dimension in terms of cyclomatic number is obtained; [25] worked on cacti using the configuration approach and obtained some significant results, including a simple upper bound on the edge metric dimension of cacti; [31] showed that metric dimension and edge metric dimension of cacti can differ by at most c, i.e., |edim(G)−dim(G)|≤c, where c is the number of cycles. In this paper, we investigate another class of cacti different from the cacti studied in [25,30,31]. The edge metric dimension of the following cacti: C(n,c,r) and C(n,m,c,r) will be explored in terms of the number of cycles (c) and the number of paths (r).
Cactus graphs or cacti are connected graphs in which any two simple cycles have at most one vertex in common. Let E(n,c,r) be a cactus graph of order n constructed by attaching r-paths in one common vertex of c-cycles of Cm (see Figure 1); the respective lengths of each path and cycle are t and m. For the sake of our proof, we will employ the following notations: μba as a vertex at ath path and distance b from the common vertex v0,Pab as a path of length b at ath position, 0≤ a≤r−1,1≤b≤t. Again, let E(n,m,c,r) be a cactus graph of order n constructed by attaching c-cycles of C3 and r - paths in one common vertex of Cm (see Figure 2). Graphs explored in this study are expanded from the cactus graphs investigated in [34,35,36,37] on parameters different from edge metric dimension and worked on fixed cycles and pendant edges. In our study, we considered the graph with cycles of length m and paths of length t, and the graph of any cycle of length m with fixed cycles (C3) and paths of length t. We define: V(E(n,c,r))= (∪ci=1V(Ci))∪(∪rj=1V(Pj)) and E(E(n,c,r))=(∪ci=1E(Ci))∪(∪rj=1E(Pj)), where V(Ci)= ({v0})∪(⋃ci=1({v(i−1)m−i+2,v(i−1)m−i+3,…,vi(m−1)})),V(Pj)=⋃rj=1({μ1j−1,μ2j−1,…,μtj−1}) and E(Ci)=∪ci=1({v0v(i−1)m−i+2,v(i−1)m−i+2v(i−1)m−i+3,…,vi(m−1)v0}),E(Pj)= Urj=1({v0μ1j−1,μ1j−1μ2j−1,…,μt−1j−1μtj−1}), respectively. Again, V(E(n,m,c,r))=(V(Cm))∪ (∪ci=1V(Ci))∪(∪rj=1V(Pj)) and E(E(n,m,c,r))=(E(Cm))∪(∪ci=1E(Ci))∪(∪rj=1E(Pj)), where V(Cm)=({v0})∪⋃m−1i=1({vi}),V(Ci)=⋃ci=1({v0,ω2i−1,ω2i}),V(Pj)= ∪rj=1({μ1j−1,μ2j−1,…,μtj−1}), and E(Cm)={v0v1,v1v2,…,vm−1v0},E(Ci)= Uci=1({v0ω2i−1,ω2i−1ω2i,ω2iv0}),E(Pj)=⋃rj=1({v0μ1j−1,μ1j−1μ2j−1,…,μt−1j−1μtj−1}), respectively.
Remark 2.1. [8] For any integer n≥2,edim(Cn)=dim(Cn)=2.
Theorem 3.1. For any cactus graph G=C(n,c,r) with c number of Cm-cycles, such that every Cm and r paths have exactly one vertex in common, then edim(G)=3c−1; moreover, if r≠c, then edim(G)= 2c+r−1.
Proof. Let Ge={μ11,μ12,…,μ1r−1,ν1,νm−1,νm,ν2m−2,…,ν(c−1)m−c+2,νc(m−1)} be an edge metric generator (see Figure 1). We shall prove that Ge is an edge metric generator for any cactus graph C(n,c,r), where n is a total number of vertices of a cactus graph; to this end, we will employ the method of double inequality. For edim(C(n,c,r))≤3c−1, the following are the edge metric representations of all edges with respect to the edge metric generator Ge.
r(v0μ1ω∣Ge)={(1,…,1)⏟3c−1ω=0,(0,1,…,1)(3c−1 tuple ),ω=1,(1,0,1,…,1)(3c−1 tuple ),ω=2,⋮(1,…,1,0ωthposition,1,…,1)(3c−1 tuple)ω=r−1. |
r(μφωμφ+1ω∣Ge)={(φ−1,φ+1,…,φ+1)(3c−1 tuple ),ω=1,1≤φ≤t−1,(φ+1,φ−1,φ+1,…,φ+1)(3c−1 tuple ),ω=2,1≤φ≤t−1,(φ+1,φ+1,φ−1,φ+1,…,φ+1)(3c−1 tuple ),ω=3,1≤φ≤t−1,⋮(φ+1,…,φ+1,(φ−1)ωth position,φ+1,…,φ+1)(3c−1 tuple),ω=r,1≤φ≤t−1. |
r(ν0ν1+(m−1)φ|Ge)={(1,…,1,0(c+2φ)thposition,1,…,1)(3c−1 tuple),φ=0,(1,…,1,0(c+2φ)thposition,1,…,1)(3c−1 tuple),φ=1,(1,…,1,0(c+2φ)thposition,1,…,1)(3c−1 tuple),φ=2,⋮(1,…,1,0(c+2φ)thposition,1)(3c−1 tuple),φ=c−1. |
r(ν(m−1)φν0|Ge)={(1,…,1,0(c+2φ−1)thposition,1,…,1)(3c−1 tuple),φ=1,(1,…,1,0(c+2φ−1)thposition,1,…,1)(3c−1 tuple),φ=2,(1,…,1,0(c+2φ−1)thposition,1,…,1)(3c−1 tuple),φ=3,⋮(1,…,1,0(c+2φ−1)thposition)(3c−1 tuple),φ=c. |
r(νωνφ|Ge)={(φ,…,φ,(ω−1)cthposition,φ,…,φ)(3c−1 tuple),ω=1,φ=2,(φ,…,φ,(ω−1)cthposition,φ,…,φ)(3c−1 tuple),ω=2,φ=3,(φ,…,φ,(ω−1)cthposition,φ,…,φ)(3c−1 tuple),ω=3,φ=4,⋮(φ,…,φ,λcthposition,βc+1thposition,φ,…,φ)(3c−1 tuple),ω=m2−1,φ=m2,β=ω,λ=β−1, m is even,ω=⌈m2⌉−1, φ=⌈m2⌉, λ=β=ω−1, m is odd. |
r(νφ+(m−1)ωνφ+(m−1)ω+1|Ge)={((φ,…,φ,λ(c+2ω)thposition,β(c+2ω+1)thposition,φ,…,φ)(3c−1 tuple),ω=0,φ=m2,λ=φ−1,β=λ−1,m is even,(φ,…,φ,λ(c+2ω)thposition,β(c+2ω+1)thposition,φ,…,φ)(3c−1 tuple),ω=1,φ=m2,λ=φ−1,β=λ−1,m is even,(φ,…,φ,λ(c+2ω)thposition,β(c+2ω+1)thposition,φ,…,φ)(3c−1 tuple),ω=2,φ=m2,λ=φ−1,β=λ−1,m is even,⋮(φ,…,φ,λ(c+2ω)thposition,β(c+2ω+1)thposition)(3c−1 tuple),ω=c−1,φ=m2,λ=φ−1,β=λ−1,m is even. |
r(νφ+(m−1)ωνφ+(m−1)ω+1|Ge)={(φ+1,…,φ+1,β(c+2ω)thposition,β(c+2ω+1)thposition,φ+1,…,φ+1)(3c−1 tuple),ω=0,φ=⌊m2⌋,β=φ−1,m is odd,(φ+1,…,φ+1,β(c+2ω)thposition,β(c+2ω+1)thposition,φ+1,…,φ+1)(3c−1 tuple),ω=1,φ=⌊m2⌋,β=φ−1,m is odd,(φ+1,…,φ+1,β(c+2ω)thposition,β(c+2ω+1)thposition,φ+1,…,φ+1)(3c−1 tuple),ω=2,φ=⌊m2⌋,β=φ−1,m is odd,⋮(φ+1,…,φ+1,β(c+2ω)thposition,β(c+2ω+1)thposition)(3c−1 tuple),ω=c−1,φ=⌊m2⌋,β=φ−1,m is odd. |
r(ν(φ−1)+(m−1)ωνφ+(m−1)ω|Ge)={(φ,…,φ,β(c+2ω)thposition,λ(c+2ω+1)thposition,φ,…,φ)(3c−1 tuple),ω=0,φ=m2,λ=φ−1,β=λ−1, m is even,(φ,…,φ,β(c+2ω)thposition,λ(c+2ω+1)thposition,φ,…,φ)(3c−1 tuple),ω=1,φ=m2,λ=φ−1,β=λ−1, m is even,(φ,…,φ,β(c+2ω)thposition,λ(c+2ω+1)thposition,φ,…,φ)(3c−1 tuple),ω=2,φ=m2,λ=φ−1,β=λ−1,m is even,⋮(φ,…,φ,β(c+2ω)thposition,λ(c+2ω+1)thposition)(3c−1 tuple),ω=c−1,φ=m2,λ=φ−1,β=λ−1, m is even. |
r(ν(φ−1)+(m−1)ωνφ+(m−1)ω|Ge)={(φ,…,φ,β(c+2ω)thposition,φ,…,φ)(3c−1 tuple),ω=0,φ=⌊m2⌋,β=φ−2,m is odd,(φ,…,φ,β(c+2ω)thposition,φ,…,φ)(3c−1 tuple),ω=1,φ=⌊m2⌋,β=φ−2,m is odd,(φ,…,φ,β(c+2ω)thposition,φ,…,φ)(3c−1 tuple),ω=2,φ=⌊m2⌋,β=φ−2,m is odd,⋮(φ,…,φ,β(c+2ω)thposition,φ)(3c−1 tuple),ω=c−1,φ=⌊m2⌋,β=φ−2,m is odd.
r(ν(α−1)(m−1)+φν(α−1)(m−1)+φ+1|Ge)={(φ+1,…,φ+1,ω(c+2(α−1))thposition,φ+1,…,φ+1)(3c−1 tuple),ω=0,φ=1,α=2,3,…,c,(φ+1,…,φ+1,ω(c+2(α−1))thposition,φ+1,…,φ+1)(3c−1 tuple),ω=1,φ=2,α=2,3,…,c,(φ+1,…,φ+1,ω(c+2(α−1))thposition,φ+1,…,φ+1)(3c−1 tuple),ω=2,φ=3,α=2,3,…,c,⋮(φ+1,…,φ+1,ω(c+2(α−1))thposition,φ+1)(3c−1 tuple),φ=⌊m2⌋−1,ω=φ−1,α=2,3,…,c,m is odd;φ=m2−2,ω=φ−1,α=2,3,…,c,m is even. |
r(να(m−1)−φνα(m−1)−φ+1|Ge)={(φ+1,…,φ+1,ω(c+2α−1)thposition,φ+1,…,φ+1)(3c−1 tuple),ω=0,φ=1,α=1,2,3,…,c,(φ+1,…,φ+1,ω(c+2α−1)thposition,φ+1,…,φ+1)(3c−1 tuple),ω=1,φ=2,α=1,2,3,…,c,(φ+1,…,φ+1,ω(c+2α−1)thposition,φ+1,…,φ+1)(3c−1 tuple),ω=2,φ=3,α=1,2,3,…,c,⋮(φ+1,…,φ+1,ω(c+2α−1)thposition,φ+1)(3c−1 tuple),φ=⌊m2⌋−1,ω=φ−1,α=1,2,3,…,c,m is odd;φ=m2−2,ω=φ−1α=1,2,3,…,c,m is even. |
Now, we need to show that no edges among these representations have the same representation. We shall show this by the contradiction approach. Suppose if possible, there are two distinct edges having the same representation, take edges v0v1+(m−1)φ and v(m−1)φv0, then r(v0v1+(m−1)φ∣Ge)=r(v(m−1)φv0∣Ge), and, hence, c+2φ=c+2φ−1, a contradiction. Take edges v0v1+(m−1)φ and vωvφ, then r(v0v1+(m−1)φ∣Ge)=r(vωvφ∣Ge) implies c+2φ=ω−1, then c+2φ=φ−2, and, hence, c+φ+2=0, a contradiction, since c≥1 and φ≥1. Take edges vφ+(m−1)ωvφ+(m−1)ω+1 and vωvφ where ω=m2−1 or ⌈m2⌉−1, then r(vφ+(m−1)ωvφ+(m−1)ω+1∣Ge)=r(vωvφ∣Ge); implies c=c+2ω and c+1=c+2ω+1; both cases gives ω=0, a contradiction, since ω≥1. Take edges vφ+(m−1)ωvφ+(m−1)ω+1 and v(φ−1)+(m−1)ωvφ+(m−1)ω, and let λ,β and λ′,β′ be parameters from edges vφ+(m−1)ωvφ+(m−1)ω+1 and v(φ−1)+(m−1)ωvφ+(m−1)ω, respectively, then r(vφ+(m−1)ωvφ+(m−1)ω+1∣Ge)= r(v(φ−1)+(m−1)ωvφ+(m−1)ω∣Ge) implies λ=β′ and λ′=β if m is even, then m2−1=m2−2, a contradiction, and if m is odd for the same edges vφ+(m−1)ωvφ+(m−1)ω+1 and v(φ−1)+(m−1)ωvφ+(m−1)ω, let their parameters be β and β′, respectively, then φ+1=φ is a contradiction, and β=β′ implies ⌊m2⌋−1=⌊m2⌋−2, a contradiction; again, c+2ω=c+2ω+1 is a contradiction. Take edges v(φ−1)+(m−1)ωvφ+(m−1)ω and vα(m−1)−φvα(m−1)−φ+1, then r(v(φ−1)+(m−1)ωvφ+(m−1)ω∣Ge)=r(vα(m−1)−φvα(m−1)−φ+1∣Ge) implies c+2ω=c+2α−1, and, hence, 2c−2=2c−1, a contradiction.
Take edges v(α−1)(m−1)+φv(α−1)(m−1)+φ+1 and vα(m−1)−φvα(m−1)−φ+1, then r(v(α−1)(m−1)+φv(α−1)(m−1)+φ+1∣Ge)=r(vα(m−1)−φvα(m−1)−φ+1∣Ge) implies c+2(α−1)=c+2α−1, and, hence, 2α−2=2α−1, a contradiction. Take edges vφ+(m−1)ωvφ+(m−1)ω+1 and v(α−1)(m−1)+φv(α−1)(m−1)+φ+1, then r(vφ+(m−1)ωvφ+(m−1)ω+1∣Ge)=r(v(α−1)(m−1)+φv(α−1)(m−1)+φ+1∣Ge); implies β=ω, and, hence, ⌊m2⌋−1=⌊m2⌋−2, a contradiction. Take edges vφ+(m−1)ωvφ+(m−1)ω+1 and vα(m−1)−φvα(m−1)−φ+1, then r(vφ+(m−1)ωvφ+(m−1)ω+1∣Ge)=r(vα(m−1)−φvα(m−1)−φ+1∣Ge); implies β=ω, and, hence, ⌊m2⌋−1=⌊m2⌋−2, a contradiction.
So, it clearly follows from the representations above that the edge metric representations of any two distinct edges of C(n,c,r) are different. Thus, Ge is an edge metric generator and, therefore, edim(C(n,c,r))≤3c−1.
On the other hand, let us consider the converse part of double inequality. Assume that Ge is a set of vertices with at most 3c−2 distinct vertices, i.e., edim(C(n,c,r))≤3c−2. According to our graph, it suffices to show that Ge cannot be a set of vertices with 3c−2 distinct vertices, as any set of vertices less than 3c−2 distinct vertices also cannot be Ge. Now, let us discuss the following cases.
Case 1: Let γ≠γ′, and take any two edge metric representations from edges ν0μ1γ and ν0μ1γ′, where γ,γ′∈ω. First, let |G′e|=3c−1 as the preceding part, before reducing at least one vertex from the vertices set G′e, then r(ν0μ1γ|G′e)=(1,…,0γthposition,…,1)(3c−1 tuple) and r(ν0μ1γ′|G′e)=(1,…,0γ′thposition,…,1)(3c−1 tuple), since μ0 does not constitute to G′e then r(ν0μ1γ|G′e)=(1,…,1)(3c−1 tuple) for γ=0 and r(ν0μ1γ′|G′e)=(1,…,0γ′thposition,…,1)(3c−1 tuple) for 2≤γ′≤r−1. Now, if any other vertex μ1γ′ will be removed from G′e to form Ge with |Ge|=3c−2, then we have; r(ν0μ1γ|Ge)=(1,…,1)(3c−2 tuple), γ=0 and r(ν0μ1γ′|Ge)=(1,…,1)(3c−2 tuple), 2≤γ′≤r−1; similarly for γ′=1, we have (ν0μ1γ′|Ge)=(1,…,1)(3c−2 tuple), γ′=1, and, hence, Ge is not an edge metric generator, a contradiction.
Case 2: If vertex μ10 and one of the vertex νi, i=1,m,2m−1,…,(c−1)m−c+2 from Cms does not constitute to Ge, then we have; r(ν0νi|Ge)=(1,…,1)(3c−2 tuple), i=1,m,2m−1,…,(c−1)m−c+2, but then r(ν0μ10|Ge)=(1,…,1)(3c−2 tuple), and, hence, Ge is not an edge metric generator, a contradiction.
Case 3: If vertex μ10 and one of the vertex νj, j=m−1,2m−2,…,c(m−1) from Cms does not constitute to Ge, then we have; r(ν0νj|Ge)=(1,…,1)(3c−2 tuple), j=m−1,2m−2,…,c(m−1), but then r(ν0μ10|Ge)=(1,…,1)(3c−2 tuple), and, hence, Ge is not an edge metric generator, a contradiction.
Case 4: If vertex μ1γ′, 1≤γ′≤r−1 and one of the vertex νi i=1,m,2m−1,…,(c−1)m−c+2 from Cms does not constitute to Ge, then we have r(ν0νi|Ge)=(1,…,1)(3c−2 tuple), i=1,m,2m−1,…,(c−1)m−c+2, but then r(ν0μ1γ′|Ge)=(1,…,1)(3c−2 tuple), 1≤γ′≤r−1, and, hence, Ge is not an edge metric generator, a contradiction.
Case 5: If vertex μ1γ′, 1≤γ′≤r−1 and one of the vertex νj, j=m−1,2m−2,…,c(m−1) from Cms does not constitute to Ge, then we have r(ν0νj|Ge)=(1,…,1)(3c−2 tuple), j=m−1,2m−2,…,c(m−1), but then r(ν0μ1γ′|Ge)=(1,…,1)(3c−2 tuple), 1≤γ′≤r−1, and, hence, Ge is not an edge metric generator, a contradiction.
Case 6: If one of the vertex νi, i=1,m,2m−1,…,(c−1)m−c+2 from Cms and one of the vertex νj, j=m−1,2m−2,…,c(m−1) from Cms does not constitute to Ge, then we have r(ν0νi|Ge)=r(ν0νj|Ge), and, hence, Ge is not an edge metric generator, a contradiction.
Now, from our discussion above it is clearly observed that Ge with 3c−2 distinct vertices or less than 3c−2 distinct vertices cannot be an edge metric generator, hence edim(C(n,c,r))≥3c−1; this proves double inequality, that is, edim(C(n,c,r))=3c−1. Now, for r≠c, we have to consider the number of paths (r) and the number of cycles (c) independently, since Ge contains at least two vertices from each cycle and one vertex from each path except one path, then |Ge|=2c+r−1. The proof is analogous to the preceding proof with slight changes. Replace 3c−1 tuple with 2c+r−1 tuple and 3c−2 tuple with 2c+r−2 tuple, hence, edim(G)=2c+r−1.
Theorem 3.2. For any cactus graph G=C(n,m,c,r) with r− paths, c− number of C3 cycles, and one Cm cycle at one common vertex of Cm, then edim(G)=2c+r+1; moreover, if c=r, then edim(G)=3c+1.
Proof. We shall prove our result by the double inequality approach, and now we prove that the upper bound of edge metric dimension of G is 2c+r+1, that is, edim(G)≤2c+r+1. Let Ge be a set of vertices consisting of two vertices from Cm, two vertices from each C3, and one vertex from each (r−1) paths (see Figure 2), then Ge is an edge metric generator with cardinality 2c+r+1; if each C3 and path has exactly one vertex in common, thus Ge has cardinality 3c+1. So, the metric representations of all edges of G with respect to Ge are discussed hereunder.
Let P0t be the path of length t from vertex ν0 to vertex μt0 where ν0 is the common vertex for C3, r-paths, and Cm, μi0, 1≤i≤t is the vertex on the path that does not constitute any vertex to Ge, and edges on this path are e1={ν0,μ10}, ei={μi−10,μi0}, 2≤i≤t. Now, if we let ei and ei+α, 2≤i≤t, 1≤α≤t−2 be any two distinct edges on this path, then r(e1|Ge)=(1,…,1) (2c+r+1 tuple), r(ei|Ge)=(i,…,i) (2c+r+1 tuple), r(ei+α|Ge)=(i+α,…,i+α) (2c+r+1 tuple). Clearly, Ge distinguishes all edges of P0i. Take one edge from P0i, 1≤i≤t and one edge from any of the path Pkj, 1≤j≤t, 1≤k≤r that constitute one vertex to Ge, edges of Pkj are e1={ν0,μ1k}, ej={μj−1k,μjk}, 2≤j≤t, 1≤k≤r, then r(e1|Ge)=(0,1,…,1) (2c+r+1 tuple), for k=1, r(e1|Ge)=(1,…,0kthPosition,…,1) (2c+r+1 tuple) for k≥2, r(ej|Ge)=(j−2,j,…,j) (2c+r+1 tuple) for k=1, r(ej|Ge)=(j,…,(j−2)kthposition,…,j) (2c+r+1 tuple) for k≥2, i≠j. If i=j, let ej=e′i to distinguish from edges of P0i, r(e′i|Ge)=(i−2,i,…,i) (2c+r+1 tuple) for k=1, r(e′i|Ge)=(i,…,(i−2)kthposition,…,i) (2c+r+1 tuple) for k≥2, Clearly, Ge distinguishes any edge of P0i from any edge of Pkj. Take two distinct edges in path Pkj, say ej={μj−1k,μjk}, 2≤j≤t, 1≤k≤r, and ej+α={μj+α−1k,μj+αk}, 1≤α≤t−2, then r(ej+α|Ge)=(j+α−2,j+α,…,j+α) (2c+r+1 tuple)for k=1, r(ej+α|Ge)=(j+α,…,(j+α−2)kthposition,…,j+α) (2c+r+1 tuple) for k≥2, Ge distinguishes all edges of Pkj. Take one edge from P0i and one edge incident to ν0 from C3. Let edges incident to ν0 from C3 be ν0ωγ0≤γ≤2c−1, their representation is r(ν0ωγ|Ge)=(1,…,0(r+γ+2)thposition,…,1)(2c+r+1 tuple),0≤γ<2c−1, r(ν0ωγ|Ge)=(1,…,1,0(2c−1)thposition)(2c+r+1 tuple), and Ge distinguishes edges of P0i from edges incident to ν0 of C3. Take one edge from P0i and one edge which is not incident to ν0 from C3, let edges which are not incident to ν0 from C3 be ω2γω2γ+1, 0≤γ≤c−1, their representation is r(ω2γω2γ+1|Ge)=(2,…,0(r+2γ+2)thposition,0(r+2γ+3)thposition…,2)(2c+r+1 tuple), 0≤γ≤c−1, and Ge distinguishes edges of P0i from edges which are not incident to ν0 of C3. Take one edge from Pkj and one edge incident to ν0 from C3; and refer their representation; clearly, Ge distinguishes edges of Pkj from edges incident to ν0 of C3. Similarly, edges of Pkj and edges which are not incident to ν0 of C3 are distinguished by Ge. Now, we show that Gedistinguishes all edges of Cm, and the following are representation of all edges in Cm.
r(ν0ν1|Ge)=(1,…,0rthposition,…,1)(2c+r+1 tuple),
r(νm−1ν0|Ge)=(1,…,0r+1thposition,…,1)(2c+r+1 tuple),
If m is even then,
r(νφωφ+1|Ge)=(φ+1,…,(φ−1)rthposition,…,φ+1)(2c+r+1 tuple), 1≤φ≤m2−2,
r(νm2−1νm2|Ge)=(m2,…,(m2−2)rthposition,(m2−1)(r+1)thposition,…,m2)(2c+r+1 tuple),
r(νm2νm2+1|Ge)=(m2,…,(m2−1)rthposition,(m2−2) (r+1)thposition,…,m2)(2c+r+1 tuple),
r(νm2+φνm2+φ+1|Ge)=(m2−φ,…,(m2−φ−2)(r+1)thposition,…,m2−φ)(2c+r+1 tuple), 1≤φ≤m2−2.
If m is odd then,
r(νφωφ+1|Ge)=(φ+1,…,(φ−1)rthposition,…,φ+1)(2c+r+1 tuple), 1≤φ≤⌊m2⌋−1,
r(ν⌊m2⌋ν⌊m2⌋+1|Ge)=(⌊m2⌋+1,…,(⌊m2⌋−1)rthposition,(⌊m2⌋−1)(r+1)thposition,…,⌊m2⌋+1)(2c+r+1 tuple),
r(ν⌊m2⌋+φν⌊m2⌋+φ+1|Ge)=(⌊m2⌋−φ+1,…,(⌊m2⌋−φ−1)rthposition,…,⌊m2⌋−φ+1)(2c+r+1 tuple), 1≤φ≤⌊m2⌋−1.
Clearly, Ge distinguishes all edges of Cm. Furthermore, by referring their representation of edges of P0i, Pkj, C3, and Cm, one can easily see that Ge distinguishes all their edges. This shows that Ge is an edge metric generator for the graph G, which implies that edim(G)≤2c+r+1.
On the other hand, we have to prove that the lower bound of edge metric dimension of G is 2c+r+1, that is, edim(G)≥2c+r+1. To this end, we have to show that there is no edge metric generator with cardinality 2c+r. Contrary, we suppose that there is G′e with cardinality 2c+r such that G′e⊂Ge={g1,…,gl}, 1≤l≤2c+r+1. Let μ10 be a vertex of P0i that does not constitute to Ge. Now, let us consider the following cases.
Case 1: Let G′e⊂Ge be an edge metric generator obtained by removing one gl vertex of the path Pkj from Ge, say x∈{g1,…,gl}, then r(ν0x|G′e)=r(ν0μ10|G′e), a contradiction.
Case 2: Let G′e⊂Ge be an edge metric generator obtained by removing one gl vertex of the C3 from Ge, say y∈{g1,…,gl} then r(ν0y|G′e)=r(ν0μ10|G′e), a contradiction.
Case 3: Let G′e⊂Ge be an edge metric generator obtained by removing one gl vertex of the Cm from Ge, either ν1 or νm−1, since ν1,νm−1∈{g1,…,gl}; are the only vertices that constitute to Ge from Cm. Now say ν1 is removed from Ge, then r(ν0ν1|G′e)=r(ν0μ10|G′e), a contradiction; if νm−1 is removed instead of ν1, then r(ν0νm−1|G′e)=r(ν0μ10|G′e), a contradiction.
So, in either case, if we reduce the number of vertices from Ge by at least one, we arrive to contradiction. This shows that G′e with cardinality 2c+r cannot be an edge metric generator, which implies that edim(G)≥2c+r+1.
The exploration of the edge metric dimension across various classes of cacti has revealed an interesting feature of graph theory. In this paper, we investigated the edge metric dimension of cactus graphs, namely, C(n,c,r) and C(n,m,c,r). The investigation has demonstrated that the number of cycles and paths determines the edge metric dimension of this class of cacti rather than their respective lengths, emphasizing the importance of structural features in understanding graph metric properties. This observation not only broadens our understanding of the relationship between graph topology and metric dimension in these classes of cacti, but also extends to the wide range of graph families that have been studied in this area, from [9] through [33] where edge metric dimension was determined in different ways. For instance, just to mention a few, in [25] edge metric dimension was determined in terms of the number of leaves and number of cycles, constant edge metric dimension was determined in [12,23], etc. Moreover, in C(n,c,r), if one Cm cycle is fixed and the rest are replaced by C3, then the resulting graph is C(n,m,c,r), however, the proof for each graph is given independently and purposefully. Their edge metric dimensions differ by 2, and this difference is due to the fixed Cm cycle; by Remark 2.1.
Lyimo Sygbert Mhagama: Conceptualization, Methodology and Formal Analysis, Investigation, Writing-original draf; Muhammad Faisal Nadeem: Conceptualization, Validation, Writing-review & editing; Mohamad Nazri Husin: Conceptualization, Validation, Investigation, Writing-review & editing. All authors have read and agreed to the published version of the manuscript.
The authors declare they have not used Artificial Intelligence (AI) tools in the creation of this article.
The authors acknowledge the support of the Universiti Malaysia Terengganu and the Higher Education for Economic Transformation (HEET) project of the government of the United Republic of Tanzania for their financial support while doing this research.
There is no conflict of interest declared by the authors.
[1] | S. Khuller, B. Raghavachari, A. Rosenfeld, Localization in graphs, Digital Repository at the University of Maryland, 1994. |
[2] |
G. Chartrand, L. Eroh, M. Johnson, O. Oellermann, Resolvability in graphs and the metric dimension of a graph, Discret. Appl. Math., 105 (2000), 99–113. https://doi.org/10.1016/S0166-218X(00)00198-0 doi: 10.1016/S0166-218X(00)00198-0
![]() |
[3] |
J. Hu, X. Shang, Detection of network motif based on a novel graph canonization algorithm from transcriptional regulation networks, Molecules, 22 (2017), 2194. https://doi.org/10.3390/molecules22122194 doi: 10.3390/molecules22122194
![]() |
[4] | B. Spinelli, L. E. Celis, P. Thiran, Observer placement for source localization: The effect of budgets and transmission variance, In 54th Annual Allerton Conference on Communication, Control, and Computing, 2016. |
[5] |
R. C. Tillquist, M. E. Lladser, Low-dimensional representation of genomic sequences, J. Math. Biol., 79 (2019), 1–29. https://doi.org/10.1007/s00285-019-01348-1 doi: 10.1007/s00285-019-01348-1
![]() |
[6] | P. J. Slater, Leaves of trees, Congr. Numer., 14 (1975), 549–559. |
[7] | F. Harary, R. A. Melter, On the metric dimension of graph, Ars Combinatoria, 2 (1976), 191–195. |
[8] |
A. Kelenc, N. Tratnik, I. G. Yero, Uniquely identifying the edges of a graph: The edge metric dimension, Discret. Appl. Math., 251 (2018), 204–220. https://doi.org/10.1016/j.dam.2018.05.052 doi: 10.1016/j.dam.2018.05.052
![]() |
[9] | T. Iqbal, M. N. Azhar, S. A. Ul Haq Bokhary, The K-size edge metric dimension of graphs, J. Math., 2020 (2020). https://doi.org/10.1155/2020/1023175 |
[10] | V. Filipović, A. Kartelj, J. Kratica, Edge metric dimension of some generalized Petersen graphs, Results Math., 74 (2019). https://doi.org/10.1007/s00025-019-1105-9 |
[11] | H. Raza, Y. Ji, Computing the mixed metric dimension of a generalized Petersen graph P(n, 2), Front. Phys., 2020. http://dx.doi.org/10.3389/fphy.2020.00211 |
[12] | T. Iqbal, M. Rafiq, M. N. Azhar, M. Salman, I. Khalid, On the edge resolvability of double generalized Petersen graphs, J. Math., 2022. http://dx.doi.org/10.1155/2022/6490698 |
[13] | J. Geneson, Metric dimension and pattern avoidance in graphs, Discret. Appl. Math., 2020. http://dx.doi.org/10.1016/j.dam2020.03.001. |
[14] | N. Goshi, S. Zafar, T. Rashid, Fractional local edge dimensions of a graph, Discret. Math. Algorit., 2023. http://dx.doi.org/10.1142/S1793830923500246 |
[15] | J. Geneson, S. Kaustav, A. Labelle, Extremal results for graphs of bounded metric dimension, Discret. Appl. Math., 2022. http://dx.doi.org/10.1016/j.dam2021.11.015. |
[16] |
N. Zubrilina, On the edge dimension of a graph, Discrete Math., 341 (2018), 2083–2088. http://dx.doi.org/10.1016/j.disc.2018.04.010 doi: 10.1016/j.disc.2018.04.010
![]() |
[17] |
I. Peterin, I. G. Yero, Edge metric dimension of some graph operations, B. Malaysian Math. Sci. Soc., 43 (2020), 2465–2477. http://dx.doi.org/10.1007/s40840-019-00816-7 doi: 10.1007/s40840-019-00816-7
![]() |
[18] | Y. Zhang, S. Gao, On the edge metric dimension of convex polytopes and its related graphs, J. Comb. Optim., 2020. http://dx.doi.org/10.1007/s10878-019-00472-4 |
[19] | H. M. A. Siddiqui, A. Mujahid, M. A. Binyamin, M. F. Nadeem, On certain bounds for edge metric dimension of Zero-Divisor graphs associated with rings, Math. Probl. Eng., 2021 (2021). http://dx.doi.org/10.1155/2021/5826722 |
[20] |
M. Wei, J. Yue, X. Zhu, On the edge metric dimension of graphs, AIMS Math., 5 (2020), 4459–4465. http://dx.doi.org/10.3934/math.2020286 doi: 10.3934/math.2020286
![]() |
[21] |
E. Zhu, A. Taranenko, Z. Shao, J. Xu, On graphs with the maximum edge metric dimension, Discret. Appl. Math., 257 (2019), 317–324. http://dx.doi.org/10.1016/j.dam.2018.08.031 doi: 10.1016/j.dam.2018.08.031
![]() |
[22] | R. Adawiyah, R. Alfarisi, R. M. Prihandini, I. H. Agustin, Edge metric dimension on some families of tree, In: Journal of Physics: Conference Series, Institute of Physics Publishing, 2019. http://dx.doi.org/10.1088/1742-6596/1180/1/012005 |
[23] | B. Deng, M. F. Nadeem, M. Azeem, On the edge metric dimension of different families of möbius networks, Math. Probl. Eng., 2021 (2021). http://dx.doi.org/10.1155/2021/6623208 |
[24] | M. Knor, S. Majstorović, A. T. M. Toshi, R. Škrekovski, I. G. Yero, Graphs with the edge metric dimension smaller than the metric dimension, Appl. Math. Comput., 401 (2021). http://dx.doi.org/10.1016/j.amc.2021.126076 |
[25] |
J. Sedlar, R. Škrekovski, Vertex and edge metric dimensions of cacti, Discret. Appl. Math., 320 (2022), 126–139. http://dx.doi.org/10.1016/j.dam.2022.05.008 doi: 10.1016/j.dam.2022.05.008
![]() |
[26] | H. M. Ikhlaq, H. M. A. Siddiqui, M. Imran, A comparative study of three resolving parameters of graphs, Complexity, 2021 (2021). http://dx.doi.org/10.1155/2021/1927181 |
[27] |
E. Zhu, S. Peng, C. Liu, Identifying the exact value of the metric dimension and edge dimension of unicyclic graphs, Mathematics, 10 (2022), 1–14. http://dx.doi.org/10.3390/math10193539 doi: 10.3390/math10193539
![]() |
[28] | E. Zhu, S. Peng, C. Liu, Metric dimension and edge metric dimension of unicyclic graphs, arXiv Preprint, 2021. |
[29] |
M. Knor, J. Sedlar, R. Škrekovski, Remarks on the vertex and the edge metric dimension of 2-connected graphs, Mathematics, 10 (2022), 1–19. http://dx.doi.org/10.3390/math10142411 doi: 10.3390/math10142411
![]() |
[30] |
J. Sedlar, R. Škrekovski, Metric dimensions vs. cyclomatic number of graphs with minimum degree at least two, Appl. Math. Comput., 427 (2022), 1–19. http://dx.doi.org/10.1016/j.amc.2022.127147 doi: 10.1016/j.amc.2022.127147
![]() |
[31] |
J. Sedlar, R. Škrekovski, Bounds on metric dimensions of graphs with edge disjoint cycles, Appl. Math. Comput., 396 (2021), 125908. http://dx.doi.org/10.1016/j.amc.2020.125908 doi: 10.1016/j.amc.2020.125908
![]() |
[32] | M. Rafiullah, H. M. A. Siddiqui, S. Ahmad, Resolvability of some convex polytopes, Util. Math., 111 (2019). |
[33] |
M. Ahsan, Z. Zahid, S. Zafar, Edge metric dimension of some classes of circulant graphs, An. Stiint. U. Al. I.-Mat., 28 (2020), 15–37. http://dx.doi.org/10.2478/auom-2020-0032 doi: 10.2478/auom-2020-0032
![]() |
[34] |
F. Yasmeen, S. Akhter, K. Ali, S. T. R. Rizvi, Edge Mostar indices of cacti graph with fixed cycles, Front. Chem., 9 (2021), 1–7. http://dx.doi.org/10.3389/fchem.2021.693885 doi: 10.3389/fchem.2021.693885
![]() |
[35] |
S. Chen, Cacti with the smallest, second smallest, and third smallest Gutman index, J. Comb. Optim., 31 (2016), 327–332. http://dx.doi.org/10.1007/s10878-014-9743-z doi: 10.1007/s10878-014-9743-z
![]() |
[36] |
S. Li, H. Yang, Q. Zhao, Sharp bounds on Zagreb indices of cacti with k pendant vertices, Filomat, 26 (2012), 1189–1200. http://dx.doi.org/10.2298/FIL1206189L doi: 10.2298/FIL1206189L
![]() |
[37] |
S. Wang, On extremal cacti with respect to the Szeged index, Appl. Math. Comput., 309 (2017), 85–92. http://dx.doi.org/10.1016/j.amc.2017.03.036 doi: 10.1016/j.amc.2017.03.036
![]() |
[38] |
M. F. Nadeem, W. Ali, H. M. A. Siddiqui, Locating number of biswapped networks, Int. J. Found. Comput. S., 33 (2022), 667–690. http://dx.doi.org/10.1142/S0129054122420096 doi: 10.1142/S0129054122420096
![]() |