Next Article in Journal
Total Fractional-Order Variation-Based Constraint Image Deblurring Problem
Previous Article in Journal
Spatial–Temporal Dynamic Graph Differential Equation Network for Traffic Flow Forecasting
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimal Fault-Tolerant Resolving Set of Power Paths

1
Department of Mathematics, Balurghat College, Balurghat 733101, India
2
Department of Mathematics, Presidency University, Kolkata 700073, India
3
Department of Mathematics, Sungkyunkwan University, Suwon 16419, Republic of Korea
*
Author to whom correspondence should be addressed.
Mathematics 2023, 11(13), 2868; https://doi.org/10.3390/math11132868
Submission received: 4 May 2023 / Revised: 12 June 2023 / Accepted: 21 June 2023 / Published: 26 June 2023

Abstract

:
In a simple connected undirected graph G, an ordered set R of vertices is called a resolving set if for every pair of distinct vertices u and v, there is a vertex w R such that d ( u , w ) d ( v , w ) . A resolving set F for the graph G is a fault-tolerant resolving set if for each v F , F { v } is also a resolving set for G. In this article, we determine an optimal fault-resolving set of r-th power of any path P n when n r ( r 1 ) + 2 . For the other values of n, we give bounds for the size of an optimal fault-resolving set. We have also presented an algorithm to construct a fault-tolerant resolving set of P m r from a fault-tolerant resolving set of P n r where m < n .

1. Introduction

An undirected simple connected graph G has a vertex set V ( G ) and an edge set E ( G ) , and the distance between the vertices u and v is called d G ( u , v ) . This distance is equal to the length of the shortest u v path within G. With an understanding of G, we use d ( u , v ) instead of d G ( u , v ) . A vertex w resolves two vertices u and v if d ( u , w ) d ( v , w ) . The code of a vertex u with respect to an ordered set R = { r 1 , r 2 , , r k } V ( G ) is the k tuple c ( u | R ) = ( d ( u , r 1 ) , d ( u , r 2 ) , , d ( u , r k ) ) . The set R is called a resolving set (RS) if for every two distinct vertices u, v in G, c ( u | R ) c ( v | R ) . Equivalently, R is said to be a resolving set for G if for every two distinct vertices u and v in V ( G ) , there is a vertex w in R that resolves u and v. The minimum cardinality of a resolving set of G is called the metric  dimension of G and it is denoted by β ( G ) .
Harry and Melter [1] and Slater [2] presented metric dimension concepts independently. The metric basis for a graph G is the resolving set of G containing the minimum number of vertices. Elements of metric bases were called censors in an application given in [3]. For a general graph, finding the metric dimension is an NP-hard problem. In [4], Khuller et al. provided a construction that proves that the graph’s metric dimension is NP-hard. It is important to note that metric bases can be utilized in a wide variety of applications, including robot navigation, network optimization, and sensor networks, all of which are heavily used by different government organizations. However, they still have some reservations because if some detectors (elements of the metric basis) are faulty, it will not be possible to identify the nodes (or vertices) uniquely. A malfunctioning censor will not give us enough information to deal with an intruder (fire, thief, etc). Hernando et al. introduced a fault-tolerant metric dimension in order to address these kind of problems and in order to improve the accuracy of detection or robustness of the system [5]. A resolving set F of a graph G is a fault-tolerant  resolving  set (FTRS) if for each v F , F { v } is also a resolving set for G. The fault-tolerant  metric  dimension of G, denoted by β ( G ) , is the minimum cardinality of a fault-tolerant resolving set. A fault-tolerant resolving set of order β ( G ) is called a fault-tolerant  metric  basis. Fault-tolerant metric dimensions are NP-hard problems. Determining the fault-tolerant metric dimension of a graph is an interesting yet difficult combinatorial problem with potential applications to censor networks. So far, it has been explored for a few basic families of graphs. In their introductory paper [5], Hernendo et al. have characterized the fault-tolerant resolving sets in a tree T. They have also shown that the fault-tolerant metric dimension is bounded by a function of the metric dimension (independent of any graph) as β ( G ) β ( G ) ( 1 + 2 · 5 β ( G ) 1 ) for every graph’s G. In [6], Javaid et al. determined the fault-tolerant metric dimension for a cycle C n . Basak et al. [7] determine the fault-tolerant metric dimension of C n 3 .
Due to their interesting properties and wide range of applications, the power graph has been widely studied in the past. Power graphs can be applied in different fields such as routing in networks, quantum random walk in physics, etc. The problem of the metric dimension or fault-tolerant metric dimension of the power of graphs has also been considered in the past. For the power of paths, Alholi et al. [8] have determined some exact value and upper bound for the metric dimension of the power of paths as follows: β ( P n k ) k , β ( P n 3 ) = 3 , β ( P n 4 ) = 4 . Basak et al. [7] studied and envisioned the fault-tolerant metric dimension for the circulant graphs C n ( 1 , 2 , 3 ) , which are basically the 3rd power of cycles. Saha et al. in [9] calculated the metric dimension of the power of finite paths and also characterized all metric bases for the same. There are several interesting recent results on this topic; see [10,11,12]. Due to the widespread applications of power graphs and motivated by the above results, in this article, we study an optimal fault-tolerant resolving set of P n r .
The rest of the paper is organized as follows: Firstly, Section 2 presents a detailed explanation of the various terms and expressions we will use later on to establish the corresponding basic results for the fault-tolerant metric dimension of P n r . In Section 3, we have given some basic properties and results of the resolving set and fault-tolerant resolving set of P n r . We have proven certain essential lemmas that facilitate the determination of the resolving set and fault-tolerant set of P n r . Moreover, in this section, we have presented an algorithm to construct a fault-tolerant resolving set of P m r from a fault-tolerant resolving set of P n r when m < n . In Section 4, we determine fault-tolerant resolving sets of P n r and have given different examples in support of our results. In Section 5, we presented the lower bounds of β ( P n r ) for all n and r and then show the optimality of the FTRS presented in Theorems 1 and 2. In Section 6, we applied lower and upper bounds presented in Section 4 and Section 6 to P n r , where r { 2 , 3 , 4 , 5 , 6 , 8 } . Our bounds have been verified with some examples. We have used an algorithm (Algorithm 1) to construct an optimal fault-tolerant resolving set of P n r , when r ( r 1 ) + 2 n 2 r ( r 1 ) + 1 , from an optimal fault-tolerant resolving set of P 2 r ( r 1 ) + 2 r . In the concluding remarks, we have announced an open problem.

2. Preliminaries and Notations

