Open Access
This article is

- freely available
- re-usable

*Symmetry*
**2017**,
*9*(8),
132;
https://doi.org/10.3390/sym9080132

Article

The Simultaneous Local Metric Dimension of Graph Families

^{1}

Departament d’Enginyeria Informàtica i Matemàtiques, Universitat Rovira i Virgili, Av. Països Catalans 26, 43007 Tarragona, Spain

^{2}

Interdisciplinary Centre for Security, Reliability and Trust, University of Luxembourg, 6 av. de la Fonte, L-4364 Esch-sur-Alzette, Luxembourg

^{*}

Author to whom correspondence should be addressed.

Received: 10 May 2017 / Accepted: 24 July 2017 / Published: 27 July 2017

## Abstract

**:**

In a graph $G=(V,E)$, a vertex $v\in V$ is said to distinguish two vertices x and y if ${d}_{G}(v,x)\ne {d}_{G}(v,y)$. A set $S\subseteq V$ is said to be a local metric generator for G if any pair of adjacent vertices of G is distinguished by some element of S. A minimum local metric generator is called a local metric basis and its cardinality the local metric dimension of G. A set $S\subseteq V$ is said to be a simultaneous local metric generator for a graph family $\mathcal{G}=\{{G}_{1},{G}_{2},\dots ,{G}_{k}\}$, defined on a common vertex set, if it is a local metric generator for every graph of the family. A minimum simultaneous local metric generator is called a simultaneous local metric basis and its cardinality the simultaneous local metric dimension of $\mathcal{G}$. We study the properties of simultaneous local metric generators and bases, obtain closed formulae or tight bounds for the simultaneous local metric dimension of several graph families and analyze the complexity of computing this parameter.

Keywords:

local metric dimension; simultaneity; corona product; lexicographic product; complexity## 1. Introduction

A generator of a metric space is a set S of points in the space with the property that every point of the space is uniquely determined by its distances from the elements of S. Given a simple and connected graph $G=(V,E)$, we consider the function ${d}_{G}:V\times V\to \mathbb{N}$, where ${d}_{G}(x,y)$ is the length of the shortest path between u and v and $\mathbb{N}$ is the set of non-negative integers. Clearly, $(V,{d}_{G})$ is a metric space, i.e., ${d}_{G}$ satisfies ${d}_{G}(x,x)=0$ for all $x\in V$, ${d}_{G}(x,y)={d}_{G}(y,x)$ for all $x,y\in V$ and ${d}_{G}(x,y)\le {d}_{G}(x,z)+{d}_{G}(z,y)$ for all $x,y,z\in V$. A vertex $v\in V$ is said to distinguish two vertices x and y if ${d}_{G}(v,x)\ne {d}_{G}(v,y)$. A set $S\subseteq V$ is said to be a metric generator for G if any pair of vertices of G is distinguished by some element of S.

Metric generators were introduced by Blumental [1] in the general context of metric spaces. They were later introduced in the context of graphs by Slater in [2], where metric generators were called locating sets, and, independently, by Harary and Melter in [3], where metric generators were called resolving sets. Applications of the metric dimension to the navigation of robots in networks are discussed in [4] and applications to chemistry in [5,6]. This invariant was studied further in a number of other papers including, for instance [7,8,9,10,11,12,13,14,15,16,17,18,19,20].

As pointed out by Okamoto et al. in [21], there exist applications where only neighboring vertices need to be distinguished. Such applications were the basis for the introduction of the local metric dimension. A set $S\subseteq V$ is said to be a local metric generator for G if any pair of adjacent vertices of G is distinguished by some element of S. A minimum local metric generator is called a local metric basis and its cardinality the local metric dimension of G, denoted by ${dim}_{l}\left(G\right)$. Additionally, Jannesari and Omoomi [16] introduced the concept of adjacency resolving sets as a result of considering the two-distance in $V\left(G\right)$, which is defined as ${d}_{G,2}(u,v)=min\{{d}_{G}(u,v),2\}$ for any two vertices $u,v\in V\left(G\right)$. A set of vertices ${S}^{\prime}$ such that any pair of vertices of $V\left(G\right)$ is distinguished by an element s in ${S}^{\prime}$ considering the two-distance in $V\left(G\right)$ is called an adjacency generator for G. If we only ask ${S}^{\prime}$ to distinguish the pairs of adjacent vertices, we call ${S}^{\prime}$ a local adjacency generator. A minimum local adjacency generator is called a local adjacency basis, and the cardinality of any such basis is the local adjacency dimension of G, denoted ${adim}_{l}\left(G\right)$.

The notion of simultaneous metric dimension was introduced in the framework of the navigation problem proposed in [4], where navigation was studied in a graph-structured framework in which the navigating agent (which was assumed to be a point robot) moves from node to node of a “graph space”. The robot can locate itself by the presence of distinctively-labeled “landmark” nodes in the graph space. On a graph, there is neither the concept of direction, nor that of visibility. Instead, it was assumed in [4] that a robot navigating on a graph can sense the distances to a set of landmarks. Evidently, if the robot knows its distances to a sufficiently large set of landmarks, its position on the graph is uniquely determined. This suggests the following problem: given a graph G, what are the fewest number of landmarks needed and where should they be located, so that the distances to the landmarks uniquely determine the robot’s position on G? Indeed, the problem consists of determining the metric dimension and a metric basis of G. Now, consider the following extension of this problem, introduced by Ramírez-Cruz, Oellermann and Rodríguez-Velázquez in [22]. Suppose that the topology of the navigation network may change within a range of possible graphs, say ${G}_{1},{G}_{2},\dots ,{G}_{k}$. This scenario may reflect several situations, for instance the simultaneous use of technologically-differentiated redundant sets of landmarks, the use of a dynamic network whose links change over time, etc. In this case, the above-mentioned problem becomes determining the minimum cardinality of a set S, which must be simultaneously a metric generator for each graph ${G}_{i}$, $i\in \{1,\dots ,k\}$. Therefore, if S is a solution for this problem, then each robot can be uniquely determined by the distance to the elements of S, regardless of the graph ${G}_{i}$ that models the network at each moment. Such sets we called simultaneous metric generators in [22], where, by analogy, a simultaneous metric basis was defined as a simultaneous metric generator of minimum cardinality, and this cardinality was called the simultaneous metric dimension of the graph family $\mathcal{G}$, denoted by $Sd\left(\mathcal{G}\right)$.

In this paper, we recover Okamoto et al.’s observation that in some applications, it is only necessary to distinguish neighboring vertices. In particular, we consider the problem of distinguishing neighboring vertices in a multiple topology scenario, so we deal with the problem of finding the minimum cardinality of a set S, which must simultaneously be a local metric generator for each graph ${G}_{i}$, $i\in \{1,\dots ,k\}$.

Given a family $\mathcal{G}=\{{G}_{1},{G}_{2},\dots ,{G}_{k}\}$ of connected graphs ${G}_{i}=(V,{E}_{i})$ on a common vertex set V, we define a simultaneous local metric generator for $\mathcal{G}$ as a set $S\subseteq V$ such that S is simultaneously a local metric generator for each ${G}_{i}$. We say that a minimum simultaneous local metric generator for $\mathcal{G}$ is a simultaneous local metric basis of $\mathcal{G}$ and its cardinality the simultaneous local metric dimension of $\mathcal{G}$, denoted by ${Sd}_{l}\left(\mathcal{G}\right)$ or explicitly by ${Sd}_{l}({G}_{1},{G}_{2},\dots ,{G}_{k})$. An example is shown in Figure 1, where the set $\{{v}_{3},{v}_{4}\}$ is a simultaneous local metric basis of $\{{G}_{1},{G}_{2},{G}_{3}\}$.

It will also be useful to define the simultaneous local adjacency dimension of a family $\mathcal{G}=\{{G}_{1},{G}_{2},\cdots ,{G}_{k}\}$ of connected graphs ${G}_{i}=(V,{E}_{i})$ on a common vertex set V, as the cardinality of a minimum set $S\subseteq V$ such that S is simultaneously a local adjacency generator for each ${G}_{i}$. We denote this parameter as ${Sad}_{l}\mathcal{G}$.

In what follows, we will use the notation ${K}_{n}$, ${K}_{r,s}$, ${C}_{n}$, ${N}_{n}$ and ${P}_{n}$ for complete graphs, complete bipartite graphs, cycle graphs, empty graphs and path graphs of order n, respectively. Given a graph $G=(V,E)$ and a vertex $v\in V,$ the set ${N}_{G}\left(v\right)=\{u\in V:\phantom{\rule{0.277778em}{0ex}}u\sim v\}$ is the open neighborhood of v, and the set ${N}_{G}\left[v\right]={N}_{G}\left(v\right)\cup \left\{v\right\}$ is the closed neighborhood of v. Two vertices $x,y\in V\left(G\right)$ are true twins in G if ${N}_{G}\left[x\right]={N}_{G}\left[y\right]$, and they are false twins if ${N}_{G}\left(x\right)={N}_{G}\left(y\right)$. In general, two vertices are said to be twins if they are true twins or they are false twins. As usual, a set $A\subseteq V\left(G\right)$ is a vertex cover for G if for every $uv\in E\left(G\right)$, $u\in A$ or $v\in A$. The vertex cover number of G, denoted by $\beta \left(G\right)$, is the minimum cardinality of a vertex cover of G. The remaining definitions will be given the first time that the concept appears in the text.

The rest of the article is organized as follows. In Section 2, we obtain some general results on the simultaneous local metric dimension of graph families. Section 3 is devoted to the case of graph families obtained by small changes on a graph, while in Section 4 and Section 5, we study the particular cases of families of corona graphs and families of lexicographic product graphs, respectively. Finally, in Section 6, we show that the problem of computing the simultaneous local metric dimension of graph families is NP-hard, even when restricted to families of graphs that individually have a (small) fixed local metric dimension.

## 2. Basic Results

**Remark**

**1.**

Let $\mathcal{G}=\{{G}_{1},\cdots ,{G}_{k}\}$ be a family of connected graphs defined on a common vertex set V, and let ${G}^{\prime}=(V,\cup E\left({G}_{i}\right))$. The following results hold:

- 1.
- ${Sd}_{l}\left(\mathcal{G}\right)\ge {\displaystyle \underset{i\in \{1,\cdots ,k\}}{max}}\left\{{dim}_{l}\left({G}_{i}\right)\right\}$.
- 2.
- ${Sd}_{l}\left(\mathcal{G}\right)\le Sd\left(\mathcal{G}\right)$.
- 3.
- ${Sd}_{l}\left(\mathcal{G}\right)\le min\left\{{\displaystyle \beta \left({G}^{\prime}\right),\sum _{i=1}^{k}{dim}_{l}\left({G}_{i}\right)}\right\}$.

**Proof.**

(1) is deduced directly from the definition of simultaneous local metric dimension. Let B be a simultaneous metric basis of $\mathcal{G}$, and let $u,v\in V-B$ be two vertices not in B, such that $u{\sim}_{{G}_{i}}v$ in some ${G}_{i}$. Since in ${G}_{i}$ there exists $x\in B$ such that ${d}_{{G}_{i}}(u,x)\ne {d}_{{G}_{i}}(v,x)$, B is a simultaneous local metric generator for $\mathcal{G}$, so (2) holds. Finally, (3) is obtained from the following facts: (a) the union of local metric generators for all graphs in $\mathcal{G}$ is a simultaneous local metric generator for $\mathcal{G}$, which implies that ${Sd}_{l}\left(\mathcal{G}\right)\le {\sum}_{i=1}^{k}{dim}_{l}\left({G}_{i}\right)$; (b) any vertex cover of ${G}^{\prime}$ is a local metric generator of ${G}_{i}$, for every ${G}_{i}\in \mathcal{G}$, which implies that ${Sd}_{l}\left(\mathcal{G}\right)\le \beta \left({G}^{\prime}\right)$. ☐

