#### Abstract

In computer networks, vertices represent hosts or servers, and edges represent as the connecting medium between them. In localization, some special vertices (resolving sets) are selected to locate the position of all vertices in a computer network. If an arbitrary vertex stopped working and selected vertices still remain the resolving set, then the chosen set is called as the fault-tolerant resolving set. The least number of vertices in such resolving sets is called the fault-tolerant metric dimension of the network. Because of the variety of applications of the metric dimension in different areas of sciences, many generalizations were proposed, and fault tolerant is one of them. In this paper, we computed the fault-tolerant metric dimension of triangular snake, ladder, Mobius ladder, and hexagonal ladder networks. It is important to observe that, in all these classes of networks, the fault-tolerant metric dimension and metric dimension differ by 1.

#### 1. Introduction

Let be a simple connected graph, where and are the set of vertices and edges, respectively. The distance between a pair of vertices is the length of the shortest path joining them. A vertex resolves or distinguishes a pair if . The representation of an arbitrary vertex corresponding to an ordered nonempty subset of vertices is the -component vector . A subset is named the resolving set if any pair possesses the condition of unique representation, that is, . The least possible cardinality of is named the metric dimension of the graph and symbolized as . A resolving set containing a least possible number of elements is named as basis. A basis set of is called the fault-tolerant basis set if, for every , the subset again resolves the vertices of . The least number of vertices in is termed as the fault-tolerant metric dimension of and is denoted by . Chaudhry et al. [1] proved an important relationship between the fault-tolerant metric dimension and the metric dimension of a graph .

First time, the idea of metric dimension was studied by Slater [2] in 1975 and later by Harary and Melter [3] in 1976. Chartrand et al. [4] considered metric bases as sensors. If any of the sensors did not operate correctly, then we do not have sufficient knowledge to deal with the intruders. Hernando et al. [5] presented the idea of fault-tolerant metric dimension to overcome this kind of problems. Fault-tolerant basis set delivers accurate information despite being one of the sensors is not working. Because of different applications, the study of fault-tolerant resolving sets of different networks is as sundry as the study of the metric dimension is.

It was proved that computing the metric dimension is NP-complete [6]. However, the idea of uniquely identifying every vertex in a graph based on distance is very useful. The application of this concept in chemical structures was presented by Chartrand el al. [4]. In robot navigation, the work by Khuller et al. [7] motivated the researchers for the theoretical investigation of the metric dimension. The resolving set has found a number of applications. For more details, see [8–10]. Generally, computing the fault-tolerant metric dimension is also an NP-complete problem. Computing the fault-tolerant metric dimension is considered as one of the interesting but difficult problems in combinatorics. So far, only few structures have been investigated. In the initial paper, Hernando et al. [5] computed the fault-tolerant basis sets of tree . For a graph , they derived a connection between the fault-tolerant metric dimension and the metric dimension, that is, . Javaid et al. [11] studied this parameter of cycle graph and discussed some bounds on the partition dimension. For more results related to the fault-tolerant metric dimension, the interested readers can see [12–23].

The core objective of this paper is to find some classes of graphs satisfying the equation . It has been observed that if is ladder , Möbius ladder , and hexagonal Möbius ladder graph , then the metric dimension and fault-tolerant metric dimension differ by 1. Also, for triangular snake graph , the above equality holds if and only if . In order to prove these results, we need some results from the literature.

Theorem 1. *(see [4]). The metric dimension of a graph is 1 iff .*

Theorem 2. *(see [24]). Let be a Möbius ladder graph. Then,*

Theorem 3. *(see [25]). Let be a hexagonal Möbius ladder graph. Then,*

Theorem 4. *(see [5]). Let be a ladder graph with . Then,*

#### 2. Fault-Tolerant Metric Dimension of the Triangular Snake Graph

This section deals with the metric dimension and fault-tolerant metric dimension of the triangular snake graph. Let be a path with vertex set , where is an odd integer. A triangular snake graph is constructed from by connecting with for . Note that represents the cardinality of triangles in . The triangular snake graph is depicted in Figure 1. In the following Lemma 1, we calculate the metric dimension of triangular snake graph .

Lemma 1. *Let be a triangular snake graph with . Then,*

*Proof. *From Theorem 1, it follows that . To prove that , we prove that . Let be a resolving set. Then, the representations of vertices regarding the resolving set are as follows:As all the vertices have unique representations regarding the resolving set , hence, .

Theorem 5. *Let be a triangular snake graph; then,*

*Proof. *First, we show that when . To prove this, it is enough to show that . The inequality follows from Lemma 1 and equation (1). If we take , then it satisfies the condition of the fault-tolerant resolving set. The following is the representation of any vertex of the graph with respect to :where when and zero, otherwise.