In this section, we give some definitions, notations, and lemmas that will be beneficial for a better understanding of the paper and its contents. We denote the vertices of P n r by v 0 , v 1 , , v n 1 . The distance between two vertices v i and v j in P n r is given by d ( v i , v j ) = i j r and hence the diameter of P n r is n 1 r . A vertex v i is the left-side or right-side vertex of a vertex v according to i < and i > .
The following lemma gives the basic property of a fault-tolerant resolving set for an arbitrary graph.
Lemma 1
([6]). A set F V ( G ) is a fault-tolerant resolving set of G if and only if every pair of vertices in G is resolved by at least two vertices of F.
Notation 1.
We denote W a , a + 1 as the set of all vertices that resolve the consecutive vertices v a and v a + 1 .
Remark 1.
If F is any fault-tolerant resolving set for P n r , then every pair of vertices must be resolved by at least two elements of F due to Lemma 1, that is, | F W a , a + 1 | 2 for every fault-tolerant resolving set F of P n r and for every pair of vertices v a and v a + 1 .
Definition 1.
For m { 2 , 3 , , r + 1 } , define K m j to be the complete subgraph of P n r induced by { v j , v j + 1 , , v j + m 1 } . For the clique K m j , we call the vertices v j , v j + m 1 as the end  vertices and the others are intermediate  vertices of K m j . For a clique K m i , we denote I ( K m i ) as the set of all intermediate vertices of K m i .
Definition 2
(Distance-hereditary graph). A graph G is called a distance-hereditary graph if distances in any connected induced subgraph are the same as they are in the original graph G.
Definition 3.
In P n r , a vertex v j is calleds-class  element, if j s ( mod r ) , where 0 s r 1 . We shall denote V s ( P n r ) as the set of all s-th class elements in P n r . Note that V ( P n r ) = s = 0 r 1 V s ( P n r ) . The largest s-th class element is the s-th class vertex v with a maximum index ℓ. For example, in P 16 3 ,
V 0 ( P 16 3 ) = { v 0 , v 3 , v 6 , v 9 , v 12 , v 15 } , V 1 ( P 16 3 ) = { v 1 , v 4 , v 7 , v 10 , v 13 } , V 2 ( P 16 3 ) = { v 2 , v 5 , v 8 , v 11 , v 14 } .
The largest 0-class element is v 15 in P 16 3 , whereas the largest 1-class element is v 13 in P 16 3 . Note that V ( P 16 3 ) = V 0 ( P 16 3 ) V 1 ( P 16 3 ) V 2 ( P 16 3 ) .
Proposition 1.
Let a , b and r be three positive integers, where both a and b are greater that r. Then, a r b r if and only if min { a , b } is a multiple of r.
The workflow of the article may be stated as follows. To prove a set W is an RS, we need to verify the globalized conditions in which each pair of vertices is resolved by some vertex of W . First, we transform these globalized conditions into localized conditions in Lemma 3. After that, we show that β ( P n r ) is a non-decreasing function with n (see Lemma 5 and Algorithm 1). Finally, we search for a revolving set F which resolves each consecutive pair vertices of P n r by at least two elements of F (see Theorem 1, Theorem 2). To test the optimality of the FTRS presented in Theorems 1 and 2, we give lower bounds in Section 5.

3. Some Basic Properties of RS and FTRS of P n r

In this section, we give some basic properties and results of the resolving set and fault-tolerant resolving set of P n r . We have proved certain essential lemmas that are beneficial for determining the resolving set and fault-tolerant set of P n r . We have also provided an algorithm to construct a fault-tolerant resolving system of P m r from a fault-tolerant resolving system of P n r when m < n .
Definition 4.
For a fault-tolerant resolving set F, the location of an element u F , we mean the position of u in F. For every fault-tolerant resolving set F of P n r , there is an arrangement of vertices v i 1 , v i 2 , , v i m in F such that i 1 < i 2 < < i m and location of v i is ℓ.
In the lemma below, we determine the vertices which resolve two consecutive vertices of P n r .
Lemma 2.
For any two vertices v a and v a + 1 ,
W a , a + 1 = { v j : j a ( mod r ) , 0 j a } { v j : j a + 1 ( mod r ) , a + 1 j n 1 } .
Proof. 
Let v be a vertex that resolved v a and v a + 1 . The distances of v a and v a + 1 from v are given by
d ( v a , v ) = | a | r , d ( v a + 1 , v ) = | a + 1 | r .
Using Proposition 1, we obtain the following result:    □
Corollary 1.
For two non-negative integers a and b with a < b ,
W a , a + 1 W b , b + 1 = { v a + 1 } if b = a + 1 , Ø if a + 2 b a + r 1 .
Lemma 3.
A set W V ( P n r ) is a resolving set of P n r if and only if it resolves every pair of consecutive vertices of P n r .
Proof. 
If W is a resolving set, then it must resolve every pair of consecutive vertices of P n r . So, we assume W resolves every consecutive vertex of P n r . We show that W is a resolving set for P n r . Let v i and v j be two arbitrary non-consecutive vertices in P n r . With no loss of generality, we assume i < j . We consider the following two cases.
Case 1.  j i r . Then, the vertices v i and v j are in the same clique, say K. Let v resolve the pair ( v i , v i + 1 ) . Then, using Lemma 2, either < i with i ( mod r ) or i + 1 with i + 1 ( mod r ) . Thus, we consider two sub-cases.
Case 1.1.  < i with i ( mod r ) . Here, we assume s ( mod r ) . Then, = r m + s and i = r q + s and so, we have
d ( v , v i ) = q m , d ( v , v j ) = j r i + 2 r = r ( q m ) + 2 r = q m + 1 .
Thus, v resolves the pair ( v i , v j ) .
Case 1.2.  i + 1 with i + 1 ( mod r ) . First, we take i + 1 . Then, > j as j i r . Let s ( mod r ) . Then, = r m + s and i + 1 = r q + s for some non-negative integers m and q. Now, the distances of v i and v j from v are given by
d ( v , v i ) = m q + 1 , d ( v , v j ) = j r i 1 r = r ( m q ) r = m q .
Thus, v resolves the pair ( v i , v j ) when i + 1 . If = i + 1 , then v cannot resolve the pair ( v i , v j ) as d ( v , v i ) = 1 = d ( v , v j ) . Then, by similar argument, it can be shown that the vertex v resolves the pairs ( v i , v j ) , where v is the vertex that resolves the pair of consecutive vertices ( v i 1 , v i ) .
Case 2 .   j i > r . If W consists of a vertex v such that either j or i , then d ( v , v i ) d ( v , v j ) because
d ( v , v j ) = j r i + r r = d ( v , v i ) + 1 when i ,
and
d ( v , v i ) = i r j + r r = d ( v , v j ) + 1 when j .
When all the vertices are between v i and v j , then we can prove the result by using a similar argument as shown in Case 1 .    □
Lemma 4.
A set F V ( P n r ) is an FTRS of P n r if and only if for each of the consecutive vertices u and v of P n r , there are at least two elements of F that resolve u and v.
Proof. 
Using Lemmas 1 and 3, we obtain the result.    □
Lemma 5.
If P n + 1 r has an FTRS having the cardinality p, then P n r has also an FTRS with the cardinality p. In particular, β ( P n r ) β ( P n + 1 r ) .
Proof. 
Let F be an FTRS of P n + 1 r . Note that P n r is a distance-hereditary graph. If v n F , then F will also be an FTRS of P n r . Hence the result is true in this case. So we assume v n F . Let be the largest index such that n ( mod r ) . Let us define a set F 1 by
F 1 = F { v } { v n } if v F , F { v n ( mod r ) 1 } { v n } if v F and n 0 ( mod r ) , F { v r 1 } { v n } if v F and n 0 ( mod r ) .
Our claim F 1 is an FTRS of P n r . Due to Lemma 4, it is sufficient to prove that every pair of consecutive vertices are resolved by at least two elements of F 1 . Let ( v i 1 , v i ) be a pair consecutive vertices. If i n ( mod r ) , then v n can not resolve this pair due to Lemma 2. Therefore, there exists at least two vertices v x and v y in F { v n } that resolve the pair ( v i 1 , v i ) . Hence, this pair is resolved by two elements of F 1 when i n ( mod r ) . So, we assume i n ( mod r ) . Since F is a fault-tolerant resolving set of P n r , so there exists a vertex v x ( x n ) that resolve ( v i 1 , v i ) . Then due to Lemma 2, either v x is a left side vertex of v i 1 with x i 1 ( mod r ) or v x is a right side vertex of v i with x i ( mod r ) . In any case the pair ( v i 1 , v i ) are resolved by at least two elements of F when i n ( mod r ) . This completes the proof.    □