The inequalities above are tight. For example, the graph family $\mathcal{G}$ shown in Figure 1 satisfies ${Sd}_{l}\left(\mathcal{G}\right)=Sd\left(\mathcal{G}\right)$, whereas $Sd}_{l}\left(\mathcal{G}\right)=2={dim}_{l}\left({G}_{1}\right)={dim}_{l}\left({G}_{2}\right)=\underset{i\in \{1,2,3\}}{max}\left\{{dim}_{l}\left({G}_{i}\right)\right\$. Moreover, the family $\mathcal{G}$ shown in Figure 2 satisfies ${Sd}_{l}\left(\mathcal{G}\right)=3=\left|V\right|-1<\sum _{i=1}^{6}{dim}_{l}\left({G}_{i}\right)=12$, whereas the family $\mathcal{G}=\{{G}_{1},{G}_{2}\}$ shown in Figure 3 satisfies ${Sd}_{l}\left(\mathcal{G}\right)=4={dim}_{l}\left({G}_{1}\right)+{dim}_{l}\left({G}_{2}\right)<\left|V\right|-1=7$.

We now analyze the extreme cases of the bounds given in Remark 1.

**Corollary**

**1.**

Let $\mathcal{G}$ be a family of connected graphs on a common vertex set. If ${K}_{n}\in \mathcal{G}$, then:

$${Sd}_{l}\left(\mathcal{G}\right)=n-1.$$

As shown in Figure 2, the converse of Corollary 1 does not hold. In general, the cases for which the upper bound ${Sd}_{l}\left(\mathcal{G}\right)\le \left|V\right|-1$ is reached are summarized in the next result.

**Theorem**

**1.**

Let $\mathcal{G}$ be a family of connected graphs on a common vertex set V. Then, ${Sd}_{l}\left(\mathcal{G}\right)=\left|V\right|-1$ if and only if for every $u,v\in V$, there exists a graph ${G}_{uv}\in \mathcal{G}$ such that u and v are true twins in ${G}_{uv}$.

**Proof.**

We first note that for any connected graph $G=(V,E)$ and any vertex $v\in V$, it holds that $V-\left\{v\right\}$ is a local metric generator for G. Therefore, if ${Sd}_{l}\left(\mathcal{G}\right)=\left|V\right|-1$, then for any $v\in V$, the set $V-\left\{v\right\}$ is a simultaneous local metric basis of $\mathcal{G}$, and as a consequence, for every $u\in V-\left\{v\right\}$, there exists a graph ${G}_{uv}\in \mathcal{G}$, such that the set $V-\{u,v\}$ is not a local metric generator for ${G}_{uv}$, i.e., u and v are adjacent in ${G}_{uv}$ and ${d}_{{G}_{u,v}}(u,x)={d}_{{G}_{u,v}}(v,x)$ for every $x\in V-\{u,v\}$. Therefore, u and v are true twins in ${G}_{u,v}$.

Conversely, if for every $u,v\in V$ there exists a graph ${G}_{uv}\in \mathcal{G}$ such that u and v are true twins in ${G}_{uv}$, then for any simultaneous local metric basis B of $\mathcal{G}$, it holds that $u\in B$ or $v\in B$. Hence, all but one element of V must belong to B. Therefore, $\left|B\right|\ge \left|V\right|-1$, which implies that ${Sd}_{l}\mathcal{G}=\left|V\right|-1$. ☐

Notice that Corollary 1 is obtained directly from the previous result. Now, the two following results concern the limit cases of Item (1) of Remark 1.

**Theorem**

**2.**

A family $\mathcal{G}$ of connected graphs on a common vertex set V satisfies ${Sd}_{l}\left(\mathcal{G}\right)=1$ if and only if every graph in $\mathcal{G}$ is bipartite.

**Proof.**

If every graph in the family is bipartite, then for any $v\in V$, the set $\left\{v\right\}$ is a local metric basis of every ${G}_{i}\in \mathcal{G}$, so ${Sd}_{l}\left(\mathcal{G}\right)=1$.

Let us now consider a family $\mathcal{G}$ of connected graphs on a common vertex set V such that ${Sd}_{l}\left(\mathcal{G}\right)=1$ and assume that some $G\in \mathcal{G}$ is not bipartite. It is shown in [21] that ${dim}_{l}\left(G\right)\ge 2$, so Item (1) of Remark 1 leads to ${Sd}_{l}\left(\mathcal{G}\right)\ge 2$, which is a contradiction. Thus, every $G\in \mathcal{G}$ is bipartite. ☐

Paths, trees and even-order cycles are bipartite. The following result covers the case of families composed of odd-order cycles.

**Theorem**

**3.**

Every family $\mathcal{G}$ composed of cycle graphs on a common odd-sized vertex set V satisfies ${Sd}_{l}\left(\mathcal{G}\right)=2$, and any pair of vertices of V is a simultaneous local metric basis of $\mathcal{G}$.

**Proof.**

For any cycle ${C}_{i}\in \mathcal{G}$, the set $\left\{v\right\}$, $v\in V$, is not a local metric generator, as the adjacent vertices ${v}_{j+\u230a\frac{\left|V\right|}{2}\u230b}$ and ${v}_{j-\u230a\frac{\left|V\right|}{2}\u230b}$ (subscripts taken modulo $\left|V\right|$) are not distinguished by v, so Item (1) of Remark 1 leads to ${Sd}_{l}\left(\mathcal{G}\right)\ge {\displaystyle \underset{G\in \mathcal{G}}{max}}\left\{{dim}_{l}\left(G\right)\right\}\ge 2$. Moreover, any set $\{v,{v}^{\prime}\}$ is a local metric generator for every ${C}_{i}\in \mathcal{G}$, as the single pair of adjacent vertices not distinguished by v is distinguished by ${v}^{\prime}$, so that ${Sd}_{l}\left(\mathcal{G}\right)\le 2$. ☐

The following result allows us to study the simultaneous local metric dimension of a family $\mathcal{G}$ from the family of graphs composed by all non-bipartite graphs belonging to $\mathcal{G}$.

**Theorem**

**4.**

Let $\mathcal{G}$ be a family of graphs on a common vertex set V, not all of them bipartite. If $\mathcal{H}$ is the subfamily of $\mathcal{G}$ composed of all non-bipartite graphs belonging to $\mathcal{G}$, then:

$${Sd}_{l}\left(\mathcal{G}\right)={Sd}_{l}\left(\mathcal{H}\right).$$

**Proof.**

Since $\mathcal{H}$ is a non-empty subfamily of $\mathcal{G}$, we conclude that ${Sd}_{l}\left(\mathcal{G}\right)\ge {Sd}_{l}\left(\mathcal{H}\right).$ Since any vertex of a bipartite graph G is a local metric generator for G, if $B\subseteq V$ is a simultaneous local metric basis of $\mathcal{H}$, then B is a simultaneous local metric generator for $\mathcal{G}$ and, as a result, ${Sd}_{l}\left(\mathcal{G}\right)\le \left|B\right|={Sd}_{l}\left(\mathcal{H}\right).$ ☐

Some interesting situations may be observed regarding the simultaneous local metric dimension of some graph families versus its standard counterpart. In particular, the fact that false twin vertices need not be distinguished in the local variant leads to some cases where both parameters differ greatly. For instance, consider any family $\mathcal{G}$ composed of three or more star graphs having different centers. It was shown in [22] that any such family satisfies $Sd\left(\mathcal{G}\right)=\left|V\right|-1$, yet by Theorem 2, we have that ${Sd}_{l}\left(\mathcal{G}\right)=1$.

Given a family $\mathcal{G}=\{{G}_{1},{G}_{2},\cdots ,{G}_{k}\}$ of graphs ${G}_{i}=(V,{E}_{i})$ on a common vertex set V, we define a simultaneous vertex cover of $\mathcal{G}$ as a set $S\subseteq V$, such that S is simultaneously a vertex cover of each ${G}_{i}$. The minimum cardinality among all simultaneous vertex covers of $\mathcal{G}$ is the simultaneous vertex cover number of $\mathcal{G}$, denoted by $\beta \left(\mathcal{G}\right)$.

**Theorem**

**5.**

For any family $\mathcal{G}$ of connected graphs with common vertex set V,
Furthermore, if for every $uv\in {\cup}_{G\in \mathcal{G}}E\left(G\right)$ there exists ${G}^{\prime}\in \mathcal{G}$ such that u and v are true twins in ${G}^{\prime}$, then ${Sd}_{l}\left(\mathcal{G}\right)=\beta \left(\mathcal{G}\right)$.

$${Sd}_{l}\left(\mathcal{G}\right)\le \beta \left(\mathcal{G}\right).$$

**Proof.**

Let $B\subseteq V$ be a simultaneous vertex cover of $\mathcal{G}$. Since $V-B$ is a simultaneous independent set of $\mathcal{G}$, we conclude that ${Sd}_{l}\left(\mathcal{G}\right)\le \beta \left(\mathcal{G}\right)$.

We now assume that for every $uv\in {\cup}_{G\in \mathcal{G}}E\left(G\right)$, there exists ${G}^{\prime}\in \mathcal{G}$, such that u and v are true twins in ${G}^{\prime}$, and suppose, for the purpose of contradiction, that ${Sd}_{l}\left(\mathcal{G}\right)<\beta \left(\mathcal{G}\right)$. In such a case, there exists a simultaneous local metric basis $C\subseteq V$, which is not a simultaneous vertex cover of $\mathcal{G}$. Hence, there exist ${u}^{\prime},{v}^{\prime}\in V-C$ and $G\in \mathcal{G}$ such that ${u}^{\prime}{v}^{\prime}\in E\left(G\right)$, ergo ${u}^{\prime}{v}^{\prime}\in {\cup}_{G\in \mathcal{G}}E\left(G\right)$. As a consequence, ${u}^{\prime}$ and ${v}^{\prime}$ are true twins in some graph ${G}^{\prime}\in \mathcal{G}$, which contradicts the fact that C is a simultaneous local metric basis of $\mathcal{G}$. Therefore, the strict inequality does not hold, hence ${Sd}_{l}\left(\mathcal{G}\right)=\beta \left(\mathcal{G}\right)$. ☐

## 3. Families Obtained by Small Changes on a Graph

Consider a graph G whose local metric dimension is known. In this section, we address two related questions:

- If a series of small changes is repeatedly performed on $E\left(G\right)$, thus producing a family $\mathcal{G}$ of consecutive versions of G, what is the behavior of ${Sd}_{l}\left(\mathcal{G}\right)$ with respect to ${dim}_{l}\left(G\right)$?
- If several small changes are performed on $E\left(G\right)$ in parallel, thus producing a family $\mathcal{G}$ of alternative versions of G, what is the behavior of ${Sd}_{l}\left(\mathcal{G}\right)$ with respect to ${dim}_{l}\left(G\right)$?

Addressing this issue in the general case is hard, so we will analyze a number of particular cases. First, we will specify three operators that describe some types of changes that may be performed on a graph G:

- Edge addition: We say that a graph ${G}^{\prime}$ is obtained from a graph G by an edge addition if there is an edge $e\in E\left(\overline{G}\right)$ such that ${G}^{\prime}=(V\left(G\right),E\left(G\right)\cup \left\{e\right\})$. We will use the notation ${G}^{\prime}={add}_{e}\left(G\right)$.
- Edge removal: We say that a graph ${G}^{\prime}$ is obtained from a graph G by an edge removal if there is an edge $e\in E\left(G\right)$ such that ${G}^{\prime}=(V\left(G\right),E\left(G\right)-\left\{e\right\})$. We will use the notation ${G}^{\prime}={rmv}_{e}\left(G\right)$.
- Edge exchange: We say that a graph ${G}^{\prime}$ is obtained from a graph G by an edge exchange if there is an edge $e\in E\left(G\right)$ and an edge $f\in E\left(\overline{G}\right)$ such that ${G}^{\prime}=(V\left(G\right),(E\left(G\right)-\left\{e\right\})\cup \left\{f\right\})$. We will use the notation ${G}^{\prime}={xch}_{e,f}\left(G\right)$.

Now, consider a graph G and an ordered k-tuple of operations ${O}_{k}=({op}_{1},{op}_{2},\dots ,{op}_{k})$, where ${op}_{i}\in \{{add}_{{e}_{i}},{rmv}_{{e}_{i}},{xch}_{{e}_{i},{f}_{i}}\}$. We define the class ${\mathcal{C}}_{{O}_{k}}\left(G\right)$ containing all graph families of the form $\mathcal{G}=\{G,{G}_{1}^{\prime},{G}_{2}^{\prime},\dots ,{G}_{k}^{\prime}\}$, composed by connected graphs on the common vertex set $V\left(G\right)$, where ${G}_{i}^{\prime}={op}_{i}\left({G}_{i-1}^{\prime}\right)$ for every $i\in \{1,\dots ,k\}$. Likewise, we define the class ${\mathcal{P}}_{{O}_{k}}\left(G\right)$ containing all graph families of the form $\mathcal{G}=\{{G}_{1}^{\prime},{G}_{2}^{\prime},\dots ,{G}_{k}^{\prime}\}$, composed by connected graphs on the common vertex set $V\left(G\right)$, where ${G}_{i}^{\prime}={op}_{i}\left(G\right)$ for every $i\in \{1,\dots ,k\}$. In particular, if ${op}_{i}={add}_{{e}_{i}}$ (${op}_{i}={rmv}_{{e}_{i}}$, ${op}_{i}={xch}_{{e}_{i},{f}_{i}}$) for every $i\in \{1,\dots ,k\}$, we will write ${\mathcal{C}}_{{A}_{k}}\left(G\right)$ (${\mathcal{C}}_{{R}_{k}}\left(G\right)$, ${\mathcal{C}}_{{X}_{k}}\left(G\right)$) and ${\mathcal{P}}_{{A}_{k}}\left(G\right)$ (${\mathcal{P}}_{{R}_{k}}\left(G\right)$, ${\mathcal{P}}_{{X}_{k}}\left(G\right)$).

We have that performing an edge exchange on any tree T (path graphs included) either produces another tree or a disconnected graph. Thus, the following result is a direct consequence of this fact and Theorem 2.

**Remark**

**2.**

For any tree T, any $k\ge 1$ and any graph family $\mathcal{T}\in {\mathcal{C}}_{{X}_{k}}\left(T\right)\cup {\mathcal{P}}_{{X}_{k}}\left(T\right)$,

$${Sd}_{l}\left(\mathcal{T}\right)=1.$$

Our next result covers a large class of families composed by unicyclic graphs that can be obtained by adding edges, in parallel, to a path graph.

**Remark**

**3.**

For any path graph ${P}_{n}$, $n\ge 4$, any $k\ge 1$ and any graph family $\mathcal{G}\in {\mathcal{P}}_{{A}_{k}}\left({P}_{n}\right)$,

$$1\le {Sd}_{l}\left(\mathcal{G}\right)\le 2.$$

**Proof.**

Every graph $G\in \mathcal{G}$ is either a cycle or a unicyclic graph. If the cycle subgraphs of every graph in the family have even order, then ${Sd}_{l}\left(\mathcal{G}\right)=1$ by Theorem 2. If $\mathcal{G}$ contains at least one non-bipartite graph, then ${Sd}_{l}\left(\mathcal{G}\right)\ge 2$. We now proceed to show that in this case, ${Sd}_{l}\left(\mathcal{G}\right)\le 2$. To this end, we denote by $V=\{{v}_{1},\cdots ,{v}_{n}\}$ the vertex set of ${P}_{n}$, where ${v}_{i}\sim {v}_{i+1}$ for every $i\in \{1,\cdots ,n-1\}$. We claim that $\{{v}_{1},{v}_{n}\}$ is a simultaneous local metric generator for the subfamily ${\mathcal{G}}^{\prime}\subset \mathcal{G}$ composed by all non-bipartite graphs of $\mathcal{G}$. In order to prove this claim, consider an arbitrary graph $G\in {\mathcal{G}}^{\prime}$, and let $e={v}_{p}{v}_{q}$, $1\le p<q\le n$ be the edge added to $E\left({P}_{n}\right)$ to obtain G. We differentiate the following cases:

- $e={v}_{1}{v}_{n}$. In this case, G is an odd-order cycle graph, so $\{{v}_{1},{v}_{n}\}$ is a local metric generator.
- $1<p<q=n$. In this case, G is a unicyclic graph where ${v}_{p}$ has degree three, ${v}_{1}$ has degree one and the remaining vertices have degree two. Consider two adjacent vertices $u,v\in V-\{{v}_{1},{v}_{n}\}$. If u or v belong to the path from ${v}_{1}$ to ${v}_{p}$, then ${v}_{1}$ distinguishes them. If both, u and v, belong to the cycle subgraph of G, then $d(u,{v}_{1})=d(u,{v}_{p})+d({v}_{p},{v}_{1})$ and $d(v,{v}_{1})=d(v,{v}_{p})+d({v}_{p},{v}_{1})$. Thus, if ${v}_{p}$ distinguishes u and v, so does ${v}_{1}$, otherwise ${v}_{n}$ does.
- $1=p<q<n$. This case is analogous to Case 2.
- $1<p<q<n$. In this case, G is a unicyclic graph where ${v}_{p}$ and ${v}_{q}$ have degree three, ${v}_{1}$ and ${v}_{n}$ have degree one and the remaining vertices have degree two. Consider two adjacent vertices $u,v\in V-\{{v}_{1},{v}_{n}\}$. If u or v belong to the path from ${v}_{1}$ to ${v}_{p}$ (or to the path from ${v}_{q}$ to ${v}_{n}$), then ${v}_{1}$ (or ${v}_{n}$) distinguishes them. If both u and v belong to the cycle, then $d(u,{v}_{1})=d(u,{v}_{p})+d({v}_{p},{v}_{1})$, $d(v,{v}_{1})=d(v,{v}_{p})+d({v}_{p},{v}_{1})$, $d(u,{v}_{n})=d(u,{v}_{q})+d({v}_{q},{v}_{n})$ and $d(v,{v}_{n})=d(v,{v}_{q})+d({v}_{q},{v}_{n})$. Thus, if ${v}_{p}$ distinguishes u and v, so does ${v}_{1}$, otherwise ${v}_{q}$ distinguishes them, which means that ${v}_{n}$ also does.

According to the four cases above, we conclude that $\{{v}_{1},{v}_{n}\}$ is a local metric generator for G, so it is a simultaneous local metric generator for ${\mathcal{G}}^{\prime}$. Thus, by Theorem 4, ${Sd}_{l}\left(\mathcal{G}\right)={Sd}_{l}\left({\mathcal{G}}^{\prime}\right)\le 2$. ☐

**Remark**

**4.**

Let ${C}_{n}$, $n\ge 4$, be a cycle graph, and let e be an edge of its complement. If n is odd, then
Otherwise,

$${dim}_{l}\left({add}_{e}\left({C}_{n}\right)\right)=2.$$

$$1\le {dim}_{l}\left({add}_{e}\left({C}_{n}\right)\right)\le 2.$$

**Proof.**

Consider $e={v}_{i}{v}_{j}$. We have that ${C}_{n}$ is bipartite for n even. If, additionally, ${d}_{{C}_{n}}({v}_{i},{v}_{j})$ is odd, then the graph ${add}_{e}\left({C}_{n}\right)$ is also bipartite, so ${dim}_{l}\left({add}_{e}\left({C}_{n}\right)\right)=1$. For every other case, ${dim}_{l}\left({add}_{e}\left({C}_{n}\right)\right)\ge 2$. From now on, we assume that $n\ge 5$ and proceed to show that ${dim}_{l}\left({add}_{e}\left({C}_{n}\right)\right)\le 2$. Note that ${add}_{e}\left({C}_{n}\right)$ is a bicyclic graph where ${v}_{i}$ and ${v}_{j}$ are vertices of degree three and the remaining vertices have degree two. We denote by ${C}_{{n}_{1}}$ and ${C}_{n-{n}_{1}+2}$ the two graphs obtained as induced subgraphs of ${add}_{e}\left({C}_{n}\right)$, which are isomorphic to a cycle of order ${n}_{1}$ and a cycle of order $n-{n}_{1}+2$, respectively. Since $n\ge 5$, we have that ${n}_{1}>3$ or $n-{n}_{1}+2>3$. We assume, without loss of generality, that ${n}_{1}>3$. Let $a,b\in V\left({C}_{{n}_{1}}\right)$ are two vertices such that:

- if ${n}_{1}$ is even, $ab\in E\left({C}_{{n}_{1}}\right)$ and $d({v}_{i},a)=d({v}_{j},b)$,
- if ${n}_{1}$ is odd, $ax,xb\in E\left({C}_{{n}_{1}}\right)$, where $x\in V\left({C}_{{n}_{1}}\right)$ is the only vertex such that $d(x,{v}_{i})=d(x,{v}_{j})$.

We claim that $\{a,b\}$ is a local metric generator for ${add}_{e}\left({C}_{n}\right)$. Consider two adjacent vertices $u,v\in V\left({add}_{e}\left({C}_{n}\right)\right)-\{a,b\}$. We differentiate the following cases, where the distances are taken in ${add}_{e}\left({C}_{n}\right)$:

- $u,v\in V\left({C}_{{n}_{1}}\right)$. It is simple to verify that $\{a,b\}$ is a local metric generator for ${C}_{{n}_{1}}$, hence $d(u,a)\ne d(v,a)$ or $d(u,b)\ne d(v,b)$.
- $u\in V\left({C}_{{n}_{1}}\right)$ and $v\in V\left({C}_{n-{n}_{1}+2}\right)-\{{v}_{i},{v}_{j}\}$. In this case, $u\in \{{v}_{i},{v}_{j}\}$ and $d(u,a)<d(v,a)$ or $d(u,b)<d(v,b)$.
- $u,v\in V\left({C}_{n-{n}_{1}+2}\right)-\{{v}_{i},{v}_{j}\}$. In this case, if $d(u,a)=d(v,a)$, then $d(u,{v}_{i})=d(v,{v}_{i})$, so $d(u,{v}_{j})\ne d(v,{v}_{j})$ and, consequently, $d(u,b)\ne d(v,b)$.

According to the three cases above, $\{a,b\}$ is a local metric generator for ${add}_{e}\left({C}_{n}\right)$, and as a result, the proof is complete. ☐

The next result is a direct consequence of Remarks 1 and 4.

**Remark**

**5.**

Let ${C}_{n}$, $n\ge 4$, be a cycle graph. If $e,{e}^{\prime}$ are two different edges of the complement of ${C}_{n}$, then:

$$1\le {Sd}_{l}({add}_{e}\left({C}_{n}\right),{add}_{{e}^{\prime}}\left({C}_{n}\right))={Sd}_{l}({C}_{n},{add}_{e}\left({C}_{n}\right),{add}_{{e}^{\prime}}\left({C}_{n}\right))\le 4.$$

## 4. Families of Corona Product Graphs

Let G and H be two graphs of order n and ${n}^{\prime}$, respectively. The corona product $G\odot H$ is defined as the graph obtained from G and H by taking one copy of G and n copies of H and joining by an edge each vertex from the i-th copy of H with the i-th vertex of G. Notice that the corona graph ${K}_{1}\odot H$ is isomorphic to the join graph ${K}_{1}+H$. Given a graph family $\mathcal{G}=\{{G}_{1},\dots ,{G}_{k}\}$ on a common vertex set and a graph H, we define the graph family:

$$\mathcal{G}\odot H=\{{G}_{1}\odot H,\dots ,{G}_{k}\odot H\}.$$

Several results presented in [23,24] describe the behavior of the local metric dimension on corona product graphs. We now analyze how this behavior extends to the simultaneous local metric dimension of families composed by corona product graphs.

**Theorem**

**6.**

As we can expect, if we review the proof of the result above, we check that if A is a local metric basis of $G\odot H$, then A does not contain elements in $V\left(G\right)$. Therefore, any local metric basis of $G\odot H$ is a simultaneous local metric basis of $\mathcal{G}\odot H$. This fact and the result above allow us to state the following theorem.

**Theorem**

**7.**

Let $\mathcal{G}$ be a family of connected non-trivial graphs on a common vertex set V. For any non-empty graph H,

$${Sd}_{l}(\mathcal{G}\odot H)=\left|V\right|\xb7{adim}_{l}\left(H\right).$$

Given a graph family $\mathcal{G}$ on a common vertex set and a graph family $\mathcal{H}$ on a common vertex set, we define the graph family:

$$\mathcal{G}\odot \mathcal{H}=\{G\odot H:\phantom{\rule{0.166667em}{0ex}}G\in \mathcal{G}\phantom{\rule{4.pt}{0ex}}\mathrm{and}\phantom{\rule{4.pt}{0ex}}H\in \mathcal{H}\}.$$

The following result generalizes Theorem 7. In what follows, we will use the notation $\langle v\rangle $ for the graph $G=(V,E)$ where $V=\left\{v\right\}$ and $E=\varnothing $.

**Theorem**

**8.**

For any family $\mathcal{G}$ of connected non-trivial graphs on a common vertex set V and any family $\mathcal{H}$ of non-empty graphs on a common vertex set,

$${Sd}_{l}(\mathcal{G}\odot \mathcal{H})=\left|V\right|\xb7{Sad}_{l}\left(\mathcal{H}\right).$$

**Proof.**

Let $n=\left|V\right|$, and let ${V}^{\prime}$ be the vertex set of the graphs in $\mathcal{H}$, ${V}_{i}^{\prime}$ the copy of ${V}^{\prime}$ corresponding to ${v}_{i}\in V$, ${\mathcal{H}}_{i}$ the i-th copy of $\mathcal{H}$ and ${H}_{i}\in {\mathcal{H}}_{i}$ the i-th copy of $H\in \mathcal{H}$.

We first need to prove that any $G\in \mathcal{G}$ satisfies ${Sd}_{l}(G\odot \mathcal{H})=n\xb7{Sad}_{l}\left(\mathcal{H}\right)$. For any $i\in \{1,\dots ,n\}$, let ${S}_{i}$ be a simultaneous local adjacency basis of ${\mathcal{H}}_{i}$. In order to show that $X={\bigcup}_{i=1}^{n}{S}_{i}$ is a simultaneous local metric generator for $\mathcal{G}\odot \mathcal{H}$, we will show that X is a local metric generator for $G\odot H$, for any $G\in \mathcal{G}$ and $H\in \mathcal{H}$. To this end, we differentiate the following four cases for two adjacent vertices $x,y\in V(G\odot H)-X$.

- $x,y\in {V}_{i}^{\prime}$. Since ${S}_{i}$ is an adjacency generator of ${H}_{i}$, there exists a vertex $u\in {S}_{i}$ such that $|{N}_{{H}_{i}}\left(u\right)\cap \{x,y\}|=1$. Hence,$${d}_{G\odot H}(x,u)={d}_{\langle {v}_{i}\rangle +{H}_{i}}(x,u)\ne {d}_{\langle {v}_{i}\rangle +{H}_{i}}(y,u)={d}_{G\odot H}(y,u).$$
- $x\in {V}_{i}^{\prime}$ and $y\in V$. If $y={v}_{i}$, then for $u\in {S}_{j}$, $j\ne i$, we have:$${d}_{G\odot H}(x,u)={d}_{G\odot H}(x,y)+{d}_{G\odot H}(y,u)>{d}_{G\odot H}(y,u).$$
- $x={v}_{i}$ and $y={v}_{j}$. For $u\in {S}_{j}$, we find that:$${d}_{G\odot H}(x,u)={d}_{G\odot H}(x,y)+{d}_{G\odot H}(y,u)>{d}_{G\odot H}(y,u).$$
- $x\in {V}_{i}^{\prime}$ and $y\in {V}_{j}^{\prime}$, $j\ne i$. In this case, for $u\in {S}_{i}$, we have:$${d}_{G\odot H}(x,u)\le 2<3\le {d}_{G\odot H}(u,y).$$

Hence, X is a local metric generator for $G\odot H$, and since $G\in \mathcal{G}$ and $H\in \mathcal{H}$ are arbitrary graphs, X is a simultaneous local metric generator for $\mathcal{G}\odot \mathcal{H}$, which implies that:

$${Sd}_{l}(G\odot \mathcal{H})\le \sum _{i=1}^{n}\left|{S}_{i}\right|=n\xb7{Sad}_{l}\left(\mathcal{H}\right).$$

It remains to prove that ${Sd}_{l}(\mathcal{G}\odot \mathcal{H})\ge n\xb7{Sad}_{l}\left(\mathcal{H}\right).$ To do this, let W be a simultaneous local metric basis of $\mathcal{G}\odot \mathcal{H}$, and for any $i\in \{1,\dots ,n\}$, let ${W}_{i}={V}_{i}^{\prime}\cap W$. Let us show that ${W}_{i}$ is a simultaneous adjacency generator for ${\mathcal{H}}_{i}$. To do this, consider two different vertices $x,y\in {V}_{i}^{\prime}-{W}_{i}$, which are adjacent in $G\odot H$, for some $H\in \mathcal{H}$. Since no vertex $a\in V(G\odot H)-{V}_{i}^{\prime}$ distinguishes the pair $x,y$, there exists some $u\in {W}_{i}$, such that ${d}_{G\odot H}(x,u)\ne {d}_{G\odot H}(y,u)$. Now, since ${d}_{G\odot H}(x,u)\in \{1,2\}$ and ${d}_{G\odot H}(y,u)\in \{1,2\}$, we conclude that $|{N}_{{H}_{i}}\left(u\right)\cap \{x,y\}|=1$, and consequently, ${W}_{i}$ must be an adjacency generator for ${H}_{i}$; and since $H\in \mathcal{H}$ is arbitrary, ${W}_{i}$ is a simultaneous local adjacency generator for ${\mathcal{H}}_{i}$. Hence, for any $i\in \{1,\dots ,n\}$, $|{W}_{i}|\ge {Sad}_{l}\left({H}_{i}\right)$. Therefore,
This completes the proof. ☐

$${Sd}_{l}(\mathcal{G}\odot \mathcal{H})=\left|W\right|\ge \sum _{i=1}^{n}\left|{W}_{i}\right|\ge \sum _{i=1}^{n}{Sad}_{l}\left({\mathcal{H}}_{i}\right)=n\xb7{Sad}_{l}\left(\mathcal{H}\right).$$

The following result is a direct consequence of Theorem 8.

**Corollary**

**2.**

For any family $\mathcal{G}$ of connected non-trivial graphs on a common vertex set V and any family $\mathcal{H}$ of non-empty graphs on a common vertex set,
Furthermore, if every graph in $\mathcal{H}$ has diameter two, then:

$${Sd}_{l}(G\odot \mathcal{H})\ge \left|V\right|\xb7{Sd}_{l}\left(\mathcal{H}\right).$$

$${Sd}_{l}(G\odot \mathcal{H})=\left|V\right|\xb7{Sd}_{l}\left(\mathcal{H}\right).$$

Now, we give another result, which is a direct consequence of Theorem 8 and shows the general bounds of ${Sd}_{l}(\mathcal{G}\odot \mathcal{H})$.

**Corollary**

**3.**

For any family $\mathcal{G}$ of connected graphs on a common vertex set V, $\left|V\right|\ge 2$ and any family $\mathcal{H}$ of non-empty graphs on a common vertex set ${V}^{\prime}$,

$$\left|V\right|\le {Sd}_{l}(G\odot \mathcal{H})\le \left|V\right|\left(\right|{V}^{\prime}|-1).$$

We now consider the case in which the graph H is empty.

**Theorem**

**9.**

In reference [24], Let G be a connected non-trivial graph. For any empty graph H,

$${dim}_{l}(G\odot H)={dim}_{l}\left(G\right).$$

The result above may be extended to the simultaneous scenario.

**Theorem**

**10.**

Let $\mathcal{G}$ be a family of connected non-trivial graphs on a common vertex set. For any empty graph H,

$${Sd}_{l}(\mathcal{G}\odot H)={Sd}_{l}\left(\mathcal{G}\right).$$

**Proof.**

Let B be a simultaneous local metric basis of $\mathcal{G}=\{{G}_{1},{G}_{2},\dots ,{G}_{k}\}$. Since H is empty, any local metric generator ${B}^{\prime}\subseteq B$ of ${G}_{i}$ is a local metric generator for ${G}_{i}\odot H$, so B is a simultaneous local metric generator for $\mathcal{G}\odot H$. As a consequence, ${Sd}_{l}(\mathcal{G}\odot H)\le {Sd}_{l}\left(\mathcal{G}\right)$.

Suppose that A is a simultaneous local metric basis of $\mathcal{G}\odot H$ and $\left|A\right|<\left|B\right|$. If there exists $x\in A\cap {V}_{ij}$ for the j-th copy of H in any graph ${G}_{i}\odot H$, then the pairs of vertices of ${G}_{i}\odot H$ that are distinguished by x can also be distinguished by ${v}_{i}$. As a consequence, the set ${A}^{\prime}$ obtained from A by replacing by ${v}_{i}$ each vertex $x\phantom{\rule{3.33333pt}{0ex}}\in \phantom{\rule{3.33333pt}{0ex}}A\phantom{\rule{3.33333pt}{0ex}}\cap \phantom{\rule{3.33333pt}{0ex}}{V}_{ij},i\phantom{\rule{3.33333pt}{0ex}}\in \phantom{\rule{3.33333pt}{0ex}}\{1,\dots ,k\},j\phantom{\rule{3.33333pt}{0ex}}\in \phantom{\rule{3.33333pt}{0ex}}\{1,\dots ,n\}$ is a simultaneous local metric generator for $\mathcal{G}$ such that $\left|{A}^{\prime}\right|\le \left|A\right|<{Sd}_{l}\left(\mathcal{G}\right)$, which is a contradiction, so ${Sd}_{l}(\mathcal{G}\odot H)\ge {Sd}_{l}\left(\mathcal{G}\right)$. ☐

**Theorem**

**11.**

- 1.
- If the vertex of ${K}_{1}$ does not belong to any local metric basis of ${K}_{1}+H$, then for any connected graph G of order n,$${dim}_{l}(G\odot H)=n\xb7{dim}_{l}({K}_{1}+H).$$
- 2.
- If the vertex of ${K}_{1}$ belongs to a local metric basis of ${K}_{1}+H$, then for any connected graph G of order $n\ge 2$,$${dim}_{l}(G\odot H)=n\xb7\left({dim}_{l}({K}_{1}+H)-1\right).$$

As for the previous case, the result above is extensible to the simultaneous setting.

**Theorem**

**12.**

Let $\mathcal{G}$ be a family of connected non-trivial graphs on a common vertex set V, and let $\mathcal{H}$ be a family of non-empty graphs on a common vertex set. The following assertions hold.

- 1.
- If the vertex of ${K}_{1}$ does not belong to any simultaneous local metric basis of ${K}_{1}+\mathcal{H}$, then:$${Sd}_{l}(\mathcal{G}\odot \mathcal{H})=\left|V\right|\xb7{Sd}_{l}({K}_{1}+\mathcal{H}).$$
- 2.
- If the vertex of ${K}_{1}$ belongs to a simultaneous local metric basis of ${K}_{1}+\mathcal{H}$, then:$${Sd}_{l}(\mathcal{G}\odot \mathcal{H})=\left|V\right|\xb7\left({Sd}_{l}({K}_{1}+\mathcal{H})-1\right).$$

**Proof.**

As above, let $n=\left|V\right|$, and let ${V}^{\prime}$ be the vertex set of the graphs in $\mathcal{H}$, ${V}_{i}^{\prime}$ the copy of ${V}^{\prime}$ corresponding to ${v}_{i}\in V$, ${\mathcal{H}}_{i}$ the i-th copy of $\mathcal{H}$ and ${H}_{i}\in {\mathcal{H}}_{i}$ the i-th copy of $H\in \mathcal{H}$.

We will apply a reasoning analogous to the one used for the proof of Theorem 11 in [24]. If $n=1$, then $\mathcal{G}\odot \mathcal{H}\cong {K}_{1}+\mathcal{H}$, so the result holds. Assume that $n\ge 2$, Let ${S}_{i}$ be a simultaneous local metric basis of $\langle {v}_{i}\rangle +{\mathcal{H}}_{i}$, and let ${S}_{i}^{\prime}={S}_{i}-\left\{{v}_{i}\right\}$. Note that ${S}_{i}^{\prime}\ne \varnothing $ because ${\mathcal{H}}_{i}$ is the family of non-empty graphs and ${v}_{i}$ does not distinguish any pair of adjacent vertices belonging to ${V}_{i}^{\prime}$. In order to show that $X={\cup}_{i=1}^{n}{S}_{i}^{\prime}$ is a simultaneous local metric generator for $\mathcal{G}\odot \mathcal{H}$, we differentiate the following cases for two vertices $x,y$, which are adjacent in an arbitrary graph $G\odot H$:

- $x,y\in {V}_{i}^{\prime}$. Since ${v}_{i}$ does not distinguish $x,y$, there exists $u\in {S}_{i}^{\prime}$ such that ${d}_{G\odot H}(x,u)={d}_{\langle {v}_{i}\rangle +{H}_{i}}(x,u)\ne {d}_{\langle {v}_{i}\rangle +{H}_{i}}(y,u)={d}_{G\odot H}(y,u)$.
- $x\in {V}_{i}^{\prime}$ and $y={v}_{i}$. For $u\in {S}_{j}^{\prime}$, $j\ne i$, we have ${d}_{G\odot H}(x,u)=1+{d}_{G\odot H}(y,u)>{d}_{G\odot H}(y,u)$.
- $x={v}_{i}$ and $y={v}_{j}$. For $u\in {S}_{j}^{\prime}$, we have ${d}_{G\odot H}(x,u)=2={d}_{G\odot H}(x,y)+1>1={d}_{G\odot H}(y,u)$.

Hence, X is a local metric generator for $G\odot H$, and since $G\in \mathcal{G}$ and $H\in \mathcal{H}$ are arbitrary graphs, X is a simultaneous local metric generator for $\mathcal{G}\odot \mathcal{H}$.

Now, we shall prove (1). If the vertex of ${K}_{1}$ does not belong to any simultaneous local metric basis of ${K}_{1}+\mathcal{H}$, then ${v}_{i}\notin {S}_{i}$ for every $i\in \{1,\dots ,n\}$, and as a consequence,

$${Sd}_{l}(\mathcal{G}\odot \mathcal{H})\le \left|X\right|=\sum _{i=1}^{n}\left|{S}_{i}^{\prime}\right|=\sum _{i=1}^{n}{Sd}_{l}(\langle {v}_{i}\rangle +{\mathcal{H}}_{i})=n\xb7{Sd}_{l}({K}_{1}+\mathcal{H}).$$

Now, we need to prove that ${Sd}_{l}(\mathcal{G}\odot \mathcal{H})\ge n\xb7{Sd}_{l}({K}_{1}+\mathcal{H}).$ In order to do this, let W be a simultaneous local metric basis of $\mathcal{G}\odot \mathcal{H}$, and let ${W}_{i}={V}_{i}^{\prime}\cap W$. Consider two adjacent vertices $x,y\in {V}_{i}^{\prime}-{W}_{i}$ in $G\odot H$. Since no vertex $a\in W-{W}_{i}$ distinguishes the pair $x,y$, there exists $u\in {W}_{i}$ such that ${d}_{\langle {v}_{i}\rangle +{H}_{i}}(x,u)={d}_{G\odot H}(x,u)\ne {d}_{G\odot H}(y,u)={d}_{\langle {v}_{i}\rangle +{H}_{i}}(y,u)$. Therefore, we conclude that ${W}_{i}\cup \left\{{v}_{i}\right\}$ is a simultaneous local metric generator for $\langle {v}_{i}\rangle +{\mathcal{H}}_{i}$. Now, since ${v}_{i}$ does not belong to any simultaneous local metric basis of $\langle {v}_{i}\rangle +{\mathcal{H}}_{i}$, we have that $|{W}_{i}|+1=|{W}_{i}\cup \left\{{v}_{i}\right\}|>{Sd}_{l}(\langle {v}_{i}\rangle +{\mathcal{H}}_{i})$ and, as a consequence, $|{W}_{i}|\ge {Sd}_{l}(\langle {v}_{i}\rangle +{\mathcal{H}}_{i})$. Therefore,
and the proof of (1) is complete.

$${Sd}_{l}(\mathcal{G}\odot \mathcal{H})=\left|W\right|\ge \sum _{i=1}^{n}\left|{W}_{i}\right|\ge \sum _{i=1}^{n}{Sd}_{l}(\langle {v}_{i}\rangle +{\mathcal{H}}_{i})=n\xb7{Sd}_{l}({K}_{1}+\mathcal{H}),$$

Finally, we shall prove (2). If the vertex of ${K}_{1}$ belongs to a simultaneous local metric basis of ${K}_{1}+\mathcal{H}$, then we assume that ${v}_{i}\in {S}_{i}$ for every $i\in \{1,\dots ,n\}$. Suppose that there exists B such that B is a simultaneous local metric basis of $\mathcal{G}\odot \mathcal{H}$ and $\left|B\right|<\left|X\right|$. In such a case, there exists $i\in \{1,\dots ,n\}$ such that the set ${B}_{i}=B\cap {V}_{i}^{\prime}$ satisfies $\left|{B}_{i}\right|<\left|{S}_{i}^{\prime}\right|$. Now, since no vertex of $B-{B}_{i}$ distinguishes the pairs of adjacent vertices belonging to ${V}_{i}^{\prime}$, the set ${B}_{i}\cup \left\{{v}_{i}\right\}$ must be a simultaneous local metric generator for $\langle {v}_{i}\rangle +{\mathcal{H}}_{i}$. Therefore, ${Sd}_{l}(\langle {v}_{i}\rangle +{\mathcal{H}}_{i})\le |{B}_{i}|+1<|{S}_{i}^{\prime}|+1=|{S}_{i}|={Sd}_{l}(\langle {v}_{i}\rangle +{\mathcal{H}}_{i})$, which is a contradiction. Hence, X is a simultaneous local metric basis of $\mathcal{G}\odot \mathcal{H}$, and as a consequence,

$${Sd}_{l}(\mathcal{G}\odot \mathcal{H})=\left|X\right|=\sum _{i=1}^{n}\left|{S}_{i}^{\prime}\right|=\sum _{i=1}^{n}({Sd}_{l}(\langle {v}_{i}\rangle +{\mathcal{H}}_{i})-1)=n({Sd}_{l}({K}_{1}+\mathcal{H})-1).$$

The proof of (2) is now complete. ☐

**Corollary**

**4.**

Let G be a connected graph of order $n\ge 2$, and let $\mathcal{H}=\{{K}_{{r}_{1},{n}^{\prime}-{r}_{1}},{K}_{{r}_{2},{n}^{\prime}-{r}_{2}},\dots ,{K}_{{r}_{k},{n}^{\prime}-{r}_{k}}\}$, $1\le {r}_{i}\le {n}^{\prime}-1$, be a family composed by complete bipartite graphs on a common vertex set ${V}^{\prime}$. Then,

$${Sd}_{l}(G\odot \mathcal{H})=n.$$

**Proof.**

For every $x\in {V}^{\prime}$, the set $\{v,x\}$ is a simultaneous local metric basis of $\langle v\rangle +\mathcal{H}$, so $Sd(G\odot \mathcal{H})=n\xb7(Sd({K}_{1}+\mathcal{H})-1)=n$. ☐

**Lemma**

**1.**

In reference [24], Let H be a graph of radius $r\left(H\right)$. If $r\left(H\right)\ge 4$, then the vertex of ${K}_{1}$ does not belong to any local metric basis of ${K}_{1}+H$.

Note that an analogous result holds for the simultaneous scenario.

**Lemma**

**2.**

Let $\mathcal{H}$ be a graph family on a common vertex set V, such that $r\left(H\right)\ge 4$ for every $H\in \mathcal{H}$. Then, the vertex of ${K}_{1}$ does not belong to any simultaneous local metric basis of ${K}_{1}+\mathcal{H}$.

**Proof.**

Let B be a simultaneous local metric basis of $\{{K}_{1}+{H}_{1},\dots ,{K}_{1}+{H}_{k}\}$. We suppose that the vertex v of ${K}_{1}$ belongs to B. Note that $v\in B$ if and only if there exists $u\in V-B$, such that $B\subseteq {N}_{{K}_{1}+{H}_{i}}\left(u\right)$ for some ${H}_{i}\in \mathcal{H}$. If $r\left({H}_{i}\right)\ge 4$, proceeding in a manner analogous to that of the proof of Lemma 1 as given in [24], we take ${u}^{\prime}\in V$ such that ${d}_{{H}_{i}}(u,{u}^{\prime})=4$ and a shortest path $u{u}_{1}{u}_{2}{u}_{3}{u}^{\prime}$. In such a case, for every $b\in B-\left\{v\right\}$, we will have that ${d}_{{K}_{1}+{H}_{i}}(b,{u}_{3})={d}_{{K}_{1}+{H}_{i}}(b,{u}^{\prime})=2$, which is a contradiction. Hence, v does not belong to any simultaneous local metric basis of $\{{K}_{1}+{H}_{1},{K}_{1}+{H}_{2},\dots ,{K}_{1}+{H}_{k}\}$. ☐

As a direct consequence of item (1) of Theorem 12 and Lemma 2, we obtain the following result.

**Proposition**

**1.**

For any family $\mathcal{G}$ of connected graphs on a common vertex set V and any graph family $\mathcal{H}$ on a common vertex set ${V}^{\prime}$ such that $r\left(H\right)\ge 4$ for every $H\in \mathcal{H}$,

$${Sd}_{l}(\mathcal{G}\odot \mathcal{H})=\left|V\right|\xb7{Sd}_{l}({K}_{1}+\mathcal{H}).$$

## 5. Families of Lexicographic Product Graphs

Let $\mathcal{G}=\{{G}_{1},\cdots ,{G}_{r}\}$ be a family of connected graphs with common vertex set $V=\{{u}_{1},\cdots ,{u}_{n}\}$. For each ${u}_{i}\in V$, let ${\mathcal{H}}^{i}=\{{H}_{i1},\cdots {H}_{i{s}_{i}}\}$ be a family of graphs with common vertex set ${V}_{i}$. For each $i=1,\cdots ,n$, choose ${H}_{ij}\in {\mathcal{H}}^{i}$ and consider the family ${\mathcal{H}}_{j}=\{{H}_{1j},{H}_{2j},\cdots ,{H}_{nj}\}$. Notice that the families ${\mathcal{H}}^{i}$ can be represented in the following scheme where the columns correspond to the families ${\mathcal{H}}_{j}$.

$$\begin{array}{ccccccc}{\mathcal{H}}^{1}=& \{{H}_{11},& \cdots & {H}_{1j},& \cdots & {H}_{1{s}_{1}}\}& \mathrm{defined}\phantom{\rule{4.pt}{0ex}}\mathrm{on}\phantom{\rule{0.166667em}{0ex}}{V}_{1}\\ \vdots & \vdots & & \vdots & & \vdots & \\ {\mathcal{H}}^{i}=& \{{H}_{i1},& \cdots & {H}_{ij},& \cdots & {H}_{i{s}_{i}}\}& \mathrm{defined}\phantom{\rule{4.pt}{0ex}}\mathrm{on}\phantom{\rule{0.166667em}{0ex}}{V}_{i}\\ \vdots & \vdots & & \vdots & & \vdots & \\ {\mathcal{H}}^{n}=& \{{H}_{n1},& \cdots & {H}_{nj},& \cdots & {H}_{n{s}_{n}}\}& \mathrm{defined}\phantom{\rule{4.pt}{0ex}}\mathrm{on}\phantom{\rule{0.166667em}{0ex}}{V}_{n}\end{array}$$

For a graph ${G}_{k}\in \mathcal{G}$ and the family ${\mathcal{H}}_{j}$, we define the lexicographic product of ${G}_{k}$ and ${\mathcal{H}}_{j}$ as the graph ${G}_{k}\circ {\mathcal{H}}_{j}$ such that $V({G}_{k}\circ {\mathcal{H}}_{j})={\bigcup}_{{u}_{i}\in V}(\left\{{u}_{i}\right\}\times {V}_{i})$ and $({u}_{{i}_{1}},v)({u}_{{i}_{2}},w)\in E({G}_{k}\circ {\mathcal{H}}_{j})$ if and only if ${u}_{{i}_{1}}{u}_{{i}_{2}}\in E\left({G}_{k}\right)$ or ${i}_{1}={i}_{2}$ and $vw\in E\left({H}_{{i}_{1}j}\right)$. Let $\mathcal{H}=\{{\mathcal{H}}_{1},{\mathcal{H}}_{2},\cdots {\mathcal{H}}_{s}\}$. We are interested in the simultaneous local metric dimension of the family:

$$\mathcal{G}\circ \mathcal{H}=\{{G}_{k}\circ {\mathcal{H}}_{j}:{G}_{k}\in \mathcal{G},{\mathcal{H}}_{j}\in \mathcal{H}\}.$$

The relation between distances in a lexicographic product graph and those in its factors is presented in the following remark.

**Remark**

**6.**

If $(u,v)$ and $({u}^{\prime},{v}^{\prime})$ are vertices of $G\circ H$, then:

$${d}_{G\circ \mathcal{H}}((u,v),({u}^{\prime},{v}^{\prime}))=\left\{\begin{array}{cc}{d}_{G}(u,{u}^{\prime}),\hfill & if\text{}u\ne {u}^{\prime},\hfill \\ min\{{d}_{H}(v,{v}^{\prime}),2\},\hfill & if\text{}u={u}^{\prime}.\hfill \end{array}\right.$$

We point out that the remark above was stated in [26,27] for the case where ${H}_{ij}\cong H$ for all ${H}_{ij}\in {\mathcal{H}}_{j}$. By Remark 6, we deduce that if $u\in V-\left\{{u}_{i}\right\}$, then two adjacent vertices $({u}_{i},w),({u}_{i},y)$ are not distinguished by $(u,v)\in V(\mathcal{G}\circ \mathcal{H})$. Therefore, we can state the following remark.

**Remark**

**7.**

If B is a simultaneous local metric generator for the family of lexicographic product graphs $\mathcal{G}\circ \mathcal{H}$, then ${B}_{i}=\{v:({u}_{i},v)\in B\}$ is a simultaneous local adjacency generator for ${\mathcal{H}}^{i}$.

In order to state our main result (Theorem 13), we need to introduce some additional notation. Let B be a simultaneous local adjacency generator for a family of non-trivial connected graphs ${\mathcal{H}}^{i}=\{{H}_{i1},\cdots ,{H}_{is}\}$ on a common vertex set ${V}_{i}$, and let $\mathcal{G}\circ \mathcal{H}$ be family of lexicographic product graphs defined as above.

- $D[{\mathcal{H}}^{i},B]=\{v\in {V}_{i}:\phantom{\rule{0.166667em}{0ex}}B\subseteq {N}_{{H}_{ij}}\left(v\right)\phantom{\rule{4.pt}{0ex}}\mathrm{for}\phantom{\rule{4.pt}{0ex}}\mathrm{some}\phantom{\rule{4.pt}{0ex}}{H}_{ij}\in {\mathcal{H}}^{i}\}$.
- If $D[{\mathcal{H}}^{i},B]\ne \varnothing $, then we define the graph $\mathcal{D}[{\mathcal{H}}^{i},B]$ in the following way. The vertex set of $\mathcal{D}[{\mathcal{H}}^{i},B]$ is $D[{\mathcal{H}}^{i},B]$, and two vertices $v,w$ are adjacent in $\mathcal{D}[{\mathcal{H}}^{i},B]$ if and only if for for every ${H}_{ij}\in {\mathcal{H}}^{i}$, $vw\notin E\left({H}_{ij}\right)$.
- If $D[{\mathcal{H}}^{i},B]=\varnothing $, then define $\mathsf{\Psi}\left(B\right)=\left|B\right|$, otherwise $\mathsf{\Psi}\left(B\right)=\gamma \left(\mathcal{D}[{\mathcal{H}}^{i},B]\right)+\left|B\right|$, where $\gamma \left(\mathcal{D}[{\mathcal{H}}^{i},B]\right)$ represents the domination number of $\mathcal{D}[{\mathcal{H}}^{i},B]$.
- $\mathsf{\Gamma}\left({\mathcal{H}}^{i}\right)=\{C\subseteq {V}_{i}:C\phantom{\rule{0.166667em}{0ex}}\mathrm{is}\phantom{\rule{4.pt}{0ex}}\mathrm{a}\phantom{\rule{4.pt}{0ex}}\mathrm{simultaneous}\phantom{\rule{4.pt}{0ex}}\mathrm{local}\phantom{\rule{4.pt}{0ex}}\mathrm{adjacency}\phantom{\rule{4.pt}{0ex}}\mathrm{generator}\phantom{\rule{4.pt}{0ex}}\mathrm{for}\phantom{\rule{0.166667em}{0ex}}{\mathcal{H}}^{i}\}$
- $\mathsf{\Psi}\left({\mathcal{H}}^{i}\right)=min\{\mathsf{\Psi}\left(B\right):B\in \mathsf{\Gamma}\left({\mathcal{H}}^{i}\right)\}.$
- ${\mathcal{S}}_{0}$ is a family composed by empty graphs.
- $\mathsf{\Phi}(V,\mathcal{H})=\{{u}_{i}\in V:{\mathcal{H}}^{i}\subseteq {\mathcal{S}}_{0}\}$
- $I(V,\mathcal{H})=\{{u}_{i}\in V:\mathsf{\Psi}\left({\mathcal{H}}^{i}\right)>{Sad}_{l}\left({\mathcal{H}}^{i}\right)\}.$ Notice that $\mathsf{\Phi}(V,\mathcal{H})\subseteq I(V,\mathcal{H})$.
- $\mathsf{{\rm Y}}(V,\mathcal{H})$ is the family of subsets of $I(V,\mathcal{H})$ as follows. We say that $A\in \mathsf{{\rm Y}}(V,\mathcal{H})$ if for every ${u}^{\prime},{u}^{\u2033}\in I(V,\mathcal{H})-A$ such that ${u}^{\prime}{u}^{\u2033}\in E\left({G}_{k}\right)$, for some ${G}_{k}\in \mathcal{G}$, there exists $u\in (A\cup (V-\mathsf{\Phi}(V,\mathcal{H})))-\{{u}^{\prime},{u}^{\u2033}\}$ such that ${d}_{{G}_{k}}(u,{u}^{\prime})\ne {d}_{{G}_{k}}(u,{u}^{\u2033})$.
- $\mathbf{G}(\mathcal{G},I(V,\mathcal{H}\left)\right)$ is the graph with vertex set $I(V,\mathcal{H})$ and edge set $\mathbf{E}$ such that ${u}_{i}{u}_{j}\in \mathbf{E}$ if and only if there exists ${G}_{k}\in \mathcal{G}$ such that ${u}_{i}{u}_{j}\in E\left({G}_{k}\right)$.

**Remark**

**8.**

$\mathsf{\Psi}\left({\mathcal{H}}^{i}\right)=1$ if and only if ${H}_{i,j}\cong {N}_{|{V}_{i}|}$ for every ${H}_{i,j}\in {\mathcal{H}}^{i}$.

**Proof.**

If ${H}_{i,j}\cong {N}_{|{V}_{i}|}$ for every ${H}_{i,j}\in {\mathcal{H}}^{i}$, then $B=\varnothing $ is the only simultaneous local adjacency basis of ${\mathcal{H}}^{i}$, $\mathcal{D}[{\mathcal{H}}^{i},\varnothing ]\cong {K}_{|{V}_{i}|}$, and then, $\mathsf{\Psi}\left({\mathcal{H}}^{i}\right)=\gamma \left({K}_{|{V}_{i}|}\right)=1$. On the other hand, suppose that ${H}_{i,j}\cong {N}_{|{V}_{i}|}$ for some ${H}_{i,j}\in {\mathcal{H}}^{i}$. In this case, ${Sad}_{l}\left({\mathcal{H}}^{i}\right)\ge 1$. If ${Sad}_{l}\left({\mathcal{H}}^{i}\right)>1$, then we are done. Suppose that ${Sad}_{l}\left({\mathcal{H}}^{i}\right)=1$. For any simultaneous local adjacency basis $B=\left\{{v}_{1}\right\}$ of ${\mathcal{H}}^{i}$, there exists ${v}_{2}\in {N}_{{H}_{ij}}\left({v}_{1}\right)$ for some ${H}_{ij}$, which implies that $D[{\mathcal{H}}^{i},\left\{{v}_{2}\right\}]\ne \varnothing $ and so $\left|\gamma \right(\mathcal{D}[{\mathcal{H}}^{i},\left\{{v}_{2}\right\}]\left)\right|\ge 1$. Therefore, $\mathsf{\Psi}\left({\mathcal{H}}^{i}\right)\ge 2$, and the result follows. ☐

As we will show in the next example, in order to get the value of $\mathsf{\Psi}\left({\mathcal{H}}^{i}\right)$, it is interesting to remark about the necessity of considering the family $\mathsf{\Gamma}\left({\mathcal{H}}^{i}\right)$ of all simultaneous local adjacency generators and not just the family of simultaneous local adjacency bases of ${\mathcal{H}}^{i}$.

**Example**

**1.**

Let ${H}_{1}\cong {H}_{2}\cong {P}_{5}$ be two copies of the path graph on five vertices such that $V\left({H}_{1}\right)=V\left({H}_{2}\right)=\{{v}_{1},{v}_{2},\cdots ,{v}_{5}\}$, whereas $E\left({H}_{1}\right)=\{{v}_{1}{v}_{2},{v}_{2}{v}_{3},{v}_{3}{v}_{4},{v}_{4}{v}_{5}\}$ and $E\left({H}_{2}\right)=\{{v}_{2}{v}_{1},{v}_{1}{v}_{3},{v}_{3}{v}_{5},{v}_{5}{v}_{4}\}$. Consider the family $\mathcal{H}=\{{H}_{1},{H}_{2}\}$. We have that ${B}_{1}=\left\{{v}_{3}\right\}$ is a simultaneous local adjacency basis of $\mathcal{H}$ and ${B}_{2}=\{{v}_{1},{v}_{4}\}$ is a simultaneous local adjacency generator for $\mathcal{H}$. Then, $D[\mathcal{H},{B}_{1}]=\{{v}_{1},{v}_{2},{v}_{4},{v}_{5}\}$, $E\left(\mathcal{D}[\mathcal{H},{B}_{1}]\right)=\{{v}_{1}{v}_{4},{v}_{4}{v}_{2},{v}_{2}{v}_{5},{v}_{5}{v}_{1}\}$, $\gamma \left(\mathcal{D}[\mathcal{G},{B}_{1}]\right)=2$, $\mathsf{\Psi}\left({B}_{1}\right)=2+1=3$. However, $D[\mathcal{H},{B}_{2}]=\varnothing $ and $\mathsf{\Psi}\left({B}_{2}\right)=2$.

We define the following graph families.

- ${\mathcal{S}}_{1}$ is the family of graphs having at least two non-trivial components.
- ${\mathcal{S}}_{2}$ is the family of graphs having at least one component of radius at least four.
- ${\mathcal{S}}_{3}$ is the family of graphs having at least one component of girth at least seven.
- ${\mathcal{S}}_{4}$ is the family of graphs having at least two non-singleton true twin equivalence classes ${U}_{1},{U}_{2}$ such that $d({U}_{1},{U}_{2})\ge 3$.

**Lemma**

**3.**

Let $\mathcal{H}\subseteq {\mathcal{S}}_{0}$ be a family of graphs on a common vertex set V. If $\mathcal{H}\subseteq \bigcup _{i=0}^{4}{\mathcal{S}}_{i}$, then:

$$\mathsf{\Psi}\left(\mathcal{H}\right)={Sad}_{l}\left(\mathcal{H}\right).$$

**Proof.**

Let B be a simultaneous local adjacency generator for $\mathcal{H}$ and $v\in V$. We claim that $B\subseteq {N}_{H}\left(v\right)$. To see this, we differentiate the following cases for $H\in \mathcal{H}$.

- H has two non-trivial connected components ${J}_{1},{J}_{2}$. In this case, $B\cap {J}_{1}\ne \varnothing $ and $B\cap {J}_{2}\ne \varnothing $, which implies that $B\subseteq {N}_{H}\left(v\right)$.
- H has one non-trivial component J such that $r\left(J\right)\ge 4$. If H has two non-trivial components, then we are in the first case. Therefore, we can assume that J is the only non-trivial component of H. Suppose that $B\subseteq {N}_{H}\left(v\right)$, and get ${v}^{\prime}\in V$ such that ${d}_{H}(v,{v}^{\prime})=4$. If $v{v}_{1}{v}_{2}{v}_{3}{v}^{\prime}$ is a shortest path from v to ${v}^{\prime}$, then ${v}_{3}$ and ${v}^{\prime}$ are adjacent, and they are not distinguished by the elements in B, which is a contradiction.
- H has one non-trivial component J of girth
`g`$\left(J\right)\ge 7$. In this case, if H has two non-trivial components, then we are in the first case. Therefore, we can assume that H has just one non-trivial component of girth`g`$\left(J\right)\ge 7$. Suppose that $B\subseteq {N}_{H}\left(v\right)$. For each cycle ${v}_{1}{v}_{2}\cdots {v}_{n}{v}_{1}$, there exists ${v}_{i}{v}_{i+1}\in E\left(J\right)$ such that ${d}_{H}(v,{v}_{i})\ge 3$ and ${d}_{H}(v,{v}_{i+1})\ge 3$; therefore, for each $b\in B$, we have ${d}_{H}(b,{v}_{i})\ge 2$ and ${d}_{H}(b,{v}_{i+1})\ge 2$, which is a contradiction. - H has two non-singleton true twin equivalence classes ${U}_{1},{U}_{2}$ such that ${d}_{H}({U}_{1},{U}_{2})\ge 3$. Since $B\cap {U}_{1}\ne \varnothing $ and $B\cap {U}_{2}\ne \varnothing $, we can conclude that $B\subseteq {N}_{H}\left(v\right)$.
- $H\cong {N}_{\left|V\right|}$. Notice that $B\ne \varnothing $, as $\mathcal{H}\subseteq {\mathcal{S}}_{0}$, so that $B\subseteq \varnothing ={N}_{H}\left(v\right)$.

According to the five cases above, $\mathcal{H}\subseteq {\cup}_{i=0}^{4}{\mathcal{S}}_{i}$ leads to $D[\mathcal{H},B]=\varnothing $, for any simultaneous local adjacency generator, which implies that $\mathsf{\Psi}\left(\mathcal{H}\right)={Sad}_{l}\left(\mathcal{H}\right)$. ☐

**Remark**

**9.**

If $A\in \mathsf{{\rm Y}}(V,\mathcal{H})$, then $A\cup (V-\mathsf{\Phi}(V,\mathcal{H}\left)\right)$ is a simultaneous local metric generator for $\mathcal{G}$. However, the converse is not true, as we can see in the following example.

**Example**

**2.**

Consider the family of connected graphs $\mathcal{G}=\{{G}_{1},{G}_{2},{G}_{3}\}$ on a common vertex set $V=\{{u}_{1},\cdots ,{u}_{8}\}$ with $E\left({G}_{i}\right)=\{{u}_{1}{u}_{2},{u}_{1}{u}_{2i+1},{u}_{2}{u}_{2i+2},$${u}_{j}{u}_{2i+1},{u}_{j}{u}_{2i+2},$ for $j\notin \{1,2,2i+1,2i+2\}\}$. Let ${\mathcal{H}}^{i}$ be the family consisting of only one graph ${H}_{i}$, as follows: ${H}_{1}\cong {H}_{2}\cong {K}_{2}$, ${H}_{3}\cong {H}_{4}\cong \cdots \cong {H}_{8}\cong {N}_{2}$. We have that $\mathcal{G}\circ \mathcal{H}=\{{G}_{i}\circ \{{H}_{1},\cdots ,{H}_{8}\},i=1,2,3\}$ and $I(V,\mathcal{H})=V$. If we take $A=\varnothing $, then $A\cup (V-\mathsf{\Phi}(V,\mathcal{H}))=\{{u}_{1},{u}_{2}\}\subseteq I(V,\mathcal{H})$ is a simultaneous local metric basis of $\mathcal{G}$. However, $\varnothing \notin \mathsf{{\rm Y}}(V,\mathcal{H})$ because ${u}_{1}$ is adjacent to ${u}_{2}$ in ${G}_{i}$, $i\in \{1,2,3\}$, and $(V-\mathsf{\Phi}(V,\mathcal{H}))-\{{u}_{1},{u}_{2}\}=\varnothing $.

**Lemma**

**4.**

Let $\mathcal{G}\circ \mathcal{H}$ be a family of lexicographic product graphs. Let $B\subseteq V$ be a simultaneous local metric generator for $\mathcal{G}$. Then, $B\cap I(V,\mathcal{H})\in \mathsf{{\rm Y}}(V,\mathcal{H})$.

**Proof.**

Let $A=B\cap I(V,\mathcal{H})$ and ${u}_{i},{u}_{j}\in I(V,\mathcal{H})-A=I(V,\mathcal{H})-B$. Since $B\subseteq V$ is a simultaneous local metric generator for $\mathcal{G}$, for each ${G}_{k}\in \mathcal{G}$, there exists $b\in B$ such that ${d}_{{G}_{k}}(b,{u}_{i})\ne {d}_{{G}_{k}}(b,{u}_{j})$. If $b\notin I(V,\mathcal{H})$, then necessarily $b\in (V-I(V,\mathcal{H}))\subseteq ((V-\mathsf{\Phi}(V,\mathcal{H}))-\{{u}_{i},{u}_{j}\})$, and if $b\in I(V,\mathcal{H})$, then $b\in A-\{{u}_{i},{u}_{j}\}$; and we are done. ☐

**Corollary**

**5.**

If there exists a simultaneous local metric generator B for $\mathcal{G}$ such that $B\subseteq V-I(V,\mathcal{H})$ or the graph $\mathit{G}(\mathcal{G},I(V,\mathcal{H}\left)\right)$ is empty, then $\varnothing \in \mathsf{{\rm Y}}(V,\mathcal{H})$.

**Remark**

**10.**

If B is a vertex cover of $\mathit{G}(\mathcal{G},I(V,\mathcal{H})$, then $B\in \mathsf{{\rm Y}}(V,\mathcal{H})$.

**Lemma**

**5.**

Let $\mathcal{G}\circ \mathcal{H}$ be a family of lexicographic product graphs. For each ${u}_{i}\in V$, let ${B}_{i}\subseteq {V}_{i}$ be a simultaneous local adjacency generator for ${\mathcal{H}}^{i}$, and let ${C}_{i}\subseteq {V}_{i}$ be a dominating set of $\mathcal{D}[{\mathcal{H}}^{i},{B}_{i}]$. Then, for any $A\in \mathsf{{\rm Y}}(V,\mathcal{H})$, the set $B=({\cup}_{{u}_{i}\in A}\left\{{u}_{i}\right\}\times ({B}_{i}\cup {C}_{i}))\bigcup ({\cup}_{{u}_{i}\notin A}\left\{{u}_{i}\right\}\times {B}_{i})$ is a local metric generator for $\mathcal{G}\circ \mathcal{H}$.

**Proof.**

In order to prove the lemma, let ${G}_{k}\in \mathcal{G}$, ${\mathcal{H}}_{j}\in \mathcal{H}$, and let $({u}_{{i}_{1}},{v}_{1}),({u}_{{i}_{2}},{v}_{2})$ be a pair of adjacent vertices of ${G}_{k}\circ {\mathcal{H}}_{j}$. If ${i}_{1}={i}_{2}$, then there exists $v\in {B}_{{i}_{1}}$ such that $({u}_{{i}_{1}},v)$ distinguishes the pair. Otherwise, ${i}_{1}\ne {i}_{2}$, and we consider the following cases:

- $|\{{u}_{{i}_{1}},{u}_{{i}_{2}}\}\cap I(V,\mathcal{H})|\le 1$, say ${u}_{{i}_{1}}\notin I(V,\mathcal{H})$. In this case, there exists $v\in {B}_{{i}_{1}}$ such that $v{v}_{1}\notin E\left({H}_{{i}_{1}j}\right)$, and then, $({u}_{{i}_{1}},v)$ distinguishes the pair.
- ${u}_{{i}_{1}},{u}_{{i}_{2}}\in I(V,\mathcal{H})$ and $\{{u}_{{i}_{1}},{u}_{{i}_{2}}\}\cap A=\varnothing $. In this case, by definition of A, there exists ${u}_{{i}_{3}}\in (A\cup (V-\mathsf{\Phi}(V,\mathcal{H})))-\{{u}_{{i}_{1}},{u}_{{i}_{2}}\}$ such that ${d}_{{G}_{k}}({u}_{{i}_{3}},{u}_{{i}_{1}})\ne {d}_{{G}_{k}}({u}_{{i}_{3}},{u}_{{i}_{2}})$. For any $v\in {B}_{{i}_{3}}\cup {C}_{{i}_{3}}$,$${d}_{{G}_{k}\circ {\mathcal{H}}_{j}}(({u}_{{i}_{3}},v),({u}_{{i}_{1}},{v}_{1}))={d}_{{G}_{k}}({u}_{{i}_{3}},{u}_{{i}_{1}})\ne $$$${d}_{{G}_{k}}({u}_{{i}_{3}},{u}_{{i}_{2}})={d}_{{G}_{k}\circ {\mathcal{H}}_{j}}(({u}_{{i}_{3}},v),({u}_{{i}_{2}},{v}_{2})).$$
- ${u}_{{i}_{1}},{u}_{{i}_{2}}\in I(V,\mathcal{H})$ and $\left|\right\{{u}_{{i}_{1}},{u}_{{i}_{2}}\}\cap A|\ge 1$, say ${u}_{{i}_{1}}\in A$. In this case, if there exists $v\in {B}_{{i}_{1}}$ such that $v{v}_{1}\notin E\left({H}_{{i}_{1}j}\right)$, then $({u}_{{i}_{1}},v)$ distinguishes the pair. Otherwise, ${v}_{1}$ is a vertex of $\mathcal{D}[{\mathcal{H}}^{{i}_{1}},{B}_{{i}_{1}}]$, and either ${v}_{1}\in {C}_{{i}_{1}}$ and $({u}_{{i}_{1}},{v}_{1})\in B$ distinguishes the pair or there exists $v\in {C}_{{i}_{1}}$, such that $v{v}_{1}\in E\left(\mathcal{D}[{\mathcal{H}}^{{i}_{1}},{B}_{{i}_{1}}]\right)$, which means $v{v}_{1}\notin E\left({H}_{{i}_{1}j}\right)$; then, $({u}_{{i}_{1}},v)$ distinguishes the pair.

☐

**Corollary**

**6.**

Let $\mathcal{G}\circ \mathcal{H}$ be a family of lexicographic product graphs. Then:

$${Sd}_{l}(\mathcal{G}\circ \mathcal{H})\le \underset{A\in \mathsf{{\rm Y}}(V,\mathcal{H})}{min}\left\{\sum _{{u}_{i}\in A}\mathsf{\Psi}\left({\mathcal{H}}^{i}\right)+\sum _{{u}_{i}\notin A}{Sad}_{l}\left({\mathcal{H}}^{i}\right)\right\}.$$

**Proof.**

Let $A\in \mathsf{{\rm Y}}(V,\mathcal{H})$. For each ${u}_{i}\notin A$, let ${B}_{i}\subseteq {V}_{i}$ be a simultaneous local adjacency basis of ${\mathcal{H}}^{i}$. For each ${u}_{i}\in A$, let ${B}_{i}$ be a local adjacency generator for ${\mathcal{H}}^{i}$ and ${C}_{i}\subseteq {V}_{i}$ a dominating set of $\mathcal{D}({\mathcal{H}}^{i},{B}_{i})$ such that $|{B}_{i}\cup {C}_{i}|=\mathsf{\Psi}\left({\mathcal{H}}^{i}\right)$. Let:
then, by Lemma 5, B is a simultaneous local metric generator for $\mathcal{G}\circ \mathcal{H}$, and:

$$B=({\cup}_{{u}_{j}\in A}\left\{{u}_{j}\right\}\times ({B}_{j}\cup {C}_{j}))\bigcup ({\cup}_{{u}_{i}\notin A}\left\{{u}_{i}\right\}\times {B}_{i})$$

$${Sd}_{l}(\mathcal{G}\circ \mathcal{H})\le \left|B\right|=\sum _{{u}_{i}\in A}\mathsf{\Psi}\left({\mathcal{H}}^{i}\right)+\sum _{{u}_{i}\notin A}{Sad}_{l}\left({\mathcal{H}}^{i}\right)$$

As $A\in \mathsf{{\rm Y}}(V,\mathcal{H})$ is arbitrary:
and the result follows. ☐

$${Sd}_{l}(\mathcal{G}\circ \mathcal{H})\le \underset{A\in \mathsf{{\rm Y}}(V,\mathcal{H})}{min}\left\{\sum _{{u}_{i}\in A}\mathsf{\Psi}\left({\mathcal{H}}^{i}\right)+\sum _{{u}_{i}\notin A}{Sad}_{l}\left({\mathcal{H}}^{i}\right)\right\}$$

**Lemma**

**6.**

Let F be a simultaneous local metric basis of $\mathcal{G}\circ \mathcal{H}$. Let ${F}_{i}=\{v\in {V}_{i}:({u}_{i},v)\in F\}$ and ${X}_{F}=\{{u}_{i}\in I(V,\mathcal{H}):|{F}_{i}|\ge \mathsf{\Psi}\left({\mathcal{H}}^{i}\right)\}$. Then, ${X}_{F}\in \mathsf{{\rm Y}}(V,\mathcal{H})$.

**Proof.**

Suppose, for the purpose of contradiction, that ${X}_{F}\notin \mathsf{{\rm Y}}(V,\mathcal{H})$. That means that there exist ${u}_{{i}_{1}},{u}_{{i}_{2}}\in I(V,\mathcal{H})-{X}_{F}$ and ${G}_{k}\in \mathcal{G}$ such that ${u}_{{i}_{1}}{u}_{{i}_{2}}\in E\left({G}_{k}\right)$, and ${d}_{{G}_{k}}(u,{u}_{{i}_{1}})={d}_{{G}_{k}}(u,{u}_{{i}_{2}})$ for every $u\in ({X}_{F}\cup (V-\mathsf{\Phi}(V,\mathcal{H})))-\{{u}_{{i}_{1}},{u}_{{i}_{2}}\}$. As ${u}_{{i}_{1}},{u}_{{i}_{2}}\in I(V,\mathcal{H})-{X}_{F}$, $|{F}_{{i}_{1}}|<\mathsf{\Psi}\left({\mathcal{H}}^{{i}_{1}}\right)$ and $|{F}_{{i}_{2}}|<\mathsf{\Psi}\left({\mathcal{H}}^{{i}_{2}}\right)$, so that there exist ${H}_{{i}_{1}{j}_{1}}\in {\mathcal{H}}^{{i}_{1}}$ and ${H}_{{i}_{2}{j}_{2}}\in {\mathcal{H}}^{{i}_{2}}$ such that for some ${v}_{1}\in {V}_{{i}_{1}}$, ${v}_{2}\in {V}_{{i}_{2}}$, ${F}_{{i}_{1}}\subseteq {N}_{{H}_{{i}_{1}{j}_{1}}}\left({v}_{1}\right)$ and ${F}_{{i}_{2}}\subseteq {N}_{{H}_{{i}_{2}{j}_{2}}}\left({v}_{2}\right)$. Let ${\mathcal{H}}_{j}$ be such that ${H}_{{i}_{1}{j}_{1}},{H}_{{i}_{2}{j}_{2}}\in {\mathcal{H}}_{j}$. Consider the pair of vertices $({u}_{{i}_{1}},{v}_{1}),({u}_{{i}_{2}},{v}_{2})$ adjacent in ${G}_{k}\circ {\mathcal{H}}_{j}$. As F is a simultaneous local metric generator, there exists $({u}_{{i}_{3}},v)\in F$ that resolves the pair, which implies that ${F}_{{i}_{3}}\ne \varnothing $. By hypothesis ${u}_{{i}_{3}}\in (\mathsf{\Phi}(V,\mathcal{H})-{X}_{F})\cup \{{u}_{{i}_{1}},{u}_{{i}_{2}}\}$, and so, ${u}_{{i}_{3}}\in \{{u}_{{i}_{1}},{u}_{{i}_{2}}\}$. Without loss of generality, we assume that ${u}_{{i}_{3}}={u}_{{i}_{1}}$ and, in this case,
which is a contradiction. Therefore, ${X}_{F}\in \mathsf{{\rm Y}}(V,\mathcal{H})$. ☐

$$\begin{array}{cc}\hfill {d}_{{G}_{k}\circ {\mathcal{H}}_{j}}(({u}_{{i}_{3}},v),({u}_{{i}_{1}},{v}_{1}))& ={d}_{{H}_{{i}_{1}{j}_{1}},2}(v,{v}_{1})\hfill \\ & ={d}_{{G}_{k}}({u}_{{i}_{3}},{u}_{{i}_{2}})\hfill \\ & ={d}_{{G}_{k}\circ {\mathcal{H}}_{j}}(({u}_{{i}_{3}},v),({u}_{{i}_{2}},{v}_{2})),\hfill \end{array}$$

**Theorem**

**13.**

Let $\mathcal{G}\circ \mathcal{H}$ be a family of lexicographic product graphs.

$${Sd}_{l}(\mathcal{G}\circ \mathcal{H})=\underset{A\in \mathsf{{\rm Y}}(V,\mathcal{H})}{min}\left\{\sum _{{u}_{i}\in A}\mathsf{\Psi}\left({\mathcal{H}}^{i}\right)+\sum _{{u}_{i}\notin A}{Sad}_{l}\left({\mathcal{H}}^{i}\right)\right\}$$

**Proof.**

Let B be a simultaneous local metric basis of $\mathcal{G}\circ \mathcal{H}$. Let ${B}_{i}=\{v\in {V}_{i}:({u}_{i},v)\in B\}$ and ${X}_{B}=\{{u}_{i}\in I(V,\mathcal{H}):\phantom{\rule{0.166667em}{0ex}}|{B}_{i}|\ge \mathsf{\Psi}\left({\mathcal{H}}^{i}\right)\}$. By Remark 7, $|{B}_{i}|\ge {Sad}_{l}\left({\mathcal{H}}^{i}\right)$ for every ${u}_{i}\in V$, so that Lemma 6 leads to:
and the result follows by Corollary 6. ☐

$$\underset{A\in \mathsf{{\rm Y}}(V,\mathcal{H})}{min}\left\{\sum _{{u}_{i}\in A}\mathsf{\Psi}\left({\mathcal{H}}^{i}\right)+\sum _{{u}_{i}\notin A}{Sad}_{l}\left({\mathcal{H}}^{i}\right)\right\}\le \sum _{{u}_{i}\in {X}_{B}}\mathsf{\Psi}\left({\mathcal{H}}^{i}\right)+\sum _{{u}_{i}\notin {X}_{B}}{Sad}_{l}\left({\mathcal{H}}^{i}\right)\le \left|B\right|$$

Now, we will show some cases where the calculation of ${Sd}_{l}(\mathcal{G}\circ \mathcal{H})$ is easy. At first glance, we have two main types of simplification: first, to simplify the calculation of $\mathsf{\Psi}\left({\mathcal{H}}^{i}\right)$ and, second, the calculation of the $A\in \mathsf{{\rm Y}}(V,\mathcal{H})$ that makes the sum achieves its minimum.

For the first type of simplification, we can apply Lemma 3 to deduce the following corollary.

**Corollary**

**7.**

If for each i, ${\mathcal{H}}^{i}\subseteq {\mathcal{S}}_{0}$ and $\mathcal{H}}^{i}\subseteq \bigcup _{j=0}^{4}{\mathcal{S}}_{j$, then:

$${Sd}_{l}(\mathcal{G}\circ \mathcal{H})=\sum {Sad}_{l}\left({\mathcal{H}}^{i}\right).$$

Given a family $\mathcal{G}$ of graphs on a common vertex set V and a graph H, we define the family of lexicographic product graphs:

$$\mathcal{G}\circ H=\{G\circ H:\phantom{\rule{0.166667em}{0ex}}G\in \mathcal{G}\}.$$

By Theorem 13, we deduce the following result.

**Corollary**

**8.**

Let $\mathcal{G}$ be a family of graphs on a common vertex set V, and let H be a graph. If for every local adjacency basis B of H, $B\subseteq {N}_{H}\left(v\right)$ for every $v\in V\left(H\right)-B$, then:

$${Sd}_{l}(\mathcal{G}\circ H)=\left|V\right|{adim}_{l}\left(H\right).$$

By Corollary 5 and Theorem 13, we have the following result.

**Proposition**

**2.**

If $V-I(V,\mathcal{H})$ is a simultaneous local metric generator for $\mathcal{G}$ or the graph $\mathit{G}(\mathcal{G},I(V,\mathcal{H}\left)\right)$ is empty, then:

$${Sd}_{l}(\mathcal{G}\circ \mathcal{H})=\sum {Sad}_{l}\left({\mathcal{H}}^{i}\right)$$

For the second type of simplification, we have the following remark.

**Remark**

**11.**

As ${Sad}_{l}\left({\mathcal{H}}^{i}\right)\le \mathsf{\Psi}\left({\mathcal{H}}^{i}\right)$, if $A\subseteq B\subseteq V$, then:

$$\sum _{{u}_{i}\in A}\mathsf{\Psi}\left({\mathcal{H}}^{i}\right)+\sum _{{u}_{i}\notin A}{Sad}_{l}\left({\mathcal{H}}^{i}\right)\le \sum _{{u}_{i}\in B}\mathsf{\Psi}\left({\mathcal{H}}^{i}\right)+\sum _{{u}_{i}\notin B}{Sad}_{l}\left({\mathcal{H}}^{i}\right)$$

From Remark 11, we can get some consequences of Theorem 13.

**Proposition**

**3.**

Let $\mathcal{G}\circ \mathcal{H}$ be a family of lexicographic product graphs. For any vertex cover B of $\mathit{G}(\mathcal{G},I(V,\mathcal{H}\left)\right)$,

$${Sd}_{l}(\mathcal{G}\circ \mathcal{H})\le \sum _{{u}_{i}\in B}\mathsf{\Psi}\left({\mathcal{H}}^{i}\right)+\sum _{{u}_{i}\notin B}{Sad}_{l}\left({\mathcal{H}}^{i}\right)$$

**Proposition**

**4.**

Let $\mathcal{G}$ be a family of connected graphs with common vertex set V, and let $\mathcal{G}\circ \mathcal{H}$ be a family of lexicographic product graphs. The following statements hold.

- 1.
- If the subgraph of ${G}_{j}$ induced by $I(V,\mathcal{H})$ is empty for every ${G}_{j}\in \mathcal{G}$, then:$${Sd}_{l}(\mathcal{G}\circ \mathcal{H})=\sum _{{u}_{i}\in V}{Sad}_{l}\left({\mathcal{H}}^{i}\right).$$
- 2.
- Let ${u}_{{i}_{0}}\in I(V,\mathcal{H})$ be such that $\mathsf{\Psi}\left({\mathcal{H}}^{{i}_{0}}\right)=max\{\mathsf{\Psi}\left({u}_{i}\right):{u}_{i}\in I(V,\mathcal{H})\}$. If ${Sd}_{l}\left(\mathcal{G}\right)=\left|V\right|-1$ and $\left|I\right(V,\mathcal{H}\left)\right|\ge 2$, then:$${Sd}_{l}(\mathcal{G}\circ \mathcal{H})=\sum _{{u}_{i}\notin I(V,\mathcal{H})}{Sad}_{l}\left({\mathcal{H}}^{i}\right)+\sum _{{u}_{i}\in I(V,\mathcal{H})-\left\{{u}_{{i}_{0}}\right\}}\mathsf{\Psi}\left({\mathcal{H}}^{i}\right)+{Sad}_{l}\left({\mathcal{H}}^{{i}_{0}}\right)$$

**Proof.**

It is clear that if the subgraph of ${G}_{j}$ induced by $I(V,\mathcal{H})$ is empty for every ${G}_{j}\in \mathcal{G}$, then $\varnothing \in \mathsf{{\rm Y}}(V,\mathcal{H})$, so that Theorem 13 leads to (1). On the other hand, let $\mathcal{G}$ be a family of connected graphs with common vertex set V such that ${Sd}_{l}\left(\mathcal{G}\right)=\left|V\right|-1$ and $\left|I\right(V,\mathcal{H}\left)\right|\ge 2$. By Lemma 1, for every ${u}_{i},{u}_{j}\in I(V,\mathcal{H})$, there exists ${G}_{ij}\in \mathcal{G}$ such that ${u}_{i},{u}_{j}$ are true twins in ${G}_{ij}$. Hence, no vertex $u\notin \{{u}_{i},{u}_{j}\}$ resolves ${u}_{i}$ and ${u}_{j}$. Therefore, $A\in \mathsf{{\rm Y}}(V,\mathcal{H})$ implies $\left|A\right|=\left|I\right(V,\mathcal{H}\left)\right|-1$, and (2) follows from Theorem 13 and Remark 11. ☐

**Proposition**

**5.**

Let $\mathcal{G}$ be a family of non-trivial connected graphs with common vertex set V. For any family of lexicographic product graphs $\mathcal{G}\circ \mathcal{H}$,
Furthermore, if $\mathcal{H}=\{{N}_{|{V}_{1}|},\cdots ,{N}_{|{V}_{n}|}\}$, then:

$${Sd}_{l}(\mathcal{G}\circ \mathcal{H})\ge {Sd}_{l}\left(\mathcal{G}\right).$$

$${Sd}_{l}(\mathcal{G}\circ \mathcal{H})={Sd}_{l}\left(\mathcal{G}\right).$$

**Proof.**

Let W be a simultaneous local metric basis of $\mathcal{G}\circ \mathcal{H}$ and ${W}_{V}=\{u\in V:\phantom{\rule{0.166667em}{0ex}}(u,v)\in W\}$. We suppose that ${W}_{V}$ is not a simultaneous local metric generator for $\mathcal{G}$. Let ${u}_{i},{u}_{j}\notin {W}_{V}$ and $G\in \mathcal{G}$ such that ${u}_{i}{u}_{j}\in E\left(G\right)$ and ${d}_{G}({u}_{i},u)={d}_{G}({u}_{j},u)$ for every $u\in {W}_{V}$. Thus, for any $v\in {V}_{i}$, ${v}^{\prime}\in {V}_{j}$ and $(x,y)\in W$, we have:
which is a contradiction. Therefore, ${W}_{V}$ is a simultaneous local metric generator for $\mathcal{G}$ and, as a result, ${Sd}_{l}\left(\mathcal{G}\right)\le |{W}_{V}|\le |W|={Sd}_{l}(\mathcal{G}\circ \mathcal{H})$.

$${d}_{G\circ {H}_{i}}((x,y),({u}_{i},v))={d}_{G}(x,{u}_{i})={d}_{G}(x,{u}_{j})={d}_{G\circ {H}_{i}}((x,y),({u}_{j},{v}^{\prime})),$$

On the other hand, if $\mathcal{H}=\{{N}_{|{V}_{1}|},\cdots ,{N}_{|{V}_{n}|}\}$, then $V=I(V,\mathcal{H})=\mathsf{\Phi}(V,\mathcal{H})$. Let $B\subseteq V$ be a simultaneous local metric basis of $\mathcal{G}$. Now, for each ${u}_{i}\in B$, we choose ${v}_{i}\in {V}_{i}$, and by Remark 9, we claim that ${B}^{\prime}=\{({u}_{i},{v}_{i}):{u}_{i}\in B\}$ is a simultaneous local metric generator for $\mathcal{G}\circ \mathcal{H}$. Thus, ${Sd}_{l}(\mathcal{G}\circ \mathcal{H})\le |{B}^{\prime}|=|B|={Sd}_{l}\left(\mathcal{G}\right)$. ☐

**Proposition**

**6.**

Let $\mathcal{G}\ne \left\{{K}_{2}\right\}$ be a family of non-trivial connected bipartite graphs with common vertex set V and $\mathcal{H}\ne \{{\mathcal{H}}_{1},\cdots ,{\mathcal{H}}_{n}\}$ such that ${\mathcal{H}}_{j}\subseteq {\mathcal{S}}_{0}$, for some j. If $V=I(V,\mathcal{H})$ and there exist ${u}_{1},{u}_{2}\in V$ and ${G}_{k}\in \mathcal{G}$ such that $V-\mathsf{\Phi}(V,\mathcal{H})=\{{u}_{1},{u}_{2}\}$ and ${u}_{1}{u}_{2}\in E\left({G}_{k}\right)$, then:
otherwise,

$${Sd}_{l}(\mathcal{G}\circ \mathcal{H})=\sum {Sad}_{l}\left({\mathcal{H}}^{i}\right)+1,$$

$${Sd}_{l}(\mathcal{G}\circ \mathcal{H})=\sum {Sad}_{l}\left({\mathcal{H}}^{i}\right).$$

**Proof.**

If $V=I(V,\mathcal{H})$ and there exist ${u}_{1},{u}_{2}\in V$ and ${G}_{k}\in \mathcal{G}$ such that $V-\mathsf{\Phi}(V,\mathcal{H})=\{{u}_{1},{u}_{2}\}$ and ${u}_{1}{u}_{2}\in E\left({G}_{k}\right)$, then $\varnothing \notin \mathsf{{\rm Y}}(V,\mathcal{H})$ because no vertex in $(V-\mathsf{\Phi}(V,\mathcal{H}))-\{{u}_{1},{u}_{2}\}=\varnothing $ distinguishes ${u}_{1}$ and ${u}_{2}$. Let $x,y\in I(V,\mathcal{H})$ such that $xy\in {\cup}_{G\in \mathcal{G}}E\left(G\right)$. Since any ${u}_{i}\in \mathsf{\Phi}(V,\mathcal{H})$ distinguishes x and y, we can conclude that $\left\{{u}_{i}\right\}\in \mathsf{{\rm Y}}(V,\mathcal{H})$, and by Remark 8, $\mathsf{\Psi}\left({\mathcal{H}}^{i}\right)=1$. Therefore, Theorem 13 leads to ${Sd}_{l}(\mathcal{G}\circ \mathcal{H})=\sum {Sad}_{l}\left({\mathcal{H}}^{i}\right)+1.$

Assume that there exists ${u}_{i}\in V-I(V,\mathcal{H})$, or $V-\mathsf{\Phi}(V,\mathcal{H})=\left\{{u}_{i}\right\}$, or $V-\mathsf{\Phi}(V,\mathcal{H})=\{{u}_{i},{u}_{j}\}$ and, for every ${G}_{k}\in \mathcal{G}$, ${u}_{i}{u}_{j}\notin E\left({G}_{k}\right)$ or $\{{u}_{i},{u}_{j},{u}_{k}\}\subseteq V-\mathsf{\Phi}(V,\mathcal{H})$. In any one of these cases $\left\{{u}_{i}\right\}$ is a simultaneous local metric basis of $\mathcal{G}$ and, for every pair ${u}_{1},{u}_{2}$ of adjacent vertices in some ${G}_{k}\in \mathcal{G}$ such that ${u}_{i}\notin \{{u}_{1},{u}_{2}\}$, ${u}_{i}$ distinguishes the pair. Since ${u}_{i}\in V-\mathsf{\Phi}(V,\mathcal{H})$, we can claim that $\varnothing \in \mathsf{{\rm Y}}(V,\mathcal{H})$, and by Theorem 13, ${Sd}_{l}(\mathcal{G}\circ \mathcal{H})=\sum {Sad}_{l}\left({\mathcal{H}}^{i}\right).$ ☐

#### 5.1. Families of Join Graphs

For two graph families $\mathcal{G}=\{{G}_{1},\dots ,{G}_{{k}_{1}}\}$ and $\mathcal{H}=\{{H}_{1},\dots ,{H}_{{k}_{2}}\}$, defined on common vertex sets ${V}_{1}$ and ${V}_{2}$, respectively, such that ${V}_{1}\cap {V}_{2}=\varnothing $, we define the family:

$$\mathcal{G}+\mathcal{H}=\{{G}_{i}+{H}_{j}:\phantom{\rule{0.277778em}{0ex}}1\le i\le {k}_{1},1\le j\le {k}_{2}\}.$$

Notice that, since for any ${G}_{i}\in \mathcal{G}$ and ${H}_{j}\in \mathcal{H}$ the graph ${G}_{i}+{H}_{j}$ has diameter two,

$${Sd}_{l}(\mathcal{G}+\mathcal{H})={Sad}_{l}(\mathcal{G}+\mathcal{H}).$$

The following result is a direct consequence of Theorem 13.

**Corollary**

**9.**

For any pair of families $\mathcal{G}$ and $\mathcal{H}$ of non-trivial graphs on common vertex sets ${V}_{1}$ and ${V}_{2}$, respectively,

$${Sd}_{l}(\mathcal{G}+\mathcal{H})=min\{{Sd}_{A,l}\left(\mathcal{G}\right)+\mathsf{\Psi}\left(\mathcal{H}\right),{Sd}_{A,l}\left(\mathcal{H}\right)+\mathsf{\Psi}\left(\mathcal{G}\right)\}$$

**Remark**

**12.**

Let $\mathcal{G}$ be a family of graphs defined on a common vertex set ${V}_{1}$. If there exists B a simultaneous local adjacency basis of $\mathcal{G}$ such that $D[\mathcal{G},B]=\varnothing $, then for every $\mathcal{H}$ family of graphs defined on a common vertex set ${V}_{2}$, we have:

$${Sd}_{l}(\mathcal{G}+\mathcal{H})={Sad}_{l}\left(\mathcal{G}\right)+{Sad}_{l}\left(\mathcal{H}\right)$$

By Lemma 3 and Remark 12, we deduce the following result.

**Proposition**

**7.**

Let $\mathcal{G}$ and $\mathcal{H}$ be two families of non-trivial connected graphs on a common vertex set ${V}_{1}$ and ${V}_{2}$, respectively. If $\mathcal{G}\subseteq {\cup}_{i=1}^{4}{\mathcal{S}}_{i}$, then:

$${Sd}_{l}(\mathcal{G}+\mathcal{H})={Sad}_{l}\left(\mathcal{G}\right)+{Sad}_{l}\left(\mathcal{H}\right).$$

## 6. Computability of the Simultaneous Local Metric Dimension

In previous sections, we have seen that there is a large number of classes of graph families for which the simultaneous local metric dimension is well determined. This includes some cases of graph families whose simultaneous metric dimension is hard to compute, e.g., families composed by trees [22], yet the simultaneous local metric dimension is constant. However, as proven in [23], the problem of finding the local metric dimension of a graph is NP-hard in the general case, which trivially leads to the fact that finding the simultaneous local metric dimension of a graph family is also NP-hard in the general case.

Here, we will focus on a different aspect, namely that of showing that the requirement of simultaneity adds to the computational difficulty of the original problem. To that end, we will show that there exist families composed by graphs whose individual local metric dimensions are constant, yet it is hard to compute their simultaneous local metric dimension.

To begin with, we will formally define the decision problems associated with the computation of the local metric dimension of one graph and the simultaneous local metric dimension of a graph family.

- Local metric Dimension (LDIM)Instance: A graph $G=(V,E)$ and an integer p, $1\le p\le \left|V\right(G\left)\right|-1$.Question: Is ${dim}_{l}\left(G\right)\le p$?
- Simultaneous Local metric Dimension (SLD)Instance: A graph family $\mathcal{G}=\{{G}_{1},{G}_{2},\dots ,{G}_{k}\}$ on a common vertex set V and an integer p, $1\le p\le \left|V\right|-1$.Question: Is ${Sd}_{l}\left(\mathcal{G}\right)\le p$?

As we mentioned above, LDIM was proven to be NP-complete in [23]. Moreover, it is simple to see that determining whether a vertex set $S\subseteq V$, $\left|S\right|\le p$, is a simultaneous local metric generator can be done in polynomial time, so SLD is in NP. In fact, SLD can be easily shown to be NP-complete, since for any graph $G=(V,E)$ and any integer $1\le p\le \left|V\right(G\left)\right|-1$, the corresponding instance of LDIM can be trivially transformed into an instance of SLD by making $\mathcal{G}=\left\{G\right\}$.

For the remainder of this section, we will address the issue of the complexity added by the requirement of simultaneity. To this end, we will consider families composed by the so-called tadpole graphs [28]. An $(h,t)$-tadpole graph (or $(h,t)$-tadpole for short) is the graph obtained from a cycle graph ${C}_{h}$ and a path graph ${P}_{t}$ by joining with an edge a leaf of ${P}_{t}$ to an arbitrary vertex of ${C}_{h}$. We will use the notation ${T}_{h,t}$ for $(h,t)$-tadpoles. Since $(2q,t)$-tadpoles are bipartite, we have that ${dim}_{l}\left({T}_{2q,t}\right)=1$. In the case of $(2q+1,t)$-tadpoles, we have that ${dim}_{l}\left({T}_{2q+1,t}\right)=2$, as they are not bipartite (so, ${dim}_{l}\left({T}_{2q+1,t}\right)\ge 2$), and any set composed by two vertices of the subgraph ${C}_{2q+1}$ is a local metric generator (so, ${dim}_{l}\left({T}_{2q+1,t}\right)\le 2$). Additionally, consider the sole vertex v of degree three in ${T}_{2q+1,t}$ and a local metric generator for ${T}_{2q+1,t}$ of the form $\{v,x\}$, $x\in V\left({C}_{2q+1}\right)-\left\{v\right\}$. It is simple to verify that for any vertex $y\in V\left({P}_{t}\right)$, the set $\{y,x\}$ is also a local metric generator for ${T}_{2q+1,t}$.

Consider a family $\mathcal{T}=\{{T}_{{h}_{1},{t}_{1}},{T}_{{h}_{2},{t}_{2}},\dots ,{T}_{{h}_{k},{t}_{k}}\}$ composed by tadpole graphs on a common vertex set V. By Theorem 4, we have that ${Sd}_{l}\left(\mathcal{T}\right)={Sd}_{l}\left({\mathcal{T}}^{\prime}\right)$, where ${\mathcal{T}}^{\prime}$ is composed by $(2q+1,t)$-tadpoles. As we discussed previously, ${dim}_{l}\left({T}_{2q+1,t}\right)=2$. However, by Remark 1 and Theorem 1, we have that $2\le {Sd}_{l}\left({\mathcal{T}}^{\prime}\right)\le \left|V\right|-1$. In fact, both bounds are tight, since the lower bound is trivially satisfied by unitary families, whereas the upper bound is reached, for instance, by any family composed by all different labeled graphs isomorphic to an arbitrary $(3,t)$-tadpole, as it satisfies the premises of Theorem 1. Moreover, as we will show, the problem of computing ${Sd}_{l}\left({\mathcal{T}}^{\prime}\right)$ is NP-hard, as its associated decision problem is NP-complete. We will do so by showing a transformation from the hitting set problem, which was shown to be NP-complete by Karp [29]. The hitting set problem is defined as follows:

- Hitting Set Problem (HSP)
- Instance: A collection $\mathcal{C}=\{{C}_{1},{C}_{2},\dots ,{C}_{k}\}$ of non-empty subsets of a finite set S and a positive integer $p\le \left|S\right|$.
- Question: Is there a subset ${S}^{\prime}\subseteq S$ with $|{S}^{\prime}|\le p$ such that ${S}^{\prime}$ contains at least one element from each subset in $\mathcal{C}$?

**Theorem**

**14.**

The Simultaneous Local metric Dimension problem (SLD) is NP-complete for families of $(2q+1,t)$-tadpoles.

**Proof.**

As we discussed previously, determining whether a vertex set $S\subseteq V$, $\left|S\right|\le p$, is a simultaneous local metric generator for a graph family $\mathcal{G}$ can be done in polynomial time, so SLD is in NP.

Now, we will show a polynomial time transformation of HSP into SLD. Let $S=\{{v}_{1},{v}_{2},\dots ,{v}_{n}\}$ be a finite set, and let $\mathcal{C}=\{{C}_{1},{C}_{2},\dots ,{C}_{k}\}$, where every ${C}_{i}\in \mathcal{C}$ satisfies ${C}_{i}\subseteq S$. Let p be a positive integer such that $p\le \left|S\right|$. Let $A=\{{w}_{1},{w}_{2},\dots ,{w}_{k}\}$ such that $A\cap S=\varnothing $. We construct the family $\mathcal{T}=\{{T}_{2{q}_{1}+1,{t}_{1}},{T}_{2{q}_{2}+1,{t}_{2}},\dots ,{T}_{2{q}_{k}+1,{t}_{k}}\}$ composed by $(2q+1,t)$-tadpoles on the common vertex set $V=S\cup A\cup \left\{u\right\}$, $u\notin S\cup A$, by performing one of the two following actions, as appropriate, for every $r\in \{1,\dots ,k\}$:

- If $|{C}_{r}|$ is even, let ${C}_{2{q}_{r}+1}$ be a cycle graph on the vertices of ${C}_{r}\cup \left\{u\right\}$; let ${P}_{{t}_{r}}$ be a path graph on the vertices of $(S-{C}_{r})\cup A$; and let ${T}_{2{q}_{r}+1,{t}_{r}}$ be the tadpole graph obtained from ${C}_{2{q}_{r}+1}$ and ${P}_{{t}_{r}}$ by joining with an edge a leaf of ${P}_{{t}_{r}}$ to a vertex of ${C}_{2{q}_{r}+1}$ different from u.
- If $|{C}_{r}|$ is odd, let ${C}_{2{q}_{r}+1}$ be a cycle graph on the vertices of ${C}_{r}\cup \{u,{w}_{r}\}$; let ${P}_{{t}_{r}}$ be a path graph on the vertices of $(S-{C}_{r})\cup (A-\left\{{w}_{r}\right\})$; and let ${T}_{2{q}_{r}+1,{t}_{r}}$ be the tadpole graph obtained from ${C}_{2{q}_{r}+1}$ and ${P}_{{t}_{r}}$ by joining with an edge the vertex ${w}_{r}$ to a leaf of ${P}_{{t}_{r}}$.

Figure 4 shows an example of this construction.

In order to prove the validity of this transformation, we claim that there exists a subset ${S}^{\u2033}\subseteq S$ of cardinality $|{S}^{\u2033}|\le p$ that contains at least one element from each ${C}_{r}\in \mathcal{C}$ if and only if ${Sd}_{l}\left(\mathcal{T}\right)\le p+1$.

To prove this claim, first assume that there exists a set ${S}^{\u2033}\subseteq S$, which contains at least one element from each ${C}_{r}\in \mathcal{C}$ and satisfies $|{S}^{\u2033}|\le p$. Recall that any set composed by two vertices of ${C}_{2{q}_{r}+1}$ is a local metric generator for ${T}_{2{q}_{r}+1,{t}_{r}}$, so ${S}^{\u2033}\cup \left\{u\right\}$ is a simultaneous local metric generator for $\mathcal{T}$. Thus, ${Sd}_{l}\left(\mathcal{T}\right)\le p+1$.

Now, assume that ${Sd}_{l}\left(\mathcal{T}\right)\le p+1$, and let W be a simultaneous local metric generator for $\mathcal{T}$ such that $\left|W\right|=p+1$. For every ${T}_{2{q}_{r}+1,{t}_{r}}\in \mathcal{T}$, we have that $u\in V\left({C}_{2{q}_{r}+1}\right)$ and ${\delta}_{{T}_{2{q}_{r}+1,{t}_{r}}}\left(u\right)=2$, so $|\left((W-\{x\left\}\right)\cup \left\{u\right\}\right)\cap V\left({C}_{2{q}_{r}+1}\right)|\ge |W\cap V\left({C}_{2{q}_{r}+1}\right)|$ for any $x\in W$. As a consequence, if $u\notin W$, any set $(W-\{x\left\}\right)\cup \left\{u\right\}$, $x\in W$, is also a simultaneous local metric generator for $\mathcal{T}$, so we can assume that $u\in W$. Moreover, applying an analogous reasoning for every set ${C}_{r}\in \mathcal{C}$ such that $W\cap {C}_{r}=\varnothing $, we have that, firstly, there is at least one vertex ${v}_{{r}_{i}}\in {C}_{r}$ such that ${v}_{{r}_{i}}\in V\left({C}_{2{q}_{r}+1}\right)-\left\{u\right\}$ and ${\delta}_{{T}_{2{q}_{r}+1,{t}_{r}}}\left({v}_{{r}_{i}}\right)=2$, and secondly, there is at least one vertex ${x}_{r}\in W\cap (\left\{{w}_{r}\right\}\cup V\left({P}_{{t}_{r}}\right))$, which can be replaced by ${v}_{{r}_{i}}$. Then, the set:
is also a simultaneous local metric generator for $\mathcal{T}$ of cardinality $|{W}^{\prime}|=p+1$ such that $u\in {W}^{\prime}$ and $({W}^{\prime}-\left\{u\right\})\cap {C}_{r}\ne \varnothing $ for every ${C}_{r}\in \mathcal{C}$. Thus, the set ${S}^{\u2033}={W}^{\prime}-\left\{u\right\}$ satisfies $|{S}^{\u2033}|\le p$ and contains at least one element from each ${C}_{r}\in \mathcal{C}$.

$${W}^{\prime}=\bigcup _{W\cap {C}_{r}=\varnothing}\left((W-\left\{{x}_{r}\right\})\cup \left\{{v}_{{r}_{i}}\right\}\right)$$

To conclude our proof, it is simple to verify that the transformation of HSP into SLD described above can be done in polynomial time. ☐

## 7. Conclusions

In this paper we introduced the notion of simultaneous local dimension of graph families. We studied the properties of this new parameter in order to obtain its exact value, or sharp bounds, on several graph families. In particular, we focused on families obtained as the result of small changes in an initial graph and families composed by graphs obtained through well-known operations such as the corona and lexicographic products, as well as the join operation (viewed as a particular case of the lexicographic product). Finally, we analysed the computational complexity of the new problem, and showed that computing the simultaneous local metric dimension is computationally difficult even for families composed by graphs whose (individual) local metric dimensions are constant and well known.

## Author Contributions

The results presented in this paper were obtained as a result of collective work sessions involving all authors. The process was organized and led by Juan A. Rodríguez-Velázquez and the writing of the final version of the paper was conducted by Juan A. Rodríguez-Velázquez and Yunior Ramírez-Cruz.

## Conflicts of Interest

The authors declare no conflict of interest.

## References

- Blumenthal, L.M. Theory and Applications of Distance Geometry; Oxford University Press: Oxford, UK, 1953. [Google Scholar]
- 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 Comb.
**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] - Johnson, M. Structure-activity maps for visualizing the graph variables arising in drug design. J. Biopharm. Stat.
**1993**, 3, 203–236. [Google Scholar] [CrossRef] [PubMed] - Johnson, M. Browsable structure-activity datasets. In Advances in Molecular Similarity; Carbó-Dorca, R., Mezey, P., Eds.; JAI Press Inc.: Stamford, CT, USA, 1998; Chapter 8; pp. 153–170. [Google Scholar]
- Melter, R.A.; Tomescu, I. Metric bases in digital geometry. Comput. Vis. Graph. Image Process.
**1984**, 25, 113–121. [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] - SebŐ, A.; Tannier, E. On metric generators of graphs. Math. Oper. Res.
**2004**, 29, 383–393. [Google Scholar] [CrossRef] - Saenpholphat, V.; Zhang, P. Conditional resolvability in graphs: A survey. Int. J. Math. Math. Sci.
**2004**, 2004, 1997–2017. [Google Scholar] [CrossRef] - Hernando, C.; Mora, M.; Pelayo, I.M.; Seara, C.; Cáceres, J.; Puertas, M.L. On the metric dimension of some families of graphs. Electron. Notes Discret. Math.
**2005**, 22, 129–133. [Google Scholar] [CrossRef] - Haynes, T.W.; Henning, M.A.; Howard, J. Locating and total dominating sets in trees. Discret. Appl. Math.
**2006**, 154, 1293–1300. [Google Scholar] [CrossRef] - Cáceres, J.; Hernando, C.; Mora, M.; Pelayo, I.M.; Puertas, M.L.; Seara, C.; Wood, D.R. On the metric dimension of Cartesian product of graphs. SIAM J. Discret. Math.
**2007**, 21, 423–441. [Google Scholar] [CrossRef] - Yero, I.G.; Kuziak, D.; Rodríguez-Velázquez, J.A. On the metric dimension of corona product graphs. Comput. Math. Appl.
**2011**, 61, 2793–2798. [Google Scholar] [CrossRef] - Bailey, R.F.; Meagher, K. On the metric dimension of grassmann graphs. Discret. Math. Theor. Comput. Sci.
**2011**, 13, 97–104. [Google Scholar] - Jannesari, M.; Omoomi, B. The metric dimension of the lexicographic product of graphs. Discret. Math.
**2012**, 312, 3349–3356. [Google Scholar] [CrossRef] - Feng, M.; Wang, K. On the metric dimension of bilinear forms graphs. Discret. Math.
**2012**, 312, 1266–1268. [Google Scholar] [CrossRef] - Guo, J.; Wang, K.; Li, F. Metric dimension of some distance-regular graphs. J. Comb. Optim.
**2013**, 26, 190–197. [Google Scholar] [CrossRef] - Imran, M.; Bokhary, S.A.U.H.; Ahmad, A.; Semaničová-Feňovčíková, A. On classes of regular graphs with constant metric dimension. Acta Math. Sci.
**2013**, 33, 187–206. [Google Scholar] [CrossRef] - Saputro, S.; Simanjuntak, R.; Uttunggadewa, S.; Assiyatun, H.; Baskoro, E.; Salman, A.; Bača, M. The metric dimension of the lexicographic product of graphs. Discret. Math.
**2013**, 313, 1045–1051. [Google Scholar] [CrossRef] - Okamoto, F.; Phinezy, B.; Zhang, P. The local metric dimension of a graph. Math. Bohem.
**2010**, 135, 239–255. [Google Scholar] - Ramírez-Cruz, Y.; Oellermann, O.R.; Rodríguez-Velázquez, J.A. The simultaneous metric dimension of graph families. Discret. Appl. Math.
**2016**, 198, 241–250. [Google Scholar] [CrossRef] - Fernau, H.; Rodríguez-Velázquez, J.A. On the (Adjacency) Metric Dimension of Corona and Strong Product Graphs and Their Local Variants: Combinatorial and Computational Results (arXiv:1309.2275). Available online: https://arxiv.org/abs/1309.2275 (accessed on 26 July 2017).
- Rodríguez-Velázquez, J.A.; Barragán-Ramírez, G.A.; García Gómez, C. On the local metric dimension of corona product graphs. Bull. Malays. Math. Sci. Soc.
**2016**, 39 (Suppl. 1), S157–S173. [Google Scholar] [CrossRef] - Fernau, H.; Rodríguez-Velázquez, J.A. Notions of Metric Dimension of Corona Products: Combinatorial and Computational Results; Springer International Publishing: Cham, Switzerland, 2014; pp. 153–166. [Google Scholar]
- Hammack, R.; Imrich, W.; Klavžar, S. Handbook of Product Graphs, 2nd ed.; CRC Press: Boca Raton, FL, USA, 2011. [Google Scholar]
- Imrich, W.; Klavžar, S. Product Graphs, Structure and Recognition; Wiley: New York, NY, USA, 2000. [Google Scholar]
- Koh, K.M.; Rogers, D.G.; Teo, H.K.; Yap, K.Y. Graceful graphs: Some further results and problems. Congr. Numer.
**1980**, 29, 559–571. [Google Scholar] - Karp, R. Reducibility among combinatorial problems. In Complexity of Computer Computations; Miller, R., Thatcher, J., Eds.; Plenum Press: New York, NY, USA, 1972; pp. 85–103. [Google Scholar]

**Figure 1.**The set $\{{v}_{3},{v}_{4}\}$ is a simultaneous local metric basis of $\{{G}_{1},{G}_{2},{G}_{3}\}$. Thus, ${Sd}_{l}({G}_{1},{G}_{2},{G}_{3})=2$.

**Figure 2.**The family $\mathcal{G}=\{{G}_{1},\dots ,{G}_{6}\}$ satisfies ${Sd}_{l}\left(\mathcal{G}\right)=\left|V\right|-1=3$.

**Figure 3.**The family $\mathcal{G}=\{{G}_{1},{G}_{2}\}$ satisfies ${Sd}_{l}\left(\mathcal{G}\right)={dim}_{l}\left({G}_{1}\right)+{dim}_{l}\left({G}_{2}\right)=4$.

**Figure 4.**The family $\mathcal{T}=\{{T}_{5,4}^{\left(1\right)},{T}_{3,6}^{\left(2\right)},{T}_{5,4}^{\left(3\right)}\}$ is constructed for transforming an instance of the Hitting Set Problem (HSP), where $S=\{{v}_{1},{v}_{2},{v}_{3},{v}_{4},{v}_{5}\}$ and $\mathcal{C}=\{\{{v}_{1},{v}_{2},{v}_{3},{v}_{4}\},\{{v}_{3},{v}_{5}\},\{{v}_{2},{v}_{4},{v}_{5}\}\}$, into an instance of Simultaneous Local metric Dimension (SLD) for families of $(2q+1,t)$-tadpoles.

© 2017 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/).