Abstract

Nowadays, the study of source localization in complex networks is a critical issue. Localization of the source has been investigated using a variety of feasible models. To identify the source of a network’s diffusion, it is necessary to find a vertex from which the observed diffusion spreads. Detecting the source of a virus in a network is equivalent to finding the minimal doubly resolving set (MDRS) in a network. This paper calculates the doubly resolving sets (DRSs) for certain convex polytope structures to calculate their double metric dimension (DMD). It is concluded that the cardinality of MDRSs for these convex polytopes is finite and constant.

1. Introduction and Preliminaries

Consider a connected and undirected graph , where denotes the set of vertices, while represents the collection of edges. The distance between two vertices is calculated by counting the length of the shortest path between the two vertices. implies that the vertex set is resolved by the vertex . Let be a set of order . The vector of metric coordinates of a vertex with respect to , represented by , is the -vector . If distinct vertices of have unique metric coordinate vectors with respect to , the set is said to be resolving. A minimum-order resolving set is referred to as the basis of graph and its order is called the metric dimension (MD) of , denoted as .

Blumenthal [1] first proposed the notion of the MD of general metric space in 1953. Slater [2] introduced MD in 1975, and Harary and Melter [3] developed it as a resolving set of graphs in 1976. It was originally intended that the resolving sets have been used to locate an intruder in a network, but Chartrand and Zang [4] have since presented numerous uses of resolving sets in robotics, chemistry, and biology. The concept of trilateration can be generalized from a two-dimensional real plane in terms of the MD of graphs. The Global Positioning System (GPS) uses distance measurements to detect the exact location of various objects on our planet. For studying the MD theoretically, there are several applications in navigation of robots [5] and molecular chemistry [6]. The MD of Hamming graphs has been investigated in a variety of applications, ranging from coin-weighing difficulties [7, 8] to efficient Mastermind game strategies [9]. Studies on combinatorial optimization [10] and the difficulty of locating facilities, as well as the Coast Guard’s loran and sonar systems [2], have all made use of the MD approach. Moreover, different fields including robotics [5], discovery and verification in networks [11], and routing protocols geographically [12] have examined this notion extensively.

Determining the exact MD value of any given graph is a computationally challenging task [5, 13]. Several helpful bounds for different types of graphs were investigated; for instance, see [14]. Both Buczkowski et al. [15] and Ali et al. [16] explored the minimal order resolving sets of wheel graphs and Mobius ladders, respectively. Chartrand and others performed a classification of all graphs using MD 1, , and (see [6]). In [17, 18], Imran et al. find the MD for different convex polytope structures. Tomescu et al. in [19] and Ahmad et al. [20] calculated the MD for Jahangir graphs, chorded cycles and kayak paddle graphs, respectively. Baca et al. provides the results for the MD of regular bipartite graphs [21]. The MD of necklace graphs was studied in [22], and certain plane graphs for MD were considered in [23].

As a research tool for studying minimal resolving sets of cartesian product graphs, Caceres et al. [24] established the concept of DRSs. Consider a graph , where . Two vertices and doubly resolve a pair of vertices of if . A subset is a DRS of if some two vertices of doubly resolve any pair of vertices in . The MDRS is a DRS that is the smallest possible. The DMD of is the cardinality of an MDRS and is represented by . For all graphs , any DRS is obviously a resolving set, with .

Kratica et al. [25] studied the computational complexity of the DRSs of a graph . An investigation of the Harary graph family (resp. circulant graph family) for MD and MDRSs was conducted by Ahmad et al. [26, 27]. Chen et al. [28] provided the first explicitly approximated lower and upper limits for the MDRSs problem. Ahmad et al. studied the line graphs of -Sunlet, prism [29], and kayak paddle graphs [30] for the MD and MDRSs, respectively. To find the smallest possible DRS, a variety of graph families have been examined, such as those involving prisms [31], convex polytopes [32], and Hamming graphs [33]. The MDRSs of different convex polytope structures were examined by Pan et al. [34] and Ahmad et al. [35]. Minimal order resolving sets and MDRSs of cocktail and jellyfish graphs were calculated by Liu and others [36]. For the layer-sun graphs and their related line graphs, the MDRS problem was also studied in [37]. In [38], the minimal resolving sets and DMD of the line graph of chorded cycles were examined. Authors demonstrated that the DMD of is exactly one greater than its MD.

Thus, DRSs are essential for examining the MD of cartesian products. We were inspired by the idea of achieving upper bounds in the cartesian product of graphs to examine the DRSs of other graph classes. In addition, this parameter can be helpful in a wide range of domains, including rumor spreading on online social networks and the origin of a disease outbreak.

It is feasible to determine the diffusion source in complex networks using MDRSs. Finding the source of wide-area network propagation might be challenging. As an example, in the case of an unknown virus source, all that is required to locate it is the contamination time of a subset of the sensor nodes. These sensor nodes may record their infection time. How many sensors are required to locate the viral source? A property called DMD provides the answer to this problem (for details see [39, 40]). It would be simple to determine the origins of the pandemic if we were able to see it from beginning to end. Data for source localization is sometimes scarce due to the cost and complexity of collecting and storing information. Even if the initial virus propagation period is unknown, a doubly resolving sensor set may detect infection sources reliably.