Algorithm to Construct an FTRS of P m r from an FTRS of P n r , Where m < n

In this section, we have presented an algorithm to construct an FTRS of P m r from an FTRS of P n r , where m < n . In this algorithm, the cost of Step III is O ( r ) and the cost of Step V is O ( | F | ) . These are the most expensive cases. So our proposed algorithm has linear time complexity.
Remark 2.
Using Lemma 5 we can prove the correctness of the proposed algorithm (Algorithm 1).
Algorithm 1: Construction of an FTRS of P m r from an FTRS of P n r , where m < n
  • Input: A k-size FTRS F = v i 1 , v i 2 , , v i k for P n r , where i 1 < i 2 < < i k .
  • Initialization: The set V ( P n r ) = { v 0 , v 1 , , v n 1 } and V ( P m r ) = { v 0 , v 1 , , v m 1 } , where  m < n .
  • Step I: If F V ( P m r ) = Ø , then go to Step-VII.
  • Step II: For a vertex u F V ( P m r ) , calculate the class of u, say it is a-class element.
  • Step III: Find the largest a-class element in P m r , say it is v .
  • Step IV: Update F by
    F = F { v } { u } if v F , F { v a 1 } { u } if v F and a 0 , F { v r 1 } { u } if v F and a = 0 .
  • Step V: Remove duplicate elements from F.
  • Step VI: Repeat Step I to Step IV with the new F.
  • Step VII: F is an FTRS.
Example 1.
In this example, we explain the intermediate stages of our presented algorithm by taking the graphs P 21 5 and P 41 5 . We start with the FTRS of P 41 5 as F = { v 4 , v 8 , v 12 , v 16 , v 20 ,   v 24 , v 28 , v 32 , v 36 } , V ( P 41 5 ) = { v 0 , v 1 , , v 40 } and V ( P 21 5 ) = { v 0 , v 1 , , v 20 } .
Step I:
Here, v 24 F V ( P 21 5 ) and it is a 4-class element of V ( P 41 5 ) .
Step II:
 The vertex v 19 is the largest 4-class element of V ( P 21 5 ) and v 19 F .
Step III:
So, we update F by replacing v 24 by v 19 (according to Step IV of Algorithm 1).
Step IV:
Repeat Step I to Step III for the vertices v 28 and v 32 and update F by replacing v 28 by v 18 and replacing v 32 by v 17 . However, for the vertex v 36 we obtain v 16 as the largest class element of V ( P 21 5 ) and v 16 F . So, here, we update F by replacing v 36 by v 0 (according to STEP-IV of Algorithm 1).
OUTPUT:
F = { v 4 , v 8 , v 12 , v 16 , v 20 , v 19 , v 18 , v 17 , v 0 } is an FTRS for P 21 5 .
Example 2.
In this example, we explain the intermediate stages of our presented algorithm by taking the graphs P 26 5 and P 41 5 . We start with the FTRS F = { v 4 , v 8 , v 12 , v 16 , v 20 , v 24 , v 28 , v 32 , v 36 }  of P 41 5 , V ( P 41 5 ) = { v 0 , v 1 , , v 40 } and V ( P 26 5 ) = { v 0 , v 1 , , v 25 } .
Step I:
Here, v 28 F V ( P 26 5 ) and it is a 3-class element of V ( P 41 5 ) .
Step II:
The vertex v 23 is the largest 3-class element of V ( P 26 5 ) and v 23 F .
Step III:
So, we update F by replacing v 28 by v 23 (according to Step IV of Algorithm 1).
Step IV:
Repeat Step I to Step III for the other two elements v 32 and v 36 and update F by replacing v 32 by v 22 and by replacing v 36 by v 21 .
OUTPUT:
F = { v 4 , v 8 , v 12 , v 16 , v 20 , v 24 , v 23 , v 22 , v 21 } is an FTRS for P 26 5 .

4. FTRS of P n r

