Abstract
Consider an undirected and connected graph , where and represent the set of vertices and the set of edges respectively. The concept of edge version of metric dimension and doubly resolving sets is based on the distances of edges in a graph. In this paper, we find the edge version of metric dimension and doubly resolving sets for the necklace graph.
1. Introduction and Preliminaries
Let G be a connected, simple and undirected graph consisting of nonempty finite sets of vertices and of edges. The order of a graph G is and is the size of The number of vertices joining to v, where v∈ is called a degree of that vertex and written as . is the maximum degree in a graph G.
For any two vertices ∈ the distance is the length of a shortest path between x and y. Let be an ordered set and let x∈ then representation of x with respect to R is the l-tuple . R is said to be a resolving set if different vertices of G have different representations with respect to R. The minimum number of vertices in a resolving set is called a basis for G and the cardinality of the basis is known as the metric dimension of G, represented by . For , the ith component of is 0 if and only if . Hence, to prove that R is a resolving set it is enough to show that for each pair ∈R.
The following lemma is very helpful for determining resolving set for :
Lemma 1.
Let R be a resolving set for a simple connected graph G and. Iffor all vertices r∈, then.
The idea of resolving sets and metric dimension was presented by Slater in [1] and also by Hararay and Melter in [2]. Metric dimension is applied in different branches of navigation [3], robotics [3], chemistry [4], and network discovery and verification. It is well-known in [5] that computing the metric dimension of a graph is an NP-hard problem. Metric dimension has been deeply elaborated in surveys [6,7]. The line graph of a graph G is defined as, the graph whose vertices are the edges of G, with two adjacent vertices if the corresponding edges share the common vertex in G. Also, metric properties of line graphs were studied to a great extent in [8,9,10,11,12,13,14,15,16,17,18]. The line graph of a graph G is helpful to find edge distances using the same technique of finding vertex distances of the graph G.
The concept of edge metric dimension was set up by Kelenc, Tratnik and Yero in [19] in 2016. They computed the edge metric dimension of different families of graphs and showed edge metric dimension i.e., can be less, equal to or more than . They also showed computing is NP-hard in general. Since in literature edge metric dimension exists and that is entirely different from edge metric dimension defined in [20], so we renamed edge metric dimension proposed in [20] as an edge version of metric dimension. The edge version of metric dimension is defined as:
Definition 1.
- 1.
- The edge distancebetween two edgesis the length of a shortest path between vertices f and g in the line graph
- 2.
- If, then the edgeis said to resolve two edges f and g of.
- 3.
- Suppose thatis an ordered set and e is an edge of, thenthe edge version of representation of e with respect tois the k-tuple.
- 4.
- If different edges of G have different edge version of representations with respect to, then the setis said to be a an edge version of resolving set of G.
- 5.
- The edge version of the metric basis of G is basically an edge version of the resolving set having minimum cardinality. The cardinality of the edge version of metric basis is represented by, and is called the edge version of metric dimension of
In literature the edge version of metric dimension is known for few classes of graphs. Bounds of an edge version of metric dimension are also known and these bounds are given in the next theorem:
Theorem 1
([21]). If G is a connected graph with then
Table 1, represents all those graphs for which the edge version of metric dimension is known. In the table , and represent the path graph, the cycle graph and the complete graph on n vertices respectively. is a wheel graph on vertices, is a complete bipartite graph on vertices and for , is a bouquet of circles with a cut-vertex where is the number of vertices of (). Also represents the n-sunlet graph and is the prism graph on vertices.
Table 1.
Edge version of the metric dimension of graphs.
Caceres et al. define the notion of a doubly resolving set in [22]. The doubly resolving sets present a valuable source for finding upper bounds of the metric dimension of graphs. Let the vertices a and b of the graph G with order doubly resolve vertices c and d of the graph G if A subset D of vertices doubly resolves G if every two vertices in G are doubly resolved by some two vertices of D. Moreover, in G there do not exist any two different vertices having the same difference between their corresponding metric coordinates with respect to A doubly resolving set with minimum cardinality is called the minimal doubly resolving set. The minimum cardinality of a doubly resolving set for G is represented by In case of some convex prism, hamming and polytopes graphs, the minimal doubly resolving sets have been obtained in [24,25,26] respectively.
Clearly, every doubly resolving set is a resolving set, which implies for all graphs G. Also, if a and b doubly resolve c and then or and thus a or b resolve c and this shows that a doubly resolving set is also a resolving set.
Ahmed et al. in [27] proposed the idea of minimal edge version of doubly resolving sets of graph G, based on the distances of the edges of graph G which is defined as follows:
Definition 2.
- 1.
- The edges f and g of the graph G with sizeare supposed to edge doubly resolve edgesandof the graph G ifin G.
- 2.
- Letbe an ordered set of the edges of G. If any two edgesare doubly resolved by any two edges of setinthen the setis said to be an edge version of doubly resolving set of G. The minimum cardinality of an edge version of doubly resolving set of G is represented by
Note that every edge version of a doubly resolving set is an edge version of a resolving set, which implies for all graphs G.
In this paper we compute the edge version of metric dimension and doubly resolving set for the necklace graph. At the end, we conclude that edge version of metric dimension and doubly resolving set are independent of choice of n.
2. The Edge Version of Metric Dimension for
The necklace graph (see Figure 1) denoted by [28] is a cubic Halin graph [29] obtained by joining a cycle with all vertices of degree 1 of a caterpillar (also called a comb) having n vertices of degree 3 and vertices of degree 1, denoted by and respectively. We have and where , and . The necklace graph is 3-regular graph with constant metric dimension, which is computed in [30] given below:
Figure 1.
The necklace graph .
For the edge version of metric dimension of the necklace graph, we have to construct a line graph of with (see Figure 2).
Figure 2.
The line graph of a necklace graph: .
Theorem 2.
The edge version of metric dimension ofis 3 for.
Proof.
Let . For and 3, consider the set , then the edge version of representation of each edge of with respect to is given below:
The edge version of representation of the edges with respect to is:
The edge version of representation of the inner edges with respect to is:
The edge version of representation of the edges with respect respect to is:
For , take a set , we will show that is an edge version of resolving set for .
The edge version of representation of the edges with respect to is:
The edge version of representation of the inner edges with respect to is:
The edge version of representation of the edges with respect respect to is:
From the above representations it is clear that no two edges of have the same edge version of representations, which implies is the edge version of resolving set and hence . Next, we have to show that Suppose on the contrary that then we have the following possibilities:
- Let two edges and from the edge set H with For we have , a contradiction.
- Now suppose that both edges are from the edge set F. Suppose without loss of generality that , where Then, a contradiction.
- Now suppose that both edges are from the edge set K. Suppose without loss of generality that , where Since so we have a contradiction.
- If one edge belongs to the set F and the second edge is from without loss of generality we can take with . For we have for and for . For , we have , a contradiction.
- If one edge belongs to the set G and the second edge is from i.e. . This case is similar to
- If one edge belongs to the set F and the second edge is from then we have the following five subcases:
- (a)
- Let . For we have For and we have a contradiction.
- (b)
- If and then we have , a contradiction.
- (c)
- Let with . This case is similar to 6 (b).
- (d)
- Let with For and we have and when then . For we have a contradiction.
- (e)
- Let . This case is similar to 6 (e).
All the above possibilities lead to a contradiction. Hence, there is no edge version of resolving set of cardinality 2 for edges which implies that . ☐
3. The Minimal Edge Version of Doubly Resolving Sets for
The minimum doubly resolving set for the necklace graph has been discussed in [31]. In this section, we determine minimal edge version of doubly resolving sets for the necklace graph. Define be the set of edges in at edge distance j from edge The Table 2 can be easily formulated for and it will be used to get the edge distances between two arbitrary edges in .
Table 2.
for .
By the symmetry of the necklace graph , it is clear that for
For n =
For n =
Lemma 2.
, whenever
Proof.
The Table 3 represents the vectors of edge version of representations of with respect to
Table 3.
Vectors of edge version of representations of .
It can be verified that for each j∈, no two edges ∈ exist such that holds. Also for any ∈, there do not exist any two edges f∈ and g∈ such that . So, becomes the minimal edge version of doubly resolving set for and therefore the Lemma 2 holds. ☐
Lemma 3.
whenever,
Proof.
As we know that holds. Now the Table 4 represents the vectors of edge version of representations of with respect to .
Table 4.
Vectors of edge version of representations of , for .
Table 4 shows that for j∈ there do not exist two edges ∈ such that the following condition holds. Also, for any ∈, there do not exist any two edges f∈ and g∈ such that . So, becomes the minimal edge version of doubly resolving set for and therefore the Lemma 3 holds. ☐
Note: A counting technique determines that for and 3. The sets and are the minimal edge version of doubly resolving sets for and respectively. When Lemma 2 and Lemma 3 is combined, then the following main theorem is formulated.
Theorem 3.
Letbe the necklace graph. Thenfor
4. Conclusions
In this paper, we have extended the notion of metric dimension to the edge version of metric dimension for the necklace graph which is the least cardinality over all edge versions of resolving sets. We also calculated the minimal edge version of doubly resolving sets for . It is interesting to consider the necklace graph because its edge version of metric dimension and the minimal edge version of doubly resolving set are independent of parity of n. In previous work on necklace graphs, (see [30,31]) resolving sets were based on vertices and distances were calculated between vertices only. While, in this paper edges have been considered for getting resolving sets and distances have been calculated between edges. Finally, we get = for every
Author Contributions
J.-B.L. designed the problem. Z.Z. investigate the problem. R.N. wrote the paper and W.N. validate the results.
Funding
This research was funded by China Postdoctoral Science Foundation under grant No. 2017M621579 and Postdoctoral Science Foundation of Jiangsu Province under grant No. 1701081B. Project of Anhui Jianzhu University under Grant no. 2016QD116 and 2017dc03. Anhui Province Key Laboratory of Intelligent Building & Building Energy Saving.
Acknowledgments
The authors are grateful to the reviewers for suggestions to improve the presentation of the manuscript.
Conflicts of Interest
The authors declare no conflict of interest.
Open Problem
Characterize all classes of graphs in which metric dimension/doubly resolving sets coincides with edge version of metric dimension/doubly resolving sets.
References
- Slater, P.J. Leaves of trees. Congr. Numer. 1975, 14, 549–559. [Google Scholar]
- Harary, F.; Melter, R.A. On the metric dimension of a graph. Ars Combin. 1976, 2, 191–195. [Google Scholar]
- Khuller, S.; Raghavachari, B.; Rosenfeld, A. Landmarks in Graphs. Discret. Appl. Math. 1996, 70, 217–229. [Google Scholar] [CrossRef]
- Chartrand, G.; Eroh, L.; Johnson, M.A.; Oellermann, O.R. Resolvability in graphs and the metric dimension of a graph. Discret. Appl. Math. 2000, 105, 99–113. [Google Scholar] [CrossRef]
- Garey, M.R.; Johnson, D.S. Computers and Intractability: A Guide to the Theory of NP-Completeness; Freeman: New York, NY, USA, 1979. [Google Scholar]
- Bailey, R.F.; Cameron, P.J. Base size, metric dimension and other invariants of groups and graphs. Bull. Lond. Math. Soc. 2011, 43, 209–242. [Google Scholar] [CrossRef]
- Chartrand, G.; Zhang, P. The theory and applications of resolvability in graphs. A Survey. Congr. Numer. 2003, 160, 47–68. [Google Scholar]
- Buckley, F. Mean distance in line graphs. Congr. Numer. 1981, 32, 153–162. [Google Scholar]
- Cohen, N.; Dimitrov, D.; Krakovski, R.; Skrekovski, R.; Vukasinovic, V. On Wiener index of graphs and their line graphs. MATCH Commun. Math. Comput. Chem. 2010, 64, 683–698. [Google Scholar]
- Gutman, I. Distance of line graphs. Graph. Theory Notes N. Y. 1996, 31, 49–52. [Google Scholar]
- Gutman, I.; Pavlovic, L. More on distance of line graphs. Graph. Theory Notes N. Y. 1997, 33, 14–18. [Google Scholar]
- Imran, M.; Bokhary, S.A. On resolvability in double-step circulant graphs. UPB Sci. Bull. Ser. A 2014, 76, 31–42. [Google Scholar]
- Iranmanesh, A.; Gutman, I.; Khormali, O.; Mahmiani, A. The edge versions of the Wiener index. MATCH Commun. Math. Comput. Chem. 2009, 61, 663–672. [Google Scholar]
- Ramane, H.S.; Ganagi, A.B.; Gutman, I. On a conjecture of the diameter of line graphs of graphs of diameter two. Kragujev. J. Math. 2012, 36, 59–62. [Google Scholar]
- Ramane, H.S.; Gutman, I. Counterexamples for properties of line graphs of graphs of diameter two. Kragujev. J. Math. 2010, 34, 147–150. [Google Scholar]
- Ramane, H.S.; Revankar, D.S.; Gutman, I.; Walikar, H.B. Distance spectra and distance energies of iterated line graphs of regular graphs. Publ. Inst. Math. 2009, 85, 39–46. [Google Scholar] [CrossRef]
- Su, G.; Xu, L. Topological indices of the line graph of subdivision graphs and their Schur-bounds. Appl. Math. Comput. 2015, 253, 395–401. [Google Scholar] [CrossRef]
- Wu, B. Wiener index of line graphs. MATCH Commun. Math. Comput. Chem. 2010, 64, 699–706. [Google Scholar]
- Kelenc, A.; Tratnik, N.; Yero, I.G. Uniquely identifying the edges of a graph: The edge metric dimension. Discret. Appl. Math. 2018. [Google Scholar] [CrossRef]
- Nasir, R.; Zafar, S.; Zahid, Z. Edge metric dimension of graphs. Ars Combin. 2018, in press. [Google Scholar]
- Feng, M.; Xu, M.; Wang, K. On the metric dimension of line graphs. Discret. Appl. Math. 2013, 161, 802–805. [Google Scholar] [CrossRef]
- Cáceres, J.; Hernado, C.; Mora, M.; Pelayo, I.M.; Puertas, M.L.; Seara, C.; Wood, D.R. On the Metric Dimension of Cartesian Products of Graphs. SIAM J. Discret. Math. 2007, 21, 423–441. [Google Scholar] [CrossRef]
- Eroh, L.; Kang, C.X.; Yi, E. Metric Dimension and Zero Forcing Number of Two Families of Line Graphs. Math. Biochem. 2014, 139, 467–483. [Google Scholar]
- Cangalovic, M.; Kratica, J.; Kovacevic-Vujcic, V.; Stojanovic, M. Minimal doubly resolving sets of prism graphs. Optimization 2013, 62, 1037–1043. [Google Scholar] [CrossRef]
- Kratica, J.; Kovacevic, V.; Cangalovic, M.; Stojanovic, M. Minimal doubly resolving sets and the strong metric dimension of Hamming graphs. Appl. Anal. Discret. Math. 2012, 6, 63–71. [Google Scholar] [CrossRef]
- Kratica, J.; Kovacevic, V.; Cangalovic, M.; Stojanovic, M. Minimal doubly resolving sets and the strong metric dimension of some convex polytope. Appl. Math. Comput. 2012, 218, 9790–9801. [Google Scholar] [CrossRef]
- Ahmad, M.; Zahid, Z.; Zafar, S. On minimal edge version of doubly resolving sets of a graph. arXiv, 2018; arXiv:1807.02365. [Google Scholar]
- Syslo, M.M.; Proskurowski, A. On Halin graphs. In Graph Theory; Lecture Notes in Mathematics; Springer: New York, NY, USA, 1983; Volume 1018, pp. 248–256. [Google Scholar]
- Lovasz, L.; Plummer, M.D. On a family of planar bicritical graphs. Proc. Lond. Math. Soc. 1975, 30, 160–176. [Google Scholar] [CrossRef]
- Tomescu, I.; Imran, M. R-Sets and Metric Dimension of Necklace Graphs. Appl. Math. Inf. Sci. 2015, 9, 63–67. [Google Scholar] [CrossRef]
- Ahmad, A.; Baca, M.; Sultan, S. Minimal Doubly Resolving Sets of Necklace Graph. Math. Rep. 2018, 20, 123–129. [Google Scholar]
© 2018 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).