Now, we prove that when . For this, we construct a fault-tolerant resolving set. Take ; the following is the representation of any vertex of graph with :where for and zero, otherwise. Hence, it follows from the above discussion that since every vertex of has a unique representation regarding resolving set .

We prove the reverse inequality by the contradiction method. Suppose , it follows from Lemma 1 that . Let us consider some resolving set with cardinality 3.

*Case 1. *Let , where . If we choose , then . For any other choice of , we get .

*Case 2. *Let or , where and . In other words, we are taking the first vertex from the first triangle and the remaining vertices from any arbitrary triangle. Then, it is easy to observe that there exists an integer such that .

*Case 3. *Let , where . Then, .

Hence, it follows from the above discussion that when . This implies that when . This completes the proof.

#### 3. Fault-Tolerant Metric Dimension of Ladder Graphs

A ladder graph is obtained by the Cartesian product of path with path and is denoted by . Observe that . The ladder graph is shown in Figure 2. In the following theorem, we compute the fault-tolerant metric dimension of the ladder graph.

Theorem 6. *Let be a ladder graph with . Then,*

*Proof. *The inequality follows from Theorem 4 and equation (1). To prove , we construct a fault-tolerant resolving set. Let ; then, the representation of any vertex of the graph with can be computed aswhere for and for and zero, otherwise. Observe that all the vertices of have a unique representation regarding fault-tolerant set . Hence, .

The Möbius ladder was first introduced by Richard Guy and Frank Harary [26]. It is a three-regular graph created by a cycle by joining vertices of the cycle iff . Möbius ladder has an even number of vertices. It is denoted by , where . The vertices which satisfy this condition are called antipodal. The graph of the Möbius ladder is shown in Figure 3. Möbius ladders have several uses in different fields of sciences such as stereochemistry, computer networks, and electrotechnology. In the next result, we find the fault-tolerant metric dimension of the Möbius ladder.

Theorem 7. *Let be a Möbius ladder graph. Then,*

*Proof. *Let be an even integer. The inequality follows from Theorem 2 and equation (1). To prove , we construct a set satisfying the definition of fault-tolerant metric dimension. Let ; then, the distances of any vertex of the graph corresponding to can be computed as follows.

Distance of vertex from vertex isDistance of vertex from vertex isDistance of vertex from vertex isDistance of vertex from vertex isSince all the vertices of have unique representations regarding the resolving set , hence, .

Now, let be an odd integer. To prove that , we construct a resolving set satisfying the condition of the fault-tolerant metric dimension. Let ; then, the distance of any vertices from the vertex , and is as follows.

Distance of vertex from vertex isDistance of vertex from vertex isDistance of vertex from vertex isSince all the vertices of have unique representations regarding decided resolving set , hence, .

A hexagonal Möbius ladder is constructed by subdividing each horizontal edge of the square lattice; thus, we obtained a lattice in which each cycle has order six; after creating this lattice, twist the recently attained lattice and join the utmost left and right vertices as shown in Figure 4. Hexagonal Möbius ladder contains horizontal and vertical cycles. Let be a hexagonal Möbius ladder with horizontal cycles and 1 vertical cycle. In the next theorem, we compute the fault-tolerant metric dimension of .

Theorem 8. *Let be a hexagonal Möbius ladder graph. Then,*

*Proof. *Let ; the inequality follows from Theorem 3 and equation (1). To prove , we construct a set satisfying the definition of fault-tolerant metric dimension. Let ; then, the distances of any vertex of the graph corresponding to can be computed as follows.

Distance of vertex from vertex isDistance of vertex from vertex isDistance of vertex from vertex isIt is easy to see that every vertex of has its unique representation with the resolving set . Hence, .

Let ; to prove that , it is enough to construct a fault-tolerant resolving set of four elements that satisfy the condition of fault-tolerant metric dimension. Let ; then, the distance of any vertex of with can be computed as follows.

Distance of vertex from vertex isDistance of vertex from vertex isDistance of vertex from vertex isDistance of vertex from vertex isIt is easy to see that all the vertices of have unique representations regarding resolving set . Hence, .

#### 4. Conclusion

In this article, we study the fault-tolerant metric dimension of the triangular snake graph, ladder, Möbius ladder, and hexagonal Möbius ladder. It is known that, for cycle graph , we have . Therefore, it is interesting to find some classes of graph in which this equality holds. Note that, in case of the triangular snake graph, ladder, Möbius ladder, and hexagonal Möbius ladder, we have .

#### Data Availability

No data were used to support this study.

#### Disclosure

This research was carried out as a part of the employment of the authors.

#### Conflicts of Interest

The authors declare no conflicts of interest.