In this section, we determine fault-tolerant resolving sets of P n r and jotted down different examples to justify our result. In the next section, we show that these are optimal FTRS values.
Theorem 1.
The set F = { v 0 , v 1 , , v 2 r 1 } is a fault-tolerant resolving set of P n r .
Proof. 
To prove the result, we have to show that for every pair of distinct vertices u and v of P n r , there exist at least two elements in F that resolved u and v. Let v i and v j be two vertices of P n r . Without loss of generality, we assume i < j . If v i and v j both are in F, then we have nothing to prove because in that case, one resolves the another. We consider the following two cases according to v i and v j are in F or not.
Case 1 . Both v i and v j are outside of F. Let i s ( mod r ) , where s { 0 , 1 , , r 1 } , i.e., i = m r + s for some positive integer m. Define U = { v s , v r + s } F . The distances of v i and v j from every vertex v U are given below.
d ( v i , v ) = i r = m if = s , m 1 if = r + s .
and
d ( v i , v ) = j r m + 1 if = s , m if = r + s . [ as j > i and i is multiple of r ]
Therefore, d ( v i , v ) d ( v j , v ) for all v U , i.e., v i and v j are resolved by both v s and v r + s whenever i s ( mod r ) .
Case 2 . Exactly one of v i and v j is in F. As i < j and F consists of consecutive vertices starting from the lower index vertex, in this case, v i F , and v j F ; otherwise, v j F gives v i F . Here, we show there exists an element v F ( i ) that resolved v i and v j . Since v i F and v j F , so 0 i 2 r 1 and j 2 r . We consider the following sub-cases.
Case 2.1.  0 i r 1 . In this case, for each i with 0 r 1 , we obtain
d ( v i , v ) = 1 , d ( v j , v ) = j r 2 r ( r 1 ) r 2 .
Thus, if 0 i r 1 , then v i and v j are resolved by v , where 0 r 1 . For better understanding, the reader may follow Example 3. In this example, we see that d ( v , v j ) = 2 or 1, and d ( v , v j ) 2 for all j 10 and 0 i , 5 .
Case 2.2.  r i 2 r 1 . In this case, v i r F and
d ( v i , v i r ) = 1 , d ( v j , v i r ) = j + r i r 3 r ( 2 r 1 ) r 2 .
Thus, in this case, v i and v j are resolved by v i r . □
Example 3.
In the following, we construct the code matrix C ( P 24 5 ) of P 24 5 with respect to F = { v 0 , v 1 , , v 9 } . In this matrix, the i-th column, 0 i 23 , represents the code of the vertex v i with respect to the set F.
Mathematics 11 02868 i001
From this code matrix, we see that every pair of vertices is resolved by at least two elements of F. For example, the vertices v 10 and v 11 are resolved by v 0 and v 5 . More generally, any pair ( v i , v i + 1 ) of two consecutive vertices which are not in F is resolved by exactly two elements of F, namely, v i ( mod 5 ) and v 5 + i ( mod 5 ) . The pair ( v 8 , v 19 ) is resolved by every vertex of F. More generally, the pair ( v i , v j ) with | i j | 11 is resolved by every vertex of F.
Theorem 2.
There exists a fault-tolerant resolving set of P n r with a cardinality of 2 r 1 if r ( r 1 ) + 2 n 2 r ( r 1 ) + 1 .
Proof. 
Since β ( P m r ) β ( P n r ) for m n due to Lemma 5, it is sufficient to show that there is an FTRS of P 2 r ( r 1 ) + 1 r with the cardinality 2 r 1 . Our claim is to show that the set F = { v ( r 1 ) : 1 2 r 1 } is an FTRS of P 2 r ( r 1 ) + 1 r . To determine the classes of the elements of F, we may write ( r 1 ) , where 1 2 r 1 , as in below
( r 1 ) = ( 1 ) r + r for 1 r , ( 2 ) r + 2 r if r + 1 2 r 1 .
Thus, F V s ( P n r ) = 2 for each s { 1 , 2 , , r 1 } and F V 0 ( P n r ) = 1 . In addition, the first and the last elements in F are r 1 class and 1 class, respectively. First, we show that any two consecutive vertices of P 2 r ( r 1 ) + 1 r are resolved by at least two elements of F. Let v i and v i + 1 be two consecutive vertices of P 2 r ( r 1 ) + 1 r . Then, 0 i 2 r ( r 1 ) 1 . We consider the following cases.
Case 1 .   0 i r 1 . The pair ( v r 1 , v r ) is resolved by the vertices v r 1 and v r ( r 1 ) . Thus, we assume 0 i r 2 . Then, both the vertices v ( r ( i + 1 ) ) ( r 1 ) and v ( 2 r ( i + 1 ) ) ( r 1 ) are in F V i + 1 ( P 2 r ( r 1 ) + 1 r ) . In addition, note that these two vertices are on the right side of the pair ( v i , v i + 1 ) . Thus, by using Lemma 2, the pair ( v i , v i + 1 ) are resolved by both the vertices v ( r ( i + 1 ) ) ( r 1 ) and v ( 2 r ( i + 1 ) ) ( r 1 ) .
Case 2 .   ( 2 r 1 ) ( r 1 ) i 2 r ( r 1 ) 1 . The pair v ( 2 r 1 ) ( r 1 ) , v ( 2 r 1 ) ( r 1 ) + 1 , if taken, is resolved by both the vertices v ( r 1 ) ( r 1 ) and v ( 2 r 1 ) ( r 1 ) of F. So, we assume ( 2 r 1 ) ( r 1 ) + 1 i 2 r ( r 1 ) 1 . Then, v i V s P 2 r ( r 1 ) + 1 r for some integer s with 1 s r 1 . Thus, we may assume i s ( mod r ) , where 1 s r 1 . Then, the vertices v ( r s ) ( r 1 ) and v ( 2 r s ) ( r 1 ) are in F V s P 2 r ( r 1 ) + 1 r . In addition, both the elements are on the left side of the pair ( v i , v i + 1 ) . By using Lemma 2, in this case, the pair ( v i , v i + 1 ) is resolved by both the vertices v ( r s ) ( r 1 ) and v ( 2 r s ) ( r 1 ) of F.
Case 3 .   r i ( 2 r 1 ) ( r 1 ) 1 . Let i s ( mod r ) , where 0 s r 1 . We consider the following sub-cases.
Case 3.1.  s { 1 , 2 , , r 2 } . Recall that F V s ( P n r ) = 2 . If the two elements of F V s ( P n r ) are in the left side of the pair ( v i , v i + 1 ) or the two elements of F V s + 1 ( P n r ) are in the right side of ( v i , v i + 1 ) , then Lemma 2 gives that the pair ( v i , v i + 1 ) is resolved by two elements of F. Again, if at least one element of F V s ( P n r ) is in the left side of the pair ( v i , v i + 1 ) and at least one element of F V s + 1 ( P n r ) is in the right side of ( v i , v i + 1 ) , then by the same lemma, this pair is resolved by two elements of F. The largest s + 1 -class element of F is v ( 2 r ( s + 1 ) ) ( r 1 ) and the smallest s-class element of F is v ( r s ) ( r 1 ) . Now, we show that the following statement does not hold for F: “All elements of F V s + 1 ( P n r ) are in the left side of the pair ( v i , v i + 1 ) and all the elements of F V s ( P n r ) are in the right of ( v i , v i + 1 ) ”. If all the elements of F V s + 1 ( P n r ) are in the left side of the pair ( v i , v i + 1 ) and all the elements of F V s ( P n r ) are in the right of ( v i , v i + 1 ) , then ( 2 r ( s + 1 ) ) ( r 1 ) i ( r s ) ( r 1 ) , which is not possible because r 2 . Thus, in this case, the pair ( v i , v i + 1 ) is resolved by at least two vertices of F.
Case 3.2.  s { 0 , r 1 } . First, we assume s = 0 . If i ( r 1 ) ( r 1 ) 1 , then v ( r 1 ) ( r 1 ) and v ( 2 r 1 ) ( r 1 ) resolved the pair ( v i , v i + 1 ) due to Lemma 2. Since ( r 1 ) ( r 1 ) 1 0 ( mod r ) i ( mod r ) , so we take i r ( r 1 ) . By using same lemma, this pair is resolved by v r ( r 1 ) and v ( 2 r 1 ) ( r 1 ) , provided r ( r 1 ) i ( 2 r 1 ) ( r 1 ) . By similar argument, we can prove the result when s = r 1 . □
Example 4.
In this example, we construct an optimal FTRS of P 13 3 as presented in Theorem 2. Here, r = 3 and n = 13 , so n = 6 · 2 + 1 = 2 r ( r 1 ) + 1 . According to Theorem 2, the set F is given by
F = { v 2 i : 1 i 5 } = { v 2 , v 4 , v 6 , v 8 , v 10 } .
Note that F V 0 ( P 13 3 ) = { v 6 } , F V 1 ( P 13 3 ) = { v 4 , v 10 } and F V 2 ( P 13 3 ) = { v 2 , v 8 } . According to Case 1 of Theorem 2, each element of { v 2 , v 6 } resolves the vertices v 2 and v 3 , and each vertex of { v 4 , v 10 } resolves vertices v 0 and v 1 (see the code matrix C ( P 13 3 ) ). As for Case 2 of Theorem 2, the pair ( v 10 , v 11 ) is resolved by the vertices v 4 and v 10 . From the code matrix C ( P 13 3 ) with respect to F = { v 2 , v 4 , v 6 , v 8 , v 10 } , we see that every pair of vertices is resolved by at least two elements of F, where
Mathematics 11 02868 i002

5. Lower Bounds of β ( P n r )