In a star-like network, identifying the viral origin is much more complicated than in a path-like network. The DMD is for a star network of nodes, but the DMD is 2 for a path network. As a result, this demonstrates that the DMD is always dependent on the network’s topology [39].

It has been challenging to solve convex polytopes for the DMD in the previous few years. Here, Imran et al. [18, 41] calculate DMD for and convex polytopes. In the following theorems, the MD of the convex polytopes and is shown.

Theorem 1. If is the graph of convex polytope, is 3, and .

Theorem 2. If is the graph of convex polytope, is 3, and .

The following sections elaborate on the rest of the article:(i)In Section 2, we define the graph of and computed the MDRSs of the convex polytope for .(ii)In Section 3, we define the graph of and calculated the DMD for the convex polytope structure , for .(iii)Section 4 concludes that the DMD for the convex polytopes and is finite and constant.

2. Double Metric Dimension for the Convex Polytope

The results of the DMD computation for the convex polytope are presented here in this section.

There are 3-sided, 5-sided, and -sided faces on the convex polytope as shown in Figure 1.

There are three types of vertex labels used here: {: } represents the inner cycle vertex, {: } represents the central cycle vertex, and {: } represents the outer cycle vertex as shown in Figure 1.

As a result of applying Theorem 1, for is obtained. Also, for will be proved in this section. Vertex distances of the graph can be computed using the following procedure:

Assume that the set is a vertex set in at a distance of from . The Table 1 is simply constructed for , and it will be used to figure out how far two vertices in are from each other.

Because of the symmetry of for , it can be demonstrated that

If is odd

If is even

Due to the fact that, in order to calculate the distance between any pair of vertices in , we must know the distance for each .

Lemma 1. For the odd positive integer , .

Proof. To demonstrate that for the odd positive integer, finding a DRS with cardinality 3 is enough. Using the sets listed in Table 1, the Table 2 shows the metric coordinate vectors for all vertices of with respect to .
Table 2 shows that the representation for any two vertices , where . Consequently, for any such as if the vertices and , then the representation . So the collection represents the MDRS of . As a result, Lemma 1 holds.

Lemma 2. For the even positive integer , .

Proof. To demonstrate that for the even positive integer , finding a DRS with cardinality 3 is enough. Using the sets listed in Table 1, the Table 3 shows the metric coordinate vectors for all vertices of with respect to .
Table 3 shows that the representation for any two vertices , where . Consequently, for any such as if the vertices and , then the representation . So the collection represents the MDRS of . As a result, Lemma 2 holds.
The entire technique clearly demonstrates that , for . The main theorem is stated below using Lemmas 1 and 2:

Theorem 3. Let be a convex polytope, then for .

3. Double Metric Dimension for the Convex Polytope

This section contains the results of the DMD computation for the convex polytope .

There are 3-sided, 4-sided, and -sided faces on the convex polytope as shown in Figure 2.

There are three types of vertex labels used here: {: } represents the inner cycle vertex, {: } represents the interior cycle vertex, {: } represents the exterior cycle vertex, and {: } represents the outer cycle vertex as shown in Figure 2.

As a result of applying Theorem 2, for is obtained. Also, for will be proved in this section. Vertex distances of the graph can be computed using the following procedure:

Assume that the set is a vertex set in at a distance of from . Table 4 is simply constructed for , and it will be used to figure out how far two vertices in are from each other.

Because of the symmetry of for , it can be demonstrated that

If is odd

If is even

Due to the fact that, in order to calculate the distance between any pair of vertices in , we need to know for each .

Lemma 3. For any odd positive integer , .

Proof. The MDRSs for , , and areto demonstrate that for any odd positive integer , finding a DRS with cardinality 3 is enough. Using the sets listed in Table 4, the Table 5 shows the metric coordinate vectors for all vertices of in relation to the set .
Table 5 shows that the representation for any two vertices , where . Consequently, for any such as if the vertices and , then the representation . So the collection represents the MDRS of . As a result, Lemma 3 holds.

Lemma 4. For any even positive integer , .

Proof. To demonstrate that for any even positive integer , finding a DRS with cardinality 3 is enough. Using the sets listed in Table 4, the Table 6 shows the metric coordinate vectors for all vertices of in relation to the set .
Table 6 shows that the representation for any two vertices , where . Consequently, for any such as if the vertices and , then the representation . So the collection represents the MDRS of . As a result, Lemma 4 holds.
The entire technique clearly demonstrates that , for . The main theorem is stated below using Lemmas 3 and 4:

Theorem 4. Let be the convex plytope for . Then .

4. Conclusion

In this paper, we investigate the idea of calculating MDRSs of graphs using an integer linear programming formulation previously presented in the literature. We calculate the DMD for the convex polytopes and , which is the minimum cardinality over all the DRSs of and . It is interesting to consider these families of the convex polytopes because their DMD is finite and independent of the parity of . Finally, we get for .

Data Availability

No data were used to support this study.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

The authors extend their appreciation to Deanship of Scientic Research at King Khalid University, Saudi Arabia for funding this work through General Research Project under grant number GRP/ 327/43.