Theorems 1 and 2 give two fault-tolerant resolving sets for P n r . However, the question that can be posed is: are these optimal? In this section, first, we determine lower bounds of β ( P n r ) for all n and r, and then, we show that the FTRS presented in Theorems 1 and 2 are optimal for all most all values of n. To present lower bounds, we need the following notations, lemmas and definitions.
Lemma 6.
Let F be fault-tolerant resolving set for P n r and K r + 1 be a clique in P n r . If F I ( K r + 1 ) = Ø , then | F | 2 r , where I ( K r + 1 ) denotes the set of all intermediate vertices of K r + 1 .
Proof. 
Let V ( K r + 1 ) = { v i , v i + 1 , , v i + r 1 , v i + r } . So, I ( K r + 1 ) = { v i + 1 , , v i + r 1 } . Since F I ( K r + 1 ) = Ø , applying Corollary 1, we have ( F W a , a + 1 ) ( F W a + 1 , a + 2 ) = Ø for each a { i , i + 1 , , i + r 2 } . Again, from Remark 1, we have | F W a , a + 1 | 2 for every a { i , i + 1 , i + r 1 } . Hence, we obtain the result as ( F W a , a + 1 ) ( F W a + 1 , a + 2 ) = Ø for each a { i , i + 1 , , i + r 2 } . □
Lemma 7.
For any fault-tolerant resolving set F and a clique K r + 1 , | F | 2 r | F I ( K r + 1 ) | , where I ( K r + 1 ) denotes the set of all intermediate vertices of K r + 1 .
Proof. 
Let V ( K r + 1 ) = { v i , v i + 1 , , v i + r 1 , v i + r } . For a fault-tolerant resolving set F with F V ( K r + 1 ) = Ø , | F | 2 r due to Lemma 6. Now, our claim is that if v I ( K r + 1 ) F , then the cardinality of F is reduced by at most one. Let F I ( K r + 1 ) = { v } . Let F 1 = F { v } . Then, | W a , a + 1 F 1 | 2 or | W a , a + 1 F 1 | 1 according to a { i , i + 1 , , i + r 1 } { 1 , } or a { 1 , } . Thus, | F 1 | 2 ( r 2 ) + 2 and consequently, | F | 2 r 1 . Hence, the result is true for | F I ( K r + 1 ) | = 1 . □
Corollary 2.
Let F be the FTRS of P n r having 2 r a elements. Then, for every clique K m + 1 , F I ( K m + 1 ) 2 m 2 r + a .
From here onward, we denote K p + 1 as the clique with the vertex set { v , v + 1 , , v + p } .
Lemma 8.
Let F be a fault-tolerant resolving set for P n r consisting of a gap r or more; then, | F | 2 r .
Proof. 
Since F has a gap r or more, there exists vertices v i + 1 , , v i + r 1 which are not in F. Now, consider the clique K r + 1 with V ( K r + 1 ) = { v i , v i + 1 , , v i + r } . Then, F I ( K r + 1 ) = Ø and so applying Lemma 6, we have | F | 2 r . □
Lemma 9.
Let n 2 r ( r 1 ) + 2 . Then, every fault-tolerant resolving set for P n r has a cardinality of at least 2 r .
Proof. 
Let F be a fault-tolerant resolving set of P n r with cardinality m. Without loss of generality, we may assume F = { v i 1 , v i 2 , , v i m } , where i 1 < i 2 < < i m . We consider the following two cases.
Case 1 .  F consists of an internal gap with a size r or more. In this case, i + 1 i r for some { 1 , 2 , , m 1 } ; then, F I ( K r + 1 ) = Ø , where V ( K r + 1 ) = { v i , v i + 1 , , v i + r 1 , v i + r } . Then, applying Lemma 6 to the clique K r + 1 , we obtain | F | 2 r .
Case 2 .  F does not have any internal gap with size r or more. In this case, i + 1 i r 1 for every { 1 , 2 , , m 1 } . Our claim is that an external gap exists with size r or more. Since i + 1 i r 1 for each { 1 , 2 , , m 1 } , we obtain
i m i 1 ( m 1 ) ( r 1 ) .
We take the following two sub-cases.
Case 2.1.  i 1 r . In this case, F does not contains any vertex from the segment v 0 v 1 v r 1 . Let K r + 1 be the clique on ( r + 1 ) vertices v 0 , v 1 , , v r . Then, F I ( K r + 1 ) = Ø and so applying Lemma 6 to this clique, we obtain | F | 2 r .
Case 2.2.  i 1 r 1 . In this case, we prove the result by the contrary. Suppose that | F | < 2 r . Since i 1 r 1 , by using (1), we have i m m ( r 1 ) . Since | F | 2 r 1 , m 2 r 1 and so i m ( 2 r 1 ) ( r 1 ) . Since i m ( 2 r 1 ) ( r 1 ) and n 2 r ( r 1 ) + 2 , i m + r 1 n 2 . Then, v i m , v i m + 1 , v i m + 2 , , v i m + r 1 , v i m + r forms a clique in P n r on ( r + 1 ) vertices, and we name this clique as K r + 1 . Then, applying Lemma 7 to the clique K r + 1 , we have | F I ( K r + 1 ) | 1 , i.e., F v i m + 1 , v i m + 2 , , v i m + r 1 Ø , which contradicts that i m is the last index such that v i m F . Thus, | F | 2 r . In view of the above cases, we obtain the result. □
Theorem 3.
The fault-tolerant metric dimension of P n r is 2 r provided n 2 r ( r 1 ) + 2 .
Proof. 
The result follows immediately from Lemma 9 and Theorem 1. □
Definition 5.
The two vertices v i and v j in P n r are said to be the same class elements if i j ( mod r ) . For example, v 33 and v 41 are the same class elements in P 47 4 .
Theorem 3 determines the fault-tolerant metric dimension of P n r when n 2 r ( r 1 ) + 2 . Now, we find the FTRS and fault-tolerant metric dimension of P n r for smaller values of n.
Lemma 10.
Let r ( r 1 ) + 2 n 2 r ( r 1 ) + 1 and F be a fault-tolerant resolving set of P n r . Then, | F | 2 r 1 .
Proof. 
We prove the lemma by the contrary. Suppose that there is a fault-tolerant resolving set F with a cardinality of at most 2 r 2 . Then, | F I ( K r + 1 i ) | 2 for every i { 0 , r 1 , 2 ( r 1 ) , , ( r 2 ) ( r 1 ) } and | F I ( K r i ) | 1 for i = ( r 1 ) ( r 1 ) , which implies that | F | 2 r 1 . Thus, we obtain a contradiction. □
Theorem 4.
The fault-tolerant metric dimension of P n r is 2 r 1 , provided r ( r 1 ) + 2 n 2 r ( r 1 ) + 1 .
Proof. 
The result follows immediately from Lemma 10 and Theorem 2. □
On account of Theorems 3 and 4, we say that the exact value of the fault-tolerant metric dimension has been obtained when n r ( r 1 ) + 2 . Again, in virtue of Lemma 5 and Algorithm 1, β P n r 2 r 1 for all n r ( r 1 ) + 1 . The lemmas and theorems given below give the range of β P n r for the values of n r ( r 1 ) + 1 .
Lemma 11.
Let a be an integer such that 1 a 2 r 3 . If n 2 r a a + 1 ( r 1 ) + 2 ; then, β P n r 2 r a .
Proof. 
Let F be an arbitrary fault-tolerant resolving set of P n r . If there exists a clique K r + 1 such that F I ( K r + 1 ) a , then using Lemma 7, F consists of at least 2 r a elements. Thus, we assume that F I ( K r + 1 ) a + 1 for every clique K r + 1 on r + 1 vertices. The given condition n 2 r a a + 1 ( r 1 ) + 2 gives 2 r a a + 1 1 ( r 1 ) + r n 1 . Let p = 2 r a a + 1 and S = { 0 , r 1 , 2 ( r 1 ) , , ( p 1 ) ( r 1 ) } . Then, for each i S , we obtain
| F I ( K r + 1 i ) | a + 1 .
Note that F I ( K r + 1 i ) F I ( K r + 1 j ) = Ø for distinct i , j S , so using (2), we have
| F | S F I ( K r + 1 ) ( a + 1 ) | S | = ( a + 1 ) p = ( a + 1 ) 2 r a a + 1 2 r a .
So finally, | F | 2 r a for every fault-tolerant resolving set F provided n 2 r a a + 1 ( r 1 ) + 2 . This completes the proof. □
Theorem 5.
For P n r , β P n r 2 r , provided n 2 r ( r 1 ) + 2 . Moreover, β P n r 2 r a provided 2 r a a + 1 ( r 1 ) + 2 n 2 r a + 1 a ( r 1 ) + 1 .
Proof. 
If n 2 r ( r 1 ) + 2 , then applying Lemma 7, we obtain that | F | 2 r for every fault-tolerant resolving set F of P n r . Thus, β P n r 2 r , provided n 2 r ( r 1 ) + 2 . Applying Lemma 11, we obtain that
β ( P n r ) 2 r a if n 2 r a a + 1 ( r 1 ) + 2 , 2 r a + 1 if n 2 r a + 1 a ( r 1 ) + 2 .
Inequality (3) gives the result. □
Theorem 6.
Let n s ( mod ( r 1 ) ) and a be a positive integer with 1 a 2 r 3 . If β ( P n r ) = 2 r a , then the upper bound on n is as follows:
(a)
For s { 0 , 1 } ,
n 4 r 2 s 2 a + 2 a ( r 1 ) + s if a > 2 ( r s + 1 ) , 2 r a a ( r 1 ) + s otherwise .
(b)
For s = 0 ,
n 2 r a + 4 a ( r 1 ) if a > 4 , 2 r a a + 1 ( r 1 ) otherwise .
(c)
For s = 1 ,
n 2 r a + 2 a ( r 1 ) + 1 if a > 2 , 2 r a a + 1 ( r 1 ) + 1 otherwise .
Proof. 
By division algorithm, we may write n = m ( r 1 ) + s for some integers m and s with 0 s r 2 . Let F be an FTRS such that | F | = 2 r a . Using Lemma 7, we obtain F I ( K r + 1 ) a for every clique K r + 1 . We consider the following two cases.
Case 1 .   s { 0 , 1 } , i.e., 2 s r 2 . Let U = { 0 , r 1 , 2 ( r 1 ) , , ( m 1 ) ( r 1 ) } . Since s 2 , ( m 1 ) ( r 1 ) + ( r 1 ) = m ( r 1 ) < n 1 and so for each i U , we have the following inequality
F { v i + 1 , v i + 2 , , v i + r 1 } a .
Note that F { v i , v i + 1 , , v i + r 1 } and F { v j , v j + 1 , , v j + r 1 } are disjoint for two distinct elements i and j of U. Thus, on account of the above inequalities for all i U , we obtain F { v 1 , , v m ( r 1 ) } m a . Again, if a > 2 ( r s + 1 ) , then applying Corollary 2 to the clique on the vertices { v m ( r 1 ) , , v m ( r 1 ) + s 1 } , we obtain
| F { v m ( r 1 ) + 1 , , v m ( r 1 ) + s 2 } | 2 ( s 1 ) 2 r + a = a 2 ( r s + 1 ) .
Since | F | = 2 r a , m a 2 r a or m a + a 2 ( r s + 1 ) 2 r a according to a 2 ( r s + 1 ) or a > 2 ( r s + 1 ) . Thus, m 2 r a a or m 4 r + 2 s 2 a + 2 a according to a 2 ( r s + 1 ) or a > 2 ( r s + 1 ) . Using the maximum possible value of m in n = m ( r 1 ) + s , we obtained the result.
Case 2 .   s { 0 , 1 } . We consider the following two sub-cases.
Case 2.1.  s = 0 . In this case, n = m ( r 1 ) . Let U 1 = { 0 , r 1 , , ( m 2 ) ( r 1 ) } . Then, by similar argument as described in Case 1 , we obtain that the inequality
F { v i , v i + 1 , , v i + r 1 } a
is true for each i U 1 . Again, if a > 4 , then using Corollary 2 to the clique with vertices { v ( m 1 ) ( r 1 ) , , v m ( r 1 ) 1 } , we obtain
| F { v ( m 1 ) ( r 1 ) + 1 , , v m ( r 1 ) 2 } | 2 ( r 2 ) ( 2 r a ) = a 4 .
Thus, F consists of at least ( m 1 ) a + a 4 elements or at least ( m 1 ) a according to a > 4 or a 4 . Since | F | = 2 r a , so ( m 1 ) a + a 4 2 r a or ( m 1 ) a 2 r a according to a > 4 or a 4 . Thus, m 2 r a + 4 a or m 2 r a a + 1 according to a > 4 or a 4 . By putting the maximum possible values of m in n = m ( r 1 ) for different values of a, we obtain the result.
Case 2.2.  s = 1 . In this case, n = m ( r 1 ) + 1 . Let U 1 = { 0 , r 1 , , ( m 2 ) ( r 1 ) } . By a similar argument as in Case 1 , we have that the inequality
F { v i , v i + 1 , , v i + r 1 } a
is true for each i U 1 . Again, if a > 2 , then using Corollary 2 to the clique with vertices { v ( m 1 ) ( r 1 ) , , v m ( r 1 ) } , we obtain
| F { v ( m 1 ) ( r 1 ) + 1 , , v m ( r 1 ) 1 } | 2 ( r 1 ) ( 2 r a ) = a 2 .
Then, by a similar argument as of Case 2 . 1 , we obtain the result. □

6. Applications of Bounds

In this section, we apply the results of lower and upper bounds that we have obtained in previous sections for P n r , where r { 2 , 3 , 4 , 5 , 6 , 8 } . We have presented some examples to verify the sharpness of our bounds. Algorithm 1 is also used to construct an optimal fault-tolerant resolving set of P n r , when r ( r 1 ) + 2 n 2 r ( r 1 ) + 1 , from an optimal fault-tolerant resolving set of P 2 r ( r 1 ) + 2 r , which can be found from the proof of Theorem 2.
Example 5.
Theorem 5 gives that β ( P n 2 ) 4 for n 6 , whereas Theorem 1 shows that β ( P n 2 ) 4 . Thus, we obtain the result that the fault-tolerant metric dimension of the square of path P n 2 is 4 when n 6 . In the below, we calculate the codes of each vertex for P 10 2 with respect to the fault-tolerant resolving set F = { v 0 , v 1 , v 2 , v 3 } (Figure 1). The distance matrix D for P 10 2 has been given below.
Mathematics 11 02868 i003
In the matrix, D, the ( i , j ) -th entry represents the distance between v i and v j . Now, if we choose a 4 × 10 sub-matrix D F consisting of the first four rows, we have the following matrix whose ( j + 1 ) -th column represents the code of v j with respect to the set F = { v 0 , v 1 , v 2 , v 3 } .
Mathematics 11 02868 i004
In the above matrix D F , every pair of columns is different in two places, and hence, F is a fault-tolerant resolving set. For example, if we take the 6-th and 7-th columns, then these two columns differ in the 2nd and 4th places. Again, if we choose a 3 × 10 sub-matrix consisting of the first three rows, we have the following matrix whose ( j + 1 ) -th column represents the code of v j with respect to the set F = { v 0 , v 1 , v 2 } .
Mathematics 11 02868 i005
Here, the 6-th and 7-th columns differ in only one place. So, F cannot be a fault-tolerant resolving set for P n 2 .
Example 6.
Applying the result of Theorem 5, we have
β ( P n 3 ) 6 if n 14 , 5 if 8 n 13 .
Again, applying Theorem 1, the set v 0 , v 1 , , v 5 , say F, is a fault-tolerant resolving set of P n 3 . Inequality (5) gives that the set F is optimal fault-tolerant when n 14 . Table 1 gives an optimal fault-tolerant resolving set of P n 3 for 8 n 13 .
Example 7.
Applying Theorem 5, we obtain a lower bound for the fault-tolerant metric dimension of P n 4 as
β ( P n 4 ) 8 if n 26 , 7 if 14 n 25 , 6 if 8 n < 13 .
Using inequality (6) and Theorem 1, the set v 0 , v 1 , , v 7 is an optimal FTRS of P n 4 provided n 26 . Again, using inequality (6) and Lemma 10, we obtain an optimal FTRS of P n 4 , provided 14 n 25 . Using Sage-Math, we determine an optimal fault-tolerant resolving set for P n 4 when 8 n 12 . In Table 2, we show an optimal fault-tolerant resolving set of P n 4 for 8 n 25 .
Example 8.
Theorem 5 generates a lower bound for the fault-tolerant metric dimension of P n 5 as
β ( P n 5 ) 10 if n 42 , 9 if 22 n 41 , 8 if 14 n 21 , 7 if 10 n 13 .
By similar argument as in the above example, v 0 , v 1 , , v 9 is an optimal FTRS when n 42 . From the proof of Theorem 2 and inequality (7), we can say that { v 4 , v 8 , v 12 , v 16 , v 20 , v 24 , v 28 , v 32 , v 36 } forms an optimal FTRS of P 41 5 . In addition, using Algorithm 1, we can construct an FTRS of P n 5 with a cardinality of 9. Thus, using (7), we obtain β ( P n 5 ) = 9 for 22 n 41 . In Table 3, we have provided an optimal FTRS of P n 5 when 12 n 20 . For n = 10 and n = 11 , the sets F 1 = { v 0 , v 1 , v 3 , v 4 , v 5 , v 7 , v 8 } and F 2 = { v 1 , v 2 , v 3 , v 4 , v 5 , v 6 , v 8 , v 9 } are the optimal FTRS of P n 5 , respectively.
Example 9.
In Table 4, we consider the graph P n 6 and find the ranges of n for different values of β ( P n 6 ) and a from Theorem 5. In Table 5, we calculate the upper bounds on n for all possible values of a for the graph P n 6 . In Table 6, we calculate the exact value of β ( P n 6 ) for different values of n using Sage-Math, where V ( P n 6 ) = { v 0 , v 1 , , v n 1 } . Finally, we summarize the fault-tolerant metric basis for P n 6 for different values of n.
β ( P n 6 ) = 7 n [ 1 , 7 ] , 8 n [ 8 , 12 ] , 9 n [ 13 , 17 ] , 10 n [ 18 , 30 ] , 11 n [ 31 , 61 ] , 12 n 62 .
Example 10.
In this example, we take the graph P n 8 . In Table 7, we find the lower bound on β ( P n 8 ) for different ranges of n and a.
In Table 8, we calculate the exact value of β ( P n 8 ) for different values of n using Sage-Math, where V ( P n 8 ) = { v 0 , v 1 , , v n 1 } . In Table 9, we calculate the upper bounds on n for possible values of a for the graph P n 8 . In Table 10, given below, we state the fault-tolerant metric dimension and an optimal FTRS of P n 8 for different values of n.

7. Concluding Remark

In this article, we study the fault-tolerant metric dimension of P n r for all n and r. We have presented an algorithm to construct a fault-tolerant resolving system of P m r from a fault-tolerant resolving system of P n r when m < n . We have found the exact value of β ( P n r ) and presented an optimal FTRS for n r ( r 1 ) + 2 . For the other values of n, we presented several bounds. These results have been applied to P n r for r { 3 , 4 , 5 , 6 , 8 } and we obtained exact values or bounds for β ( P n r ) . Although we have presented several bounds for β ( P n r ) when n r ( r 1 ) + 1 , the problem below is still open.
Problem: Determine the fault-tolerant metric dimension of P n r when n r ( r 1 ) + 1 .

Author Contributions

Conceptualization—L.S., R.L., B.D., A.A. and K.C.D.; investigation— L.S., R.L., B.D., A.A. and K.C.D.; writing—original draft preparation—L.S., R.L., B.D., A.A. and K.C.D.; writing—review and editing—L.S., R.L., B.D., A.A. and K.C.D. All authors have read and agreed to the published version of the manuscript.

Funding

L. Saha and A. Adhikary would like to thank the Science and Engineering Research Board (DST) of India for its financial assistance (Grant No. CRG/2019/006909). K. C. Das is supported by the National Research Foundation funded by the Korean government (Grant No. 2021R1F1A1050646).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Harary, F.; Melter, R.A. On the metric dimension of a graph. Ars. Combin. 1976, 2, 191–195. [Google Scholar]
  2. Slater, P.J. Leaves of trees. Congr. Numer. 1975, 14, 549–559. [Google Scholar]
  3. Chartrand, G.; Zhang, P. The theory and applicatons of resolvability in graphs, A survey. In Proceedings of the 34 Southeastern International Conference on Combinatorics, Graph Theory and Computing, Boca Raton, FL, USA, 3–7 March 2003; Volume 160, pp. 47–68. [Google Scholar]
  4. Khuller, S.; Raghavachari, B.; Rosenfeld, A. Landmarks in graphs. Discret. Appl. Math. 1996, 70, 217–229. [Google Scholar] [CrossRef]
  5. Hernando, C.; Mora, M.; Slater, P.J.; Wood, D.R. Fault-Tolerant Metric Dimension of Graphs. Convexity Discret. Struct. 2008, 5, 81–85. [Google Scholar]
  6. Javaid, I.; Salman, M.; Chaudhry, M.A.; Shokat, S. Fault-Tolerance in Resolvability. Util. Math. 2009, 80, 263–275. [Google Scholar]
  7. Basak, M.; Saha, L.; Das, G.K.; Tiwary, K. Fault-tolerant metric dimension of circulant graphs Cn(1,2,3). Theor. Comput. Sci. 2020, 817, 66–79. [Google Scholar] [CrossRef]
  8. AlHoli, M.M.; AbuGhneim, O.A.; Ezeh, H.A. Metric dimension of some path related graphs. Glob. J. Pure Appl. Math. 2017, 3, 149–157. [Google Scholar]
  9. Saha, L.; Basak, M.; Tiwary, K.; Das, K.C.; Shang, Y. On the Characterization of a Minimal Resolving Set for Power of Paths. Mathematics 2022, 10, 2445. [Google Scholar] [CrossRef]
  10. Saha, L.; Basak, M.; Tiwary, K. All metric bases and fault-tolerant metric dimension for square of grid. Opusc. Math. 2022, 42, 93–111. [Google Scholar] [CrossRef]
  11. Saha, L.; Das, B.; Tiwary, K.; Das, K.C.; Shang, Y. Optimal multi-level fault-tolerant resolving sets of circulant graph C(n: 1,2). Mathematics 2023, 11, 1896. [Google Scholar] [CrossRef]
  12. Saha, L.; Lama, R.; Tiwary, K.; Das, K.C.; Shang, Y. Fault-tolerant metric dimension of circulant graphs. Mathematics 2022, 10, 124. [Google Scholar] [CrossRef]
Figure 1. The figure shows a 10 vertex square path.
Figure 1. The figure shows a 10 vertex square path.
Mathematics 11 02868 g001
Table 1. Fault-tolerant metric basis of P n 3 for 8 n 13 .
Table 1. Fault-tolerant metric basis of P n 3 for 8 n 13 .
Values of nValues of β ( P n 3 ) Elements of Fault-Tolerant Metric Basis
85 { v 0 , v 1 , v 2 , v 3 , v 5 }
95 { v 0 , v 1 , v 2 , v 4 , v 6 }
10 , 11 5 { v 0 , v 2 , v 4 , v 6 , v 8 }
12 , 13 5 { v 1 , v 3 , v 5 , v 7 , v 9 }
Table 2. Fault-tolerant metric basis of P n 4 for 8 n 25 .
Table 2. Fault-tolerant metric basis of P n 4 for 8 n 25 .
Values of nValues of β ( P n 4 ) Elements of Fault-Tolerant Metric Basis
86 { v 0 , v 1 , v 2 , v 3 , v 4 , v 6 }
9 , 10 6 { v 0 , v 1 , v 3 , v 4 , v 6 , v 7 }
116 { v 1 , v 2 , v 4 , v 5 , v 7 , v 8 }
126 { v 2 , v 3 , v 5 , v 6 , v 8 , v 9 }
13 , 14 7 { v 0 , v 1 , v 2 , v 3 , v 4 , v 7 , v 10 }
157 { v 0 , v 1 , v 2 , v 3 , v 5 , v 8 , v 11 }
167 { v 0 , v 1 , v 2 , v 3 , v 6 , v 9 , v 12 }
17 , 18 , 19 7 { v 0 , v 1 , v 3 , v 6 , v 9 , v 12 , v 15 }
20 , 21 , 22 7 { v 0 , v 3 , v 6 , v 9 , v 12 , v 15 , v 18 }
237 { v 1 , v 4 , v 7 , v 10 , v 13 , v 16 , v 19 }
247 { v 2 , v 5 , v 8 , v 11 , v 14 , v 17 , v 20 }
257 { v 3 , v 6 , v 9 , v 12 , v 15 , v 18 , v 21 }
Table 3. Fault-tolerant metric basis of P n 5 for 12 n 20 .
Table 3. Fault-tolerant metric basis of P n 5 for 12 n 20 .
Values of nValues of β ( P n 5 ) Elements of Fault-Tolerant Metric Basis
128 { v 0 , v 1 , v 2 , v 3 , v 4 , v 5 , v 7 , v 9 }
138 { v 0 , v 1 , v 2 , v 3 , v 4 , v 6 , v 8 , v 10 }
148 { v 0 , v 1 , v 2 , v 4 , v 5 , v 8 , v 9 , v 12 }
15 , 16 , 17 8 { v 0 , v 1 , v 4 , v 5 , v 8 , v 9 , v 12 , v 13 }
188 { v 1 , v 2 , v 5 , v 6 , v 9 , v 10 , v 13 , v 14 }
198 { v 2 , v 3 , v 6 , v 7 , v 10 , v 11 , v 14 , v 15 }
208 { v 3 , v 4 , v 7 , v 8 , v 11 , v 12 , v 15 , v 16 }
Table 4. Lower bound on β ( P n 6 ) for different values of n.
Table 4. Lower bound on β ( P n 6 ) for different values of n.
Values of nValues of aLower Bound on β ( P n 6 ) from Theorem 5
n 62 012
32 n 61 111
22 n 31 210
17 n 21 39
12 n 16 48
Table 5. Upper bound on n from Theorem 6.
Table 5. Upper bound on n from Theorem 6.
Values of β ( P n 6 ) Values of aUpper Bound on n from Theorem 6
11161
10231
9320
8415
7510
Table 6. Exact value of β ( P n 6 ) using Sage-Math.
Table 6. Exact value of β ( P n 6 ) using Sage-Math.
Values of nValues of β ( P n 6 ) Elements of Fault-Tolerant Metric Basis
77 { v 0 , v 1 , v 2 , v 3 , v 4 , v 5 , v 6 }
8 , 9 8 { v 0 , v 1 , v 2 , v 3 , v 4 , v 5 , v 6 , v 7 }
108 { v 0 , v 1 , v 2 , v 3 , v 4 , v 5 , v 6 , v 8 }
11 , 12 8 { v 1 , v 2 , v 4 , v 5 , v 6 , v 7 , v 9 , v 10 }
13 , 14 9 { v 0 , v 1 , v 2 , v 3 , v 5 , v 6 , v 8 , v 10 , v 11 }
15 , 16 9 { v 0 , v 2 , v 4 , v 5 , v 7 , v 9 , v 10 , v 12 , v 14 }
179 { v 1 , v 3 , v 5 , v 6 , v 8 , v 10 , v 11 , v 13 , v 15 }
1810 { v 0 , v 1 , v 2 , v 3 , v 4 , v 5 , v 7 , v 10 , v 12 }
3010 { v 4 , v 5 , v 9 , v 10 , v 14 , v 15 , v 19 , v 20 , v 24 , v 25 }
Table 7. Lower bound on β ( P n 8 ) for different values of n.
Table 7. Lower bound on β ( P n 8 ) for different values of n.
Values of nValues of aLower Bound on β ( P n 8 ) from Theorem 5
n 114 016
58 n 113 115
37 n 57 214
30 n 36 313
23 n 29 412
16 n 22 511
Table 8. Exact value of β ( P n 8 ) using Sage-Math.
Table 8. Exact value of β ( P n 8 ) using Sage-Math.
Values of nValues of β ( P n 8 ) Elements of Fault-Tolerant Metric Basis
1611 { v 0 , v 1 , v 3 , v 4 , v 6 , v 7 , v 8 , v 10 , v 11 , v 13 , v 14 }
1711 { v 1 , v 2 , v 4 , v 5 , v 7 , v 8 , v 9 , v 11 , v 12 , v 14 , v 15 }
2412 { v 2 , v 3 , v 6 , v 7 , v 9 , v 10 , v 13 , v 14 , v 16 , v 17 , v 20 , v 21 }
25 , 26 , 27 13 { v 0 , v 1 , v 3 , v 5 , v 7 , v 10 , v 12 , v 14 , v 17 , v 19 , v 21 , v 23 , v 24 }
28 , 29 , 30 13 { v 3 , v 5 , v 7 , v 10 , v 12 , v 14 , v 17 , v 19 , v 21 , v 23 , v 24 , v 25 , v 26 }
31 , 32 14 { v 0 , v 1 , v 2 , v 6 , v 7 , v 13 , v 14 , v 20 , v 21 , v 24 , v 25 , v 26 , v 27 , v 28 }
3314 { v 0 , v 1 , v 2 , v 6 , v 7 , v 13 , v 14 , v 20 , v 21 , v 25 , v 26 , v 27 , v 28 , v 32 }
3414 { v 0 , v 1 , v 2 , v 6 , v 7 , v 13 , v 14 , v 20 , v 21 , v 26 , v 27 , v 28 , v 32 , v 33 }
3514 { v 0 , v 1 , v 2 , v 6 , v 7 , v 13 , v 14 , v 20 , v 21 , v 27 , v 28 , v 32 , v 33 , v 34 }
Table 9. Upper Bound on n from Theorem 6.
Table 9. Upper Bound on n from Theorem 6.
Values of β ( P n 8 ) Values of aUpper bound on n from Theorem 6
151113
14257
13336
12428
11521
10615
Table 10. An optimal FTRS of P n 8 and the values of β ( P n 8 ) .
Table 10. An optimal FTRS of P n 8 and the values of β ( P n 8 ) .
Values of nLower Bound of β ( P n 8 ) Exact Value of β ( P n 8 )   An Optimal FTRS
n 114 16 (using Theorem 5)16 v 0 , v 1 , , v 15 by using Theorem 1
58 n 113 15 (using Lemma 10)15For n = 113 , { v 7 , v 14 , , v 105 } the set is an optimal FTRS
(from the proof of Theorem 2). Algorithm 1 generates
an optimal FTRS for each n { 58 , 59 , , 112 } .
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Saha, L.; Lama, R.; Das, B.; Adhikari, A.; Das, K.C. Optimal Fault-Tolerant Resolving Set of Power Paths. Mathematics 2023, 11, 2868. https://doi.org/10.3390/math11132868

AMA Style

Saha L, Lama R, Das B, Adhikari A, Das KC. Optimal Fault-Tolerant Resolving Set of Power Paths. Mathematics. 2023; 11(13):2868. https://doi.org/10.3390/math11132868

Chicago/Turabian Style

Saha, Laxman, Rupen Lama, Bapan Das, Avishek Adhikari, and Kinkar Chandra Das. 2023. "Optimal Fault-Tolerant Resolving Set of Power Paths" Mathematics 11, no. 13: 2868. https://doi.org/10.3390/math11132868

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop