ArticlePDF Available

Metric Dimensions of Bicyclic Graphs

Authors:

Abstract and Figures

The distance d(va,vb) between two vertices of a simple connected graph G is the length of the shortest path between va and vb. Vertices va,vb of G are considered to be resolved by a vertex v if d(va,v)≠d(vb,v). An ordered set W={v1,v2,v3,…,vs}⊆V(G) is said to be a resolving set for G, if for any va,vb∈V(G),∃vi∈W∋d(va,vi)≠d(vb,vi). The representation of vertex v with respect to W is denoted by r(v|W) and is an s-vector(s-tuple) (d(v,v1),d(v,v2),d(v,v3),…,d(v,vs)). Using representation r(v|W), we can say that W is a resolving set if, for any two vertices va,vb∈V(G), we have r(va|W)≠r(vb|W). A minimal resolving set is termed a metric basis for G. The cardinality of the metric basis set is called the metric dimension of G, represented by dim(G). In this article, we study the metric dimension of two types of bicyclic graphs. The obtained results prove that they have constant metric dimension.
Content may be subject to copyright.
Citation: Khan, A.; Haidar, G.; Abbas,
N.; Khan, M.U.I.; Niazi, A.U.K.; Khan,
A.U.I. Metric Dimensions of Bicyclic
Graphs. Mathematics 2023,11, 869.
https://doi.org/10.3390/math11040869
Academic Editor: Rasul Kochkarov
Received: 24 November 2022
Revised: 2 February 2023
Accepted: 6 February 2023
Published: 8 February 2023
Copyright: © 2023 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 (https://
creativecommons.org/licenses/by/
4.0/).
mathematics
Article
Metric Dimensions of Bicyclic Graphs
Asad Khan 1,†, Ghulam Haidar 2,, Naeem Abbas 2,† , Murad Ul Islam Khan 2, *,† , Azmat Ullah Khan Niazi 3
and Asad Ul Islam Khan 4
1School of Computer Science and Cyber Engineering, Guangzhou University, Guangzhou 510006, China
2Department of Mathematics and Statistics, The University of Haripur, Haripur 22620, Pakistan
3Department of Mathematics and Statistics, The University of Lahore, Sargodha 40100, Pakistan
4Economics Department, Ibn Haldun University, Istanbul 34480, Turkey
*Correspondence: muradulislam@uoh.edu.pk
These authors contributed equally to this work.
Abstract:
The distance
d(va
,
vb)
between two vertices of a simple connected graph
G
is the length of
the shortest path between
va
and
vb
. Vertices
va
,
vb
of
G
are considered to be resolved by a vertex
v
if
d(va
,
v)6=d(vb
,
v)
. An ordered set
W={v1
,
v2
,
v3
,
. . .
,
vs} V(G)
is said to be a resolving set for
G
,
if for any
va
,
vbV(G)
,
viW3d(va
,
vi)6=d(vb
,
vi)
. The representation of vertex
v
with respect
to
W
is denoted by
r(v|W)
and is an
s
-vector(
s
-tuple)
(d(v
,
v1)
,
d(v
,
v2)
,
d(v
,
v3)
,
. . .
,
d(v
,
vs))
. Using
representation
r(v|W)
, we can say that
W
is a resolving set if, for any two vertices
va
,
vbV(G)
, we
have
r(va|W)6=r(vb|W)
. A minimal resolving set is termed a metric basis for
G
. The cardinality of
the metric basis set is called the metric dimension of
G
, represented by
dim(G)
. In this article, we
study the metric dimension of two types of bicyclic graphs. The obtained results prove that they have
constant metric dimension.
Keywords: graph theory; bicyclic graph; metric basis; resolving set; metric dimensions
MSC: 05C12; 05C90
1. Introduction
While studying the problem of finding out the location of an intruder in a network,
Slater in [
1
], and later in [
2
], introduced the term locating set”. He termed the minimum
resolving set a reference set and referred to the cardinality of a minimum resolving set
(reference set) as the location number”. Harary and Melter [
3
] also independently discussed
these concepts. They used the nomenclature metric dimension instead of location number.
In this article, we use the terminology developed by Harary and Melter. Hence,
the metric dimension,
dim(G)
, is the cardinality of the minimum resolving set. Fol-
lowing the convention in [
4
], we call the minimum resolving set the basis for
G
. Let
W={w1
,
w2
,
w3
,
· · ·
,
ws} V(G)
be a basis for a simple graph
G
, then the
s
-tuple
(d(u
,
w1)
,
d(u
,
w2)
,
d(u
,
w3)
,
. . .
,
d(u
,
ws))
is termed a distance vector of
u
corresponding
to/with respect to
W
and is denoted by
r(u|W)
. It is worthwhile to mention, distinct
vertices have a distinct representation with respect to the basis vertices W.
This graph invariant has garnered a lot of attention from researchers. Chartrand
et al. [
4
] characterized graphs with metric dimensions 1,
n
1, and
n
2. Klein and Yi [
5
]
compared the metric dimensions of a graph and its line graph. Shao et al. [
6
] calculated the
metric dimensions of generalized Peterson graphs of type
(
2
k
,
k)
and
(
3
k
,
k)
and showed
that they have constant metric dimensions. Applications of metric dimensions to vari-
ous fields, e.g., navigation of robots [
7
], chemistry [
8
,
9
], coin-weighing, and mastermind
game [
10
] have been presented in the literature. Further studies on metric dimension and
metric basis were conducted in [1120].
Many other variants of metric dimension have been defined to further study the
structure of a graph. Okamoto et al. [
21
] defined local metric dimensions and characterized
Mathematics 2023,11, 869. https://doi.org/10.3390/math11040869 https://www.mdpi.com/journal/mathematics
Mathematics 2023,11, 869 2 of 17
all nontrivial connected graphs of order
n
having local metric dimension 1,
n
2, or
n
1.
Kelenc et al. [
22
] defined mixed metric dimensions and showed that a graph is a path graph
if and only if its mixed metric dimension is 2. They also characterized complete graphs in
terms of mixed metric dimensions. Sedlar and Skrekovski [
23
] determined that for every
Theta graph
G
, the mixed metric dimension equals 3 or 4, with 4 being attained if and only
if
G
is a balanced Theta graph. Moreno et al. [
24
] defined
k
-metric dimensions and proved
that a graph
G
is
n
-metric dimensional if and only if
G'K2
. They also characterized
(n1)-metric dimensional graphs.
Khuller et al. [
7
] showed that a graph
G
with metric dimension 2 can not have
K5
or
K3,3
as a subgraph. They also showed that there exist non-planar graphs with metric
dimension 2. In light of this information, characterizing all graphs with metric dimension 2
is a daunting task. On the other hand, if we only consider the problem of characterizing
planar graphs of metric dimension 2, the problem becomes more manageable.
It is a well known result that
dim(Cn) =
2. Further studies on metric dimension of
unicyclic graphs were conducted in [
25
,
26
]. Armed with the knowledge from these articles,
we can easily determine unicyclic graphs
G
, for which,
dim(G) =
2. We can also easily
deduce that, if a planar graph
G
contains a cycle as a subgraph, then
dim(G)
2. This raises
a question about metric dimensions of graphs having two or more cycles. In this article,
we will discuss the metric dimension of bicyclic graphs. Using these bicyclic graphs as
our building blocks, we can then move on to tricyclic and
n
-cyclic graphs and consider the
same problem in that context. The ultimate goal of this line of questioning is to determine
all planar graphs with metric dimensions 2.
2. Preliminaries
The order of a graph
G
is defined to be the cardinality of its vertex set. In what follows,
we will use the terms
Pn
for a path of order
n
,
Cn
for cycle,
Kn
for complete graph, and
¯
G
for the complement of G. Other notations will be defined when they are needed.
Definition 1.
A simple connected graph
G
with
|V(G)|=n
is said to be bicyclic, if
|E(G)|=
n+1.
It is well known that
|E(G)|=n
1 when
G'Tn
. A bicyclic graph can be obtained
from this Tnby adding any two new edges.
Let
G
be a bicyclic graph, then the base bicyclic graph of
G
, denoted as
˜
G
is the unique
minimal bicyclic subgraph of
G
. It is easily concluded that
˜
G
is unique and contains no
vertices of degree 1 (a pendant vertex).
There are three types of bicyclic graphs containing no pendant vertices. These are
given in the following.
I. Cn,m
obtained from two disjoint cycles
Cn
and
Cm
, where
Cn
and
Cm
share a single
vertex. Let us label the vertices as given in Figure 1.
vnvn+m
CnCm
v1
v2
v3
vn1
vn2
vn+1
vn+2
vn+m2
vn+m1
Figure 1. Bicyclic graph of type-I.
The vertices
vn
of
Cn
and
vn+m
of
Cm
are identified together as the common vertex in
this labeling. Note that the vertices of
Cn
are labeled anti-clockwise, while vertices of
Cmare labeled clockwise.
Mathematics 2023,11, 869 3 of 17
II. Cn,r,m
obtained from two disjoint cycles
Cn
and
Cm
, by adding a path
Pr(r
1
)
,
from any vertex of
Cn
to any vertex of
Cm
. Let us consider the labeling given in
Figure 2.
vnvn+r
CnCm
v1
v2
v3
vn1
vn2
vn+1
vn+r+2
vn+r+m2
vn+r+m1
vn+r1
vn+r+1
Pr
Figure 2. Bicyclic graph of type-II.
In this labeling, the vertex
vn
of
Cn
is attached to the vertex
vn+r
of
Cm
, by a path of
length r.
III. Ck,l,m
obtained from three pairwise internal disjoint paths
Pk
,
Pl
, and
Pm
, by joining
starting vertices of
Pk
and
Pm
to the starting vertex of
Pl
, and ending vertices of
Pk
and
Pm
, to the ending vertex of
Pl
. Let us denote the vertices of this graph as
v1,v2,· · · ,vk+l+m, then this type of bicyclic graph is given in Figure 3.
v1v2v3vk1vk
vk+2vk+3vk+4vk+l2vk+l1
vK+l+1
vk+l+2
vk+l+3vk+l+m1
vk+l+m
vk+1vk+l
Figure 3. Bicyclic graph of type-III.
Note that the starting vertices of paths, i.e.,
v1
of
Pk
,
vk+1
of
Pl
, and
vk+l+1
of
Pm
, are
joined together. The same is applied to the ending vertices of paths.
Let
Bn
be the class of all bicyclic graphs of order
n
. Using the three types of bases
given above, bicyclic graphs were divided into three classes, in [27], as follows.
B1(n) = G Bn|˜
G=C(k,l)for some k,l3
B2(n) = G Bn|˜
G=C(k,r,l)for some k,l3 and r1
B3(n) = G Bn|˜
G=C(Pk,Pl,Pm)for some 1 mmin{k,l}
It is obvious that
Bn=B1(n) B2(n) B3(n)
. Henceforth, we will use the term base
bicyclic graph to refer to the unique minimal bicyclic graph having no pendant vertices.
Let us use the notation
GH
to denote the disjoint union of graphs
G
and
H
, and
G+H
to denote the graph, obtained from
GH
, by joining every vertex of
G
with every
vertex of
H
. We also use
Kr,s
to denote a complete bipartite graph with partitions of order
r
and
s
. Using these notations, we state the following theorem, which gives the dimensions
of some well known graphs.
Theorem 1 ([4,7]).Given a connected simple graph G of order n 2, we have:
(a) dim(G) = 1if and only if G 'Pn.
(b) dim(G) = n1if and only if G 'Kn.
(c) For n 3, dim(Cn) = 2.
(d)
For
n
4,
dim(G) = n
2if and only if
G'Kr,s(r
,
s
1,
r+s=n)
,
G'Kr+
¯
Ks(r1, s2, r+s=n), or G 'Kr+ (K1Ks)(r,s1, r+s=n1).
3. Results on Bicyclic Graphs of Type I
In what follows, let
Cn,m
be a base bicyclic graph of type I, also known as
-graph [
28
].
The vertices are labeled as in Figure 1.
Mathematics 2023,11, 869 4 of 17
Theorem 2. Let Cn,mbe a base bicyclic graph of type 1, n,m3. Then,
dim(Cn,m)) =
2when n, m are odd
2when n is even, m is odd
3when n, m are even
Proof. We will prove all three cases as different parts.
Part 1. Let Cn,mbe a bicyclic graph of type I where n,mare odd. Let us consider the set
W=nv1,vn+bm
2co.
Let Vkbe as given in the following:
Vk=
nv1,v2, . . . , vbn
2co, for k=1
nvbn
2c+1o, for k=2
nvbn
2c+1, . . . , vno, for k=3
nvn+1, . . . , vn+bm
2co, for k=4
nvn+bm
2c+1, . . . , vn+m1o, for k=5.
(1)
Then these Vkform a partition for V(Cn,m).
We observe that
r(va|W) =
a1, m
2+avaV1
a1, n+m
2avaV2
n+1a,n+m
2avaV3
a+1n,n+m
2avaV4
n+m+1a,anm
2 vaV5.
(2)
We will show that any two distinct vertices of
Cn,m
have distinct representation with
respect to the set
W
. Let
va
,
vb
be two distinct vertices of
Cn,m
. It is straightforward to prove
that when both va,vbare in the same partition, then
r(va|W)6=r(vb|W).
For all other cases, we proceed as follows.
Case 1. When vaV1and vbV2.
We claim that
r(va|W)6=r(vb|W)
. If this is not the case, then
r(va|W) = r(vb|W)
gives
us, a1=b1 and m
2+a=n+m
2b.
a=band a+b=n.
Solving the above equations for bgives, b=n
2, which is a contradiction.
Case 2. When vaV1and vbV3.
If we take
r(va|W) = r(vb|W)
, we get,=
a
1
=n+
1
b
and
m
2+a=n+m
2b
.
Solving for
a+b
, we get,
a+b=n+
2 and
a+b=n
, which is a contradiction. Hence,
va,vbhave distinct representations.
Case 3. When vaV1and vbV4.
If we consider
r(va|W) = r(vb|W)
and use the representation given in Equation sets
(2), we get a+b=n. This is a contradiction, since bn+1, · · · ,n+bm
2c.
Mathematics 2023,11, 869 5 of 17
Case 4. When vaV1and vbV5.
We again claim that
r(va|W)6=r(vb|W)
. If this is not the case, then
r(va|W) = r(vb|W)
(a1, bm
2c+a) = (n+m+1b,bnm
2)
a1=n+m+1band bm
2c+a=bn b m
2c
a+b=n+m+2 and ab=(m1)n, since 2bm
2c=m1.
Solving the above equations for agives a=3
2. Again, this is a contradiction.
Case 5. When vaV2and vbV3.
Assuming r(va|W) = r(vb|W)gives us
(a1, n+m
2a)=(n+1b,n+m
2b)
a1=n+1band n+bm
2c a=n+bm
2c b
a+b=n+2 and a=b
b=n
2+1,
but bbn
2c+2, · · · ,n. Hence, r(va|W)6=r(vb|W).
Case 6. When vaV2and vbV4.
For contradiction, let r(va|W) = r(vb|W). This gives,
(a1, n+m
2a)=(b+1n,n+m
2b)
a1=b+1nand n+bm
2c a=n+bm
2c b
ba=n2 and a=b
n2=0.
This is the desired contradiction.
Case 7. When vaV2and vbV5.
If we take r(va|W) = r(vb|W), we obtain
(a1, n+m
2a)=(n+m+1b,bnm
2)
a1=n+m+1band n+bm
2c a=bn b m
2c
a+b=n+m+2 and a+b=2n+2bm
2c, which is a contradiction.
Case 8. When vaV3and vbV4.
For contradiction, let us suppose that r(va|W) = r(vb|W), then
(n+1a,n+bm
2c a) = (b+1n,n+m
2b)
n+1a=b+1nand n+bm
2c a=n+bm
2c b
a+b=2nand ab=0
b=n
but bn+1, · · · ,n+bm
2c, hence r(va|W)6=r(vb|W).
Case 9. When vaV3and vbV5.
We claim that r(va|W)6=r(vb|W). If this is not true, then r(va|W) = r(vb|W)
(n+1a,n+bm
2c a) = (n+m+1b,bn b m
2c)
n+1a=n+m+1band n+bm
2c a=bn b m
2c
ba=mand a+b=2n+m1.
Solving these, we get b=n+m1
2, which is a contradiction.
Case 10. When vaV4and vbV5.
To obtain a contradiction, let r(va|W) = r(vb|W)
(a+1n,n+bm
2c a) = (n+m+1b,bn b m
2c)
a+1n=n+m+1band n+bm
2c a=bn b m
2c
a+b=2n+mand a+b=2n+m1, a contradiction.
From the above discussion, we get that
dim(Cn,m)
2. By Theorem 1(c), we have
dim(Cn,m)2 and hence, dim(Cn,m) = 2.
Part 2. Let Cn,mbe a bicyclic graph of type I, where nis even and mis odd. Let
W=nv1,vn+bm
2co.
Mathematics 2023,11, 869 6 of 17
Let Vkbe as given in the following:
Vk=
nv1,v2, . . . , vbn
2co, for k=1
nvbn
2c+1, . . . , vno, for k=2
nvn+1, . . . , vn+bm
2co, for k=3
nvn+bm
2c+1, . . . , vn+m1o, for k=4.
(3)
Then, these Vkform a partition for V(Cn,m). We see that
r(va|W) =
a1, m
2+avaV1
n+1a,n+m
2avaV2
a+1n,n+m
2avaV3
n+m+1a,anm
2 vaV4,
(4)
for all
vaV(Cn,m)
. We will show that
va
and
vb
have distinct representations for all
va6=vbCn,m. It is obvious that when va,vbare both in the same partition, then
r(va|W)6=r(vb|W)
When va,vbare in different partitions, the following cases arise.
Case 1. When vaV1and vbV2.
We claim that r(va|W)6=r(vb|W). If this is not the case, then r(va|W) = r(vb|W)
(a1, bm
2c+a) = (n+1b,n+bm
2c b).
This give us a+b=n+2 and a+b=n, which is a contradiction.
Case 2. When vaV1and vbV3.
If we assume that r(va|W) = r(vb|W), we get,
(a1, bm
2c+a) = (b+1n,n+bm
2c b)
a1=b+1nand bm
2c+a=n+bm
2c b
ab=2nand a+b=n,
but bV3=a+b6=n, and hence r(va|W)6=r(vb|W).
Case 3. When vaV1and vbV4.
Assuming r(va|W) = r(vb|W), we obtain
(a1, bm
2c+a) = (n+m+1b,bn b m
2c)
a1=n+m+1band bm
2c+a=bn b m
2c
a+b=n+m+2 and ab=(m1)n
a+b=n+m+2 and ab=m+1n.
Solving the above for agives a=3
2, a contradiction. Hence, r(va|W)6=r(vb|W).
Case 4. When vaV2and vbV3.
We claim that r(va|W)6=r(vb|W). If this is not true, then r(va|W) = r(vb|W)
(n+1a,n+bm
2c a) = (b+1n,n+bm
2c b)
n+1a=b+1nand n+bm
2c a=n+bm
2c b
a+b=2nand ab=0b=n,
but bV3=b6=n, a contradiction again. Hence, r(va|W)6=r(vb|W).
Case 5. When vaV2and vbV4.
Proceeding in the same way as before and considering r(va|W) = r(vb|W), we get
(n+1a,n+bm
2c a) = (n+m+1b,bn b m
2c)
n+1a=n+m+1band n+bm
2c a=bn b m
2c
ba=mand a+b=2n+m1.
Mathematics 2023,11, 869 7 of 17
Solving these, we get
b=n+m1
2
, which is contradiction here, hence,
r(va|W)6=
r(vb|W).
Case 6. When vaV3and vbV4.
We claim that r(va|W)6=r(vb|W). If not, then r(va|W) = r(vb|W)
(a+1n,n+bm
2c a) = (n+m+1b,bn b m
2c)
a+1n=n+m+1band n+bm
2c a=bn b m
2c
a+b=2n+mand a+b=2n+m1, a contradiction.
From the above cases, we see that
W=nv1,vn+bm
2co
is indeed a resolving set of
Cn,m
.
Hence,
dim(Cn,m)
2. Together with Theorem 1(c), this gives us,
dim(Cn,m) =
2 for
n
even
and modd.
Part 3.
Let
n
and
m
be even. Consider the set
W=nv1,vbn
2c,vn+1o
and consider the parti-
tions of
V(Cn,m)
as given in Equation set (3). Noting the representations of all
vaV(Cn,m)
from the vertices of W, and observing the fact that n
2=n
2, we see that
r(va|W) =
a1, n
2a,a+1vaV1
n+1a,an
2,n+1avaV2
a+1n,an
2,an1vaV3
n+m+1a,3n
2+ma,n+m+1avaV4.
(5)
To prove that
W
is a resolving set for
Cn,m
, we show that no two distinct vertices of
Cn,m
have same representations with respect to
W
. It is obvious that when
va
,
vb
are either
both in V1or V2, then r(va|W)6=r(vbW), since
d(va,v1)6=d(vb,v1)or d(va,vn
2)6=d(vb,vn
2).
Similarly, when va,vbV3or V4, it can be easily observed that
r(va|W)6=r(vb|W).
When va,vbare from different partitions, the following cases arise.
Case 1. When vaV1and vbV2.
We claim that
r(va|W)6=r(vb|W)
. If this is not the case, then
r(va|W) = r(vb|W)
(a1, n
2a,a+1) = (n+1b,bn
2,n+1b)
a1=n+1b,n
2a=bn
2and a+1=n+1b
a+b=n+2 and a+b=n.
This is a contradiction. Hence, r(va|W)6=r(vb|W).
Case 2. When vaV1and vbV3.
If we assume that r(va|W) = r(vb|W), we get
(a1, n
2a,a+1) = (b+1n,bn
2,bn1)
a1=b+1n,n
2a=bn
2and a+1=bn1
ab=2nand ab=n2.
This is a contradiction. Hence, r(va|W)6=r(vb|W).
Case 3. When vaV1and vbV4.
We claim that r(va|W)6=r(vb|W), otherwise r(va|W) = r(vb|W)
(a1, n
2a,a+1) = (n+m+1b,3n
2+mb,n+m+1b)
a1=n+m+1b,n
2a=3n
2+mband a+1=n+m+1b
a+b=n+m+2 and a+b=n+m, which is a contradiction.
Case 4. When vaV2and vbV3.
Considering r(va|W) = r(vb|W), we obtain
Mathematics 2023,11, 869 8 of 17
(n+1a,an
2,n+1a) = (b+1n,bn
2,bn1)
n+1a=b+1n,an
2=bn
2and n+1a=bn1
a+b=2nand a+b=2n+2, which is again a contradiction.
Hence, r(va|W)6=r(vb|W).
Case 5. When vaV2and vbV4.
We claim that r(va|W)6=r(vb|W), for if not, then r(va|W) = r(vb|W)
(n+1a,an
2,n+1a) = (n+m+1b,3n
2+mb,n+m+1b)
n+1a=n+m+1b,an
2=3n
2+mband n+1a=n+m+1b
ba=mand b+a=2n+m.
Solving for b, we get b=n+m.
This is a contradiction, since Cn,mcontains vertices only up to n+m1.
Case 6. When vaV3and vbV4.
We claim that r(va|W)6=r(vb|W). If this is not the case, then r(va|W) = r(vb|W)
(a+1n,an
2,an1) = (n+m+1b,3n
2+mb,n+m+1b)
a+1n=n+m+1band an
2=3n
2+mband an1=n+m+1b
a+b=2n+mand a+b=2n+m+2, again a contradiction.
The above discussion ensures that
W
is a resolving set for
Cn,m
, for even
n
and
m
. We
now prove that
W
is indeed a minimal resolving set. For this, consider the set
W1=W
v1=nvbn
2c,vn+1o
and consider the vertices,
v1
,
vn1/W1
. It is easily observable that
W1
does not resolve
v1
and
vn1
. Similarly, considering the set
W2=Wvbn
2c={v1,vn+1}
and taking the vertices
vn1
,
vn+m1
, we see that
W2
does
not resolve these two. Lastly, considering
W3=nv1,vbn
2co
, we see that it does not resolve
vn+1and vn+m1. This concludes our result for this part.
4. Results on Bicyclic Graphs of Type II
In this section, we will work with the metric dimensions of base bicyclic graph of type
II. Ahmad et al. used the term Kayak Paddles graph
KP(l
,
m
,
n)
to represent these graphs
and calculated their metric dimension [
29
]. They showed that whenever
G=KP(l
,
m
,
n)
,
then
dim(G) =
2. For completeness, we also provide a proof for these graphs. The com-
binatorial approach used herein, differs from their proof, and serves as a verification for
their result.
Let Cn,r,mbe a base bicyclic graph of type II. Let the vertices be labeled as in Figure 2.
Theorem 3. Let Cn,r,mbe a base bicyclic graph of type II, n,m3and r 1. Then,
dim(Cn,r,m) = 2.
Proof.
We will discuss the proof for different cases of
n
,
m
, namely, when both are odd/even
or one is odd and the other is even.
Part 1. Let n,mboth be even in Cn,r,m. Let us consider the set W={v1,vn+r+1}.
Let Vkbe as given in the following:
Vk=
nv1,v2, . . . , vbn
2cofor k=1
nvbn
2c+1, . . . , vnofor k=2
nvn+1, . . . , vn+r+bm
2cofor k=3
nvn+r+bm
2c+1, . . . , vn+m1ofor k=4
(6)
Then these Vkform a partition for the vertices of the given graph.
Mathematics 2023,11, 869 9 of 17
We observe that
r(va|W) =
(a1, r+a+1)vaV1
(n+1a,n+r+1a)vaV2
(a+1n,|anr1|)vaV3
(n+m+2r+1a,n+m+r+1a)vaV4.
(7)
Proceeding as before and assuming that
va
,
vb
are either both in
V1
or
V2
, we can easily
see that
r(va|W)6=r(vb|W)
. Similarly, when
va
,
vb
are both from
V3
or
V4
, we again see
that r(va|W)6=r(vb|W).
When va,vbare in different partitions Vk, we proceed as follows.
Case 1. When vaV1and vbV2.
Assuming r(va|W) = r(vb|W), we get
(a1, r+a+1) = (n+1b,n+r+1b).
This produces a contradiction, whereas, we get a+b=n+2 and a+b=n.
Hence, r(va|W)6=r(vb|W).
Case 2. When vaV1and vbV3.
We claim that r(va|W)6=r(vb|W). If not, then r(va|W) = r(vb|W)
(a1, r+a+1) = (b+1n,|bnr1|)
If b>n+r+1, we get,
a1=bn+1 and r+a+1=bnr1
ab=2nand ab=n2r2, a contradiction.
If
b<n+r+
1, we get,
ab=
2
n
and
a+b=n
. Solving these for
b
gives the
contradiction b=n
21.
Case 3. When vaV1and vbV4.
We claim that
va
and
vb
have distinct representations with respect to
W
. If this is not
the case, then
r(va|W) = r(vb|W)
gives us the contradiction
a+b=n+m+2r+1
and
a+b=n+m.
Case 4. When vaV2and vbV3.
If we consider r(va|W) = r(vb|W), we get,
(n+1a,n+r+1a) = (b+1n,|bnr1|).
If b>n+r+1, we get the contradiction a+b=2nand a+b=2n+2r+2.
If b<n+r+1, we get a+b=2nand a=b, but a6=b.
Hence, r(va|W)6=r(vb|W).
Case 5. When vaV2and vbV4.
Proceeding as before and considering r(va|W) = r(vb|W), we get
(n+
1
a
,
n+r+
1
a) = (n+m+
2
r+
1
b
,
n+m+r+
1
b)
. This again produces
a contradiction. Hence, r(vi|W)6=r(vj|W).
Case 6. When vaV3and vbV4.
We claim that r(va|W)6=r(vb|W). If not, then r(va|W) = r(vb|W)
(a+1n,|anr1|) = (n+m+2r+1b,n+m+r+1b).
If a>n+r+1, we obtain,
a+1n=n+m+2r+1band anr1=n+m+r+1b
a+b=m+2n+2rand a+b=m+2n+2r+2, which is a contradiction.
If a>n+r+1, we obtain the contradiction b=n+m+r.
The above discussion concludes that
dim(G)
2. Together with Theorem 1(c), we
obtain dim(G) = 2.
Mathematics 2023,11, 869 10 of 17
Part 2. Let G=Cn,r,mbe a bicyclic graph of type II with n,modd. Considering the set
W={v1,vn+r+1}.
Considering Vkas given in the following,
Vk=
nv1,v2, . . . , vbn
2cofor k=1
nvbn
2c+1ofor k=2
nvbn
2c+2, . . . , vnofor k=3
nvn+1, . . . , vn+r+bm
2cofor k=4
nvn+r+bm
2c+1ofor k=5
nvn+r+bm
2c+2, . . . , vn+r+m1ofor k=6
(8)
we see that these Vkform a partition for V(Cn,r,m).
r(va|W) =
(a1, r+a+1)vaV1
(a1, n+r+1a)vaV2
(n+1a,n+r+1a)vaV3
(a+1n,|anr1|)vaV4
(n+m+2r+1a,anr1)vaV5
(n+m+2r+1a,n+m+r+1a)vaV6.
(9)
Case 1. When vaV1and vbV2.
We claim that
r(va|W)6=r(vb|W)
. If this is not the case then,
r(va|W) = r(vb|W)
gives
us, a1=b1 and r+a+1=n+r+1ba=band a+b=n.
Solving the above equations for bgives b=n
2, which is a contradiction.
Case 2. When vaV1and vbV3.
Assuming r(va|W) = r(vb|W), we get (a1, r+a+1) = (n+1b,n+r+1b).
This produces a contradiction, whereas, we get a+b=n+2 and a+b=n.
Hence, r(va|W)6=r(vb|W).
Case 3. When vaV1and vbV4.
We claim that r(va|W)6=r(vb|W). If not, then r(va|W) = r(vb|W)
(a1, r+a+1) = (b+1n,|bnr1|).
If b>n+r+1, we get a1=bn+1 and r+a+1=bnr1
ab=2nand ab=n2r2, a contradiction.
If b<n+r+1, we obtain ab=2nand a+b=n.
This produces the contradiction b=n1.
Case 4. When vaV1and vbV5.
We claim that r(va|W)6=r(vb|W). If not, then r(va|W) = r(vb|W)
(a1, r+a+1) = (n+m+2r+1b,bnr1)
a1=n+m+2r+1band r+a+1=bnr1
a+b=n+m+2r+2 and ba=n+2r+2.
Solving the above equations for agives b=m
2, which is a contradiction.
Case 5. When vaV1and vbV6.
We claim that
va
and
vb
have distinct representations with respect to
W
. If this is not
the case, then
r(va|W) = r(vb|W)
gives us the contradiction
a+b=n+m+2r+1
and
a+b=n+m.
Mathematics 2023,11, 869 11 of 17
Case 6. When vaV2and vbV3.
We claim that r(va|W)6=r(vb|W), otherwise r(va|W) = r(vb|W)gives us,
a1=n+1band n+r+1a=n+r+1b.
a+b=n+2 and a=b.
Solving the above equations for bgives b=n
2+1, an obvious contradiction.
Case 7. When vaV2and vbV4.
If we consider r(va|W) = r(vb|W), we get,
(a1, n+r+1a) = (b+1n,|bnr1|).
Two possibilities arise for b. If b>n+r+1, we get,
ba=n2 and a+b=2n+2r+2.
Solving the above equations for agives a=n
2+r+2, which is a contradiction.
On the other hand, if
b<n+r+
1, we obtain
ba=n
2 and
a=b
. Solving these,
we get, n=2, which is again a contradiction.
Hence, r(va|W)6=r(vb|W).
Case 8. When vaV2and vbV5.
Considering r(va|W) = r(vb|W), we get,
(a1, n+r+1a) = (n+m+2r+1b,bnr1).
This gives us the contradiction a+b=n+m+2r+2 and a+b=2n+2r+2.
Case 9. When vaV2and vbV6.
If we consider r(va|W) = r(vb|W), we get,
(a1, n+r+1a) = (n+m+2r+1b,m+n+r+1b)
=a+b=n+m+2r+2 and ba=m.
Solving the above equations for agives, a=n
2+r+1, an obvious contradiction.
Case 10. When vaV3and vbV4.
Assuming
r(va|W) = r(vb|W)
, gives us the contradiction
a+b=
2
n
and
a+b=
2
n+
2
r+
2, when
b>n+r+
1. On the other hand, if
b<n+r+
1, we obtain
a+b=
2
n
and a=b. This is the desired contradiction since va,vbare distinct vertices.
Case 11. When vaV3and vbV5.
Proceeding as before and considering r(va|W) = r(vb|W), we get,
(n+1a,n+r+1a) = (n+m+2r+1b,bnr1)
=ba=m+2rand a+b=2n+2r+2.
Solving the above equations for
b
gives
b=n+
2
r+
1
+m
2
, which is a contradiction.
Case 12. When vaV3and vbV6.
If we assume r(va|W) = r(vb|W), we get,
(n+
1
a
,
n+r+
1
a) = (n+m+
2
r+
1
b
,
n+m+r+
1
b)
. This produces the
contradiction ba=m+2rand ba=m.
Case 13. When vaV4and vbV5.
We claim that r(va|W)6=r(vb|W). If not, then r(va|W) = r(vb|W)
(a+1n,|anr1|) = (n+m+2r+1b,bnr1).
If a>n+r+1, we get,
a+1n=n+m+2r+1band anr1=bnr1
a+b=m+2n+2rand a=b.
Solving the above equations for bgives, b=n+r+m
2, which is a contradiction.
If
a<n+r+
1, we get,
a+b=m+
2
n+
2
r
and
a+b=
2
n+
2
r+
2. This produces
the contradiction m=2. Hence, r(va|W)6=r(vb|W).
Case 14. When vaV4and vbV6.
If we assume that r(va|W) = r(vb|W), we obtain,
(a+1n,|anr1|) = (n+m+2r+1b,n+m+r+1b).
Mathematics 2023,11, 869 12 of 17
If a>n+r+1, we get,
a+1n=n+m+2r+1band anr1=n+m+r+1b
a+b=m+2n+2rand a+b=m+2n+2r+2, an obvious contradiction.
On the other hand, if
a<n+r+
1, we obtain
a+b=m+
2
n+
2
r
and
ba=m
.
Solving for bgives, b=n+m+r, a contradiction.
Case 15. When vaV5and vbV6.
If we take r(va|W) = r(vb|W), we get,
(n+m+2r+1a,anr1) = (n+m+2r+1b,n+m+r+1b)
n+m+2r+1a=n+m+2r+1band anr1=n+m+r+1b
a=band a+b=m+2n+2r+2.
Solving the above equations for bgives b=n+r+1+m
2, a contradiction.
All the above cases ensure that
dim(Cn,r,m)
2. This, together with Theorem 1(c),
gives dim(Cn,r,m) = 2 for n,modd.
Part 3.
Let us take
Cn,r,m
,
n
odd, and
m
even. Let us consider the set
W={v1
,
vn+r+1}
.
If we take Vkas given in the following,
Vk=
nv1,v2, . . . , vbn
2cofor k=1
nvbn
2c+1ofor k=2
nvbn
2c+2, . . . , vnofor k=3
nvn+1, . . . , vn+r+bm
2cofor k=4
nvn+r+bm
2c+2, . . . , vn+r+m1ofor k=5,
(10)
we see that these
Vk
form a partition of
V(Cn,r,m)
. Noting the distances of these
Vk
from
W
,
we get,
r(va|W) =
(a1, r+a+1)vaV1
(a1, n+r+1a)vaV2
(n+1a,n+r+1a)vaV3
(a+1n,anr1)vaV4
(n+m+2r+1a,n+m+r+1a)vaV5.
(11)
The rest of the proof pattern is again similar to Part 1 and/or Part 2.
5. Perturbation in Metric Dimension of Bicyclic Graphs After Edge/Vertex Deletion
In this section, we consider the change in the metric dimension of bicyclic graphs type
I and II, when an edge is removed. We only consider the cases when such a graph is still
connected. Before proceeding further, we introduce some notations and definitions used in
this section. The degree of a vertex
v
of a simple connected graph
G
, denoted by
d(v)
, is
the number of edges incident at
v
. By
Ge
, we mean that the edge
e
has been removed
from the graph
G
. By a pendant path”, we mean a path
x1x2· · · xk
such that every
xi
is of
degree 2 except
xk
, which is of degree 1, and the vertex
x1
is attached to a vertex
v
of
G
,
where d(v)3. These ideas are evident in Figure 4.
Mathematics 2023,11, 869 13 of 17
v1v2
v3
x1
G
x2
x3
v1v2
v3
x1
G {v2v3}
x2
x3
Figure 4. Graph Gwith a pendant path x1x2x3and Graph Gewhere e={v2v3}.
Let
G
be a bicyclic graph of type I. Let us now consider the graph
Ge
. If
e
is an
edge incident with a vertex of degree 4,
Ge
is a unicyclic graph with one pendant path.
Meanwhile, when
e
is any other edge,
Ge
is a unicyclic graph with two pendant paths,
we name these configurations Aand B, respectively; these are shown in Figure 5.
vn
vn+1vn+m2vn+m1
AB
v1
v2
vn2
vn1
vn
v1
v2
vn2
vn1
vn+1
vn+r
vn+m1
vn+r+1
Figure 5. Configurations Aand Bof Gewhen G=Cn,m.
Note that the connected graph
Gv(vV(G))
gives us the same configurations. We
will only discuss the case of
Ge
here, keeping in mind that the same results are applicable
to Gv.
We denote the cycle in
Ge
by
Cn
, even interchanging
n
and
m
if necessary. We now
introduce the following lemma.
Lemma 1. For a unicyclic graph G with a pendant path of length m 1, dim(G) = 2.
Proof.
Let us denote the cycle in
G
by
Cn
. Let the vertices be labeled as in Figure 5,
Configuration A. Let W=nv1,vbn
2co.
When nis even, we have,
r(vi|W) =
i+1n,n
2+invi {vn+1,vn+2,· · · ,vn+m1}
i1, n
2ivinv1,v2,· · · ,vbn
2co
n+1i,in
2 vinvbn
2c+1,· · · ,vno,
and when nis odd, we obtain,
r(vi|W) =
i+1n,n
2+invi {vn+1,vn+2,· · · ,vn+m1}
i1, n
2ivinv1,v2,· · · ,vbn
2co
i1, in
2 vi=vbn
2c+1
n+1i,in
2 vinvbn
2c+2,· · · ,vno.
Mathematics 2023,11, 869 14 of 17
In both cases, it can easily be concluded that no two vertices of
G
have the same
representation with respect to
W
. This together with Theorem 1(c) gives us,
dim(G) =
2.
For configuration
B
, we see that there are two pendant paths attached at
vn
. One can
see that the vertices on both paths equidistant to
vn
, e.g., vertices
vn+1
and
vn+m1
can not
be distinguished from any vertex of the cycle
Cn
. Similarly, vertices of
Cn
at equal distance
from
vn
, e.g.,
v1
and
vn1
, can not be distinguished from the vertices of attached paths.
This brings us to the following lemma.
Lemma 2.
Let
G
be a unicyclic graph with two pendant paths attached to a vertex of the cycle in
G, then dim(G) = 3.
Proof.
Let us denote the vertices of the cycle
Cn
by
v1
,
v2
,
· · · vn
. Let the two pendant paths
attached at
vn
be
vn+1vn+2· · · vn+r
and
vn+m1vn+m2· · · vn+r+1
. This representation of
vertices is given in Figure 5, Configuration B.
Since the cycle
Cn
in
G
has dimension 2, and no vertices of
Cn
distinguish vertices of
both the pendant paths,
dim(G)>
2
=dim(G)
3. Let
W={vi
,
vj} V(Cn)
be the
basis for
Cn
and let
W0=W {vn+r}
. Since
W
resolves
Cn
, and
vn+r
resolves both pendant
paths; W0resolves all vertices of G. Hence, dim(G)3 and we obtain our result.
Combining the results of Lemmas 1and 2, we obtain the following.
Theorem 4. Let G e be a graph obtained by deleting an edge from G =Cn,m. Then,
dim(Ge) = (2if e is incident with a vertex of degree 4
3otherwise.
Let us now consider the bicyclic graph of type II, i.e.,
G=Cn,r,m
.
Ge
again gives us
two configurations depending on whether
e
is incident with a vertex of degree 2 or 3. One
of the configurations we obtain is similar to
A
, while we name the other one as
C
, given in
Figure 6.
vn
vn+1vn+r
vn+r+s+1
vn+r+m1
C
vn+r+1
vn+r+s
Figure 6.
Configuration
C
when an edge incident at vertices of degree 2 is removed from
G=Cn,r,m
.
We again mention here that the connected graph
Gv
gives us the same configura-
tions, and the results for Gecan easily be applied to Gv.
We now present the following lemma for configuration C.
Lemma 3.
Let
G
be a unicyclic graph with two pendant paths
Pk
and
Pl
, of lengths
k
and
l
,
respectively, attached to a vertex of the cycle in G. Let |V(Pk)V(Pl)|>1, then dim(G) = 3.
Proof.
Let us label the vertices of the cycle
Cn
in
G
by
v1
,
v2
,
· · ·
,
vn
. Let
|V(Pk)V(Pl)|=r
and let these vertices be labeled as
vn+1
,
vn+2
,
· · ·
,
vn+r
. For an easier proof, we relabel the
remaining vertices from Figure 6as
u1
,
u2
,
· · ·
,
ukr
and
w1
,
w2
,
· · ·
,
wlr
. This representa-
tion is given in Figure 7.
Mathematics 2023,11, 869 15 of 17
vn
vn+1vn+r
wlr
w1
C
u1
ukr
Figure 7. Configuration Cof Cn,r,merelabeled.
Let
G1
be the induced subgraph of
G
on the vertices
v1
,
v2
,
· · ·
,
vn+r
, and let
G2
be the
induced subgraph on the vertices
V(G)V(G1) {vn+r}
. Since
G1
is a unicyclic graph
with an attached pendant path, by Lemma 1,
dim(G1) =
2. Following a similar argument to
Lemma 2, we conclude that
dim(G)
3. Let
W={vi
,
vj} V(G1)
be the basis for
G1
and
let
W0=W {ukr}
. Since
W
resolves
G1
, and
ukr
resolves
G2
,
W0
resolves all vertices of
G. Hence, dim(G)3 and we obtain our result.
Lemmas 1and 3give us the following theorem.
Theorem 5.
Let
Ge
be a connected graph, obtained by deleting an edge from
G=Cn,r,m
. Then,
dim(Ge) = (2if e is incident with a vertex of degree 3
3otherwise.
If we continue to remove edges from
Ge
to obtain a connected graph, equivalently,
if we remove more than one edge from
G
in such a way that the final graph is connected
(
G
is bicyclic graph of type I or type II), we either arrive at one of the configurations
A
,
B
,
or
C
, or we obtain a tree. In both cases, their metric dimension can easily be concluded by
already established results of Lemmas 13, or by ([4] Theorem 5).
6. Summary
We studied the resolving set and metric dimension of base bicyclic graphs and showed
that they are constant for type I and II base bicyclic graphs. Particularly,
dim(Cn,m) =
2 when n,mare odd
2 when nis even and mis odd
3 when n,mare even
where n,m3 and
dim(Cn,r,m) = 2 for all n3, m3, r1.
We also considered the problem of removing an edge/vertex from these graphs and
obtained results for dim(Ge).
7. Conclusions
Unicyclic graphs have been studied extensively under varying graph invariants related
to metric dimensions. Bicyclic graphs have not enjoyed the same level of interest from
researchers till now. In this article, we showed that the base bicyclic graphs of type I and II
have constant metric dimensions. This opens up new avenues for researchers to discuss
other graph invariants for these types of graphs.
In the future, the following problems are an effective way of extending this research.
Mathematics 2023,11, 869 16 of 17
Problem 1: Studying the bicyclic graph of type III and providing a generalized proof
that they have constant metric dimension.
Problem 2: Studying various other graph invariants, e.g., local metric dimensions,
mixed metric dimensions, and k-metric dimensions for bicyclic graphs.
Problem 3: Studying the characterization of a bigger class of graphs with metric
dimension 2.
It was observed in [
30
] that the metric dimension problem is NP-complete for pla-
nar graphs. Diaz et al. also proposed an algorithm to calculate the metric dimension of
outerplanar graphs in polynomial time. Since bicyclic graphs of type I and type II are
also outerplanar graphs, their metric dimension can also be calculated in polynomial time.
Following the results from this article, there is no need to apply a generalized algorithm to
calculate the metric dimension of bicyclic graphs of type I and II. This effectively reduces
the computational time for anyone who wants to use the metric dimension of these graphs
in their applications/research.
Author Contributions:
A.K., G.H., N.A. and M.U.I.K. contributed equally to this work. Conceptual-
ization, methodology, software, validation, formal analysis, investigation, A.K., N.A. and M.U.I.K.;
funding acquisition, A.K.; data curation, visualization, writing—original draft preparation, writing—
review and editing, G.H., A.U.K.N. and A.U.I.K. All authors have read and agreed to the published
version of the manuscript.
Funding:
This research was sponsored by the Guangzhou Government Project under Grant No.
62216235, and the National Natural Science Foundation of China (Grant No. 12250410247).
Acknowledgments:
The authors acknowledge the huge contribution provided by the reviewer’s
suggestions in improving the quality of this article. Their valuable input not only helped in expanding
the results, but also helped in formatting the article for an overall better presentation.
Conflicts of Interest: The authors declare no conflict of interest.
References
1. Slater, P.J. Leaves of trees. Congr. Numer. 1975,14, 37.
2. Slater, P.J. Dominating and reference sets in a graph. J. Math. Phys. Sci. 1988,22, 445–455.
3. Melter, F.; Harary, F. On the metric dimension of a graph. Ars Comb. 1976,2, 191–195.
4.
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.
5.
Klein, D.J.; Yi, E. A comparison on metric dimension of graphs, line graphs, and line graphs of the subdivision graphs. Eur. J.
Pure Appl. Math. 2012,5, 302–316.
6.
Shao, Z.; Sheikholeslami, S.; Wu, P.; Liu, J.B. The metric dimension of some generalized Petersen graphs. Discret. Dyn. Nat. Soc.
2018,2018.
7. Khuller, S.; Raghavachari, B.; Rosenfeld, A. Landmarks in graphs. Discret. Appl. Math. 1996,70, 217–229. [CrossRef]
8.
Johnson, M. Structure-activity maps for visualizing the graph variables arising in drug design. J. Biopharm. Stat.
1993
,3, 203–236.
9. Johnson, M. Browsable structure-activity datasets. Adv. Mol. Similarity 1998,2, 153–170.
10.
Cáceres, J.; Hernando, C.; Mora, M.; Pelayo, I.M.; Puertas, M.L.; Seara, C.; Wood, D.R. On the metric dimension of cartesian
products of graphs. SIAM J. Discret. Math. 2007,21, 423–441. [CrossRef]
11. Bailey, R.F.; Meagher, K. On the metric dimension of Grassmann graphs. arXiv 2010, arXiv:1010.4495.
12. Feng, M.; Wang, K. On the metric dimension of bilinear forms graphs. Discret. Math. 2012,312, 1266–1268.
13.
Geneson, J.; Kaustav, S.; Labelle, A. Extremal results for graphs of bounded metric dimension. Discret. Appl. Math.
2022
,309,
123–129. [CrossRef]
14.
Mashkaria, S.; Odor, G.; Thiran, P. On the robustness of the metric dimension of grid graphs to adding a single edge. Discret. Appl.
Math. 2022,316, 1–27. [CrossRef]
15. Melter, R.A.; Tomescu, I. Metric bases in digital geometry. Comput. Vision Graph. Image Process. 1984,25, 113–121.
16.
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. [CrossRef]
17.
Knor, M.; Sedlar, J.; Škrekovski, R. Remarks on the Vertex and the Edge Metric Dimension of 2-Connected Graphs. Mathematics
2022,10, 2411. [CrossRef]
18.
Saha, L.; Basak, M.; Tiwary, K.; Das, K.C.; Shang, Y. On the Characterization of a Minimal Resolving Set for Power of Paths.
Mathematics 2022,10, 2445. [CrossRef]
Mathematics 2023,11, 869 17 of 17
19.
Hayat, S.; Khan, A.; Zhong, Y. On Resolvability- and Domination-Related Parameters of Complete Multipartite Graphs. Mathe-
matics 2022,10, 1815. [CrossRef]
20.
Abidin, W.; Salman, A.; Saputro, S.W. Non-Isolated Resolving Sets of Corona Graphs with Some Regular Graphs. Mathematics
2022,10, 962. [CrossRef]
21. Okamoto, F.; Phinezy, B.; Zhang, P. The local metric dimension of a graph. Math. Bohem. 2010,135, 239–255. [CrossRef]
22. Kelenc, A.; Kuziak, D.; Taranenko, A.; Yero, I.G. Mixed metric dimension of graphs. Appl. Math. Comput. 2017,314, 429–438.
23.
Sedlar, J.; Škrekovski, R. Extremal mixed metric dimension with respect to the cyclomatic number. Appl. Math. Comput.
2021
,404,
126238.
24. Estrada-Moreno, A.; Rodríguez-Velázquez, J.A.; Yero, I.G. The k-metric dimension of a graph. arXiv 2013, arXiv:1312.6840.
25.
Sedlar, J.; Škrekovski, R. Bounds on metric dimensions of graphs with edge disjoint cycles. Appl. Math. Comput.
2021
,396, 125908.
[CrossRef]
26.
Sedlar, J.; Škrekovski, R. Vertex and edge metric dimensions of unicyclic graphs. Discret. Appl. Math.
2022
,314, 81–92. [CrossRef]
27. He, C.X.; Shao, J.Y.; He, J.L. On the Laplacian spectral radii of bicyclic graphs. Discret. Math. 2008,308, 5981–5995. [CrossRef]
28. You, L.; Yang, J.; Zhu, Y.; You, Z. The maximal total irregularity of bicyclic graphs. J. Appl. Math. 2014,2014.
29.
Ahmad, A.; Baca, M.; Sultan, S. Computing the metric dimension of kayak paddles graph and cycles with chord. Proyecciones
(Antofagasta) 2020,39, 287–300.
30.
Díaz, J.; Pottonen, O.; Serna, M.; van Leeuwen, E.J. Complexity of metric dimension on planar graphs. J. Comput. Syst. Sci.
2017
,
83, 132–158. [CrossRef]
Disclaimer/Publisher’s Note:
The statements, opinions and data contained in all publications are solely those of the individual
author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to
people or property resulting from any ideas, methods, instructions or products referred to in the content.
... For a number of graphs in the literature, the metric dimension, domination metric dimension, and independent domination metric dimension are all theoretically specified. Following is a brief summary of the key recently discovered theoretical metric dimension results [17][18][19][20][21][22][23][24][25]. The metric dimension of subdivisions of several graphs, including the Lilly graph, the Tadpole graph, and the special trees star tree, bistar tree, and coconut tree is determined theoretically in [17], the bary centric subdivision of Möbius ladders and the generalized Petersen multigraphs in [18], trapezoid network, − ( ) network, open ladder network, tortoise network in [19], French windmill graph and Dutch windmill graph in [20], total graph of path power three and four in [21], two types of bicyclic graphs in [22], Mobius Ladder in [23], power of paths and complement of paths in [24], and Kayak Paddles graph and Cycles with chord in [25]. ...
... Following is a brief summary of the key recently discovered theoretical metric dimension results [17][18][19][20][21][22][23][24][25]. The metric dimension of subdivisions of several graphs, including the Lilly graph, the Tadpole graph, and the special trees star tree, bistar tree, and coconut tree is determined theoretically in [17], the bary centric subdivision of Möbius ladders and the generalized Petersen multigraphs in [18], trapezoid network, − ( ) network, open ladder network, tortoise network in [19], French windmill graph and Dutch windmill graph in [20], total graph of path power three and four in [21], two types of bicyclic graphs in [22], Mobius Ladder in [23], power of paths and complement of paths in [24], and Kayak Paddles graph and Cycles with chord in [25]. ...
Article
Full-text available
In this article, we look at the NP-hard problem of determining the minimum independent domination metric dimension of graphs. A vertex set of a connected graph, resolves if every vertex of is uniquely recognized by its vector of distances to the vertices in. If there are no neighboring vertices in a resolving set of , then is independent. Every vertex of that does not belong to must be a neighbor of at least one vertex in for a resolving set to be dominant. The metric dimension of , independent metric dimension of , and independent dominant metric dimension of are, respectively, the cardinality of the smallest resolving set of , the minimal independent resolving set, and the minimal independent domination resolving set. We propose the first attempt to use a binary version of the Rat Swarm Optimizer Algorithm (BRSOA) to heuristically calculate the smallest independent dominant resolving set of graphs. The search agent of BRSOA are binary-encoded and used to identify which one of the vertices of the graph belongs to the independent domination resolving set. The feasibility is enforced by repairing search agent such that an additional vertex created from vertices of is added to , and this repairing process is repeated until becomes the independent domination resolving set. Using theoretically computed graph findings and comparisons to competing methods, the proposed BRSOA is put to the test. BRSOA surpasses the binary Grey Wolf Optimizer (BGWO), the binary Particle Swarm Optimizer (BPSO), the binary Whale Optimizer (BWOA), the binary Gravitational Search Algorithm (BGSA), and the binary Moth-Flame Optimization (BMFO), according to computational results and their analysis.
Article
Full-text available
For a simple connected graph G=(V,E), an ordered set W⊆V, is called a resolving set of G if for every pair of two distinct vertices u and v, there is an element w in W such that d(u,w)≠d(v,w). A metric basis of G is a resolving set of G with minimum cardinality. The metric dimension of G is the cardinality of a metric basis and it is denoted by β(G). In this article, we determine the metric dimension of power of finite paths and characterize all metric bases for the same.
Article
Full-text available
The vertex (respectively edge) metric dimension of a graph G is the size of a smallest vertex set in G, which distinguishes all pairs of vertices (respectively edges) in G, and it is denoted by dim(G) (respectively edim(G)). The upper bounds dim(G)≤2c(G)−1 and edim(G)≤2c(G)−1, where c(G) denotes the cyclomatic number of G, were established to hold for cacti without leaves distinct from cycles, and moreover, all leafless cacti that attain the bounds were characterized. It was further conjectured that the same bounds hold for general connected graphs without leaves, and this conjecture was supported by showing that the problem reduces to 2-connected graphs. In this paper, we focus on Θ-graphs, as the most simple 2-connected graphs distinct from the cycle, and show that the the upper bound 2c(G)−1 holds for both metric dimensions of Θ-graphs; we characterize all Θ-graphs for which the bound is attained. We conclude by conjecturing that there are no other extremal graphs for the bound 2c(G)−1 in the class of leafless graphs besides already known extremal cacti and extremal Θ-graphs mentioned here.
Article
Full-text available
Graphs of order n with fault-tolerant metric dimension n have recently been characterized. This paper points out an error in the proof of this characterization. We show that the complete multipartite graphs also have the fault-tolerant metric dimension n, which provides an infinite family of counterexamples to the characterization. Furthermore, we find exact values of the metric, edge metric, mixed-metric dimensions, the domination number, locating-dominating number, and metric-locating-dominating number for the complete multipartite graphs. These results generalize various results in the literature from complete bipartite to complete multipartite graphs.
Article
Full-text available
Let G be a connected, simple, and finite graph. For an ordered set W={w1,w2,…,wk}⊆V(G) and a vertex v of G, the representation of v with respect to W is the k-vector r(v|W)=(dG(v,w1),…,dG(v,wk)). The set W is called a resolving set of G, if every two vertices of G has a different representation. A resolving set containing a minimum number of vertices is called a basis of H. The number of elements in a basis of G is called the metric dimension of G and denoted by dim(G). In this paper, we considered a resolving set W of G where the induced subgraph of G by W does not contain an isolated vertex. Such a resolving set is called a non-isolated resolving set. A non-isolated resolving set of G with minimum cardinality is called an nr-set of G. The cardinality of an nr-set of G is called the non-isolated resolving number of G, denoted by nr(G). Let H be a graph. The corona product graph of G with H, denoted by G⊙H, is a graph obtained by taking one copy of G and |V(G)| copies of H, namely H1,H2,…,H|V(G)|, such that the i-th vertex of G is adjacent to every vertex of Hi. If the degree of every vertex of H is k, then H is called a k-regular graph. In this paper, we determined nr(G⊙H) where G is an arbitrary connected graph of order n at least two and H is a k-regular graph of order t with k∈{t−2,t−3}.
Article
Full-text available
A set of vertices W is a resolving set of a graph G if every two vertices of G have distinct representations of distances with respect to the set W. The number of vertices in a smallest resolving set is called the metric dimension. This invariant has extensive applications in robotics, since the metric dimension can represent the mínimum number of landmarks, which uniquely determine the position of a robot moving in a graph space. Finding the metric dimension of a graph is an NP-hard problem. We present exact values of the metric dimensión of Kayak Paddles graph and Cycles with chord.
Article
The metric dimension (MD) of a graph is a combinatorial notion capturing the minimum number of landmark nodes needed to distinguish every pair of nodes in the graph based on graph distance. We study how much the MD can increase if we add a single edge to the graph. The extra edge can either be selected adversarially, in which case we are interested in the largest possible value that the MD can take, or uniformly at random, in which case we are interested in the distribution of the MD. The adversarial setting has already been studied by Eroh et al., (2015) for general graphs, who found an example where the MD doubles on adding a single edge. By constructing a different example, we show that this increase can be as large as exponential. However, we believe that such a large increase can occur only in specially constructed graphs, and that in most interesting graph families, the MD at most doubles on adding a single edge. We prove this for d-dimensional grid graphs, by showing that 2d appropriately chosen corners and the endpoints of the extra edge can distinguish every pair of nodes, no matter where the edge is added. For the special case of d=2, we show that it suffices to choose the four corners as landmarks. Finally, when the extra edge is sampled uniformly at random, we conjecture that the MD of 2-dimensional grids converges in probability to 3+Ber(8/27), and we give an almost complete proof.
Article
The vertex (resp. edge) metric dimension of a connected graph G is the size of a smallest set S⊆V(G) which distinguishes all pairs of vertices (resp. edges) in G. In Sedlar and Škrekovski (2021) it was shown that both vertex and edge metric dimension of a unicyclic graph G always take values from just two explicitly given consecutive integers that are derived from the structure of the graph. A natural problem that arises is to determine under what conditions these dimensions take each of the two possible values. In this paper for each of these two metric dimensions we characterize three graph configurations and prove that it takes the greater of the two possible values if and only if the graph contains at least one of these configurations. One of these configurations is the same for both dimensions, while the other two are specific for each of them. This enables us to establish the exact value of the metric dimensions for a unicyclic graph and also to characterize when each of these two dimensions is greater than the other one.
Article
Metric dimension is a graph parameter motivated by problems in robot navigation, drug design, and image processing. In this paper, we answer several open extremal problems on metric dimension and pattern avoidance in graphs from Geneson (2020). Specifically, we construct a new family of graphs that allows us to determine the maximum possible degree of a graph of metric dimension at most k, the maximum possible degeneracy of a graph of metric dimension at most k, the maximum possible chromatic number of a graph of metric dimension at most k, and the maximum n for which there exists a graph of metric dimension at most k that contains Kn,n. We also investigate a variant of metric dimension called edge metric dimension and solve another problem from the same paper for n sufficiently large by showing that the edge metric dimension of Pnd is d for n≥dd−1. In addition, we use a probabilistic argument to make progress on another open problem from the same paper by showing that the maximum possible clique number of a graph of edge metric dimension at most k is 2Θ(k). We also make progress on a problem from Zubrilina (2018) by finding a family of new triples (x,y,n) for which there exists a graph of metric dimension x, edge metric dimension y, and order n. In particular, we show that for each integer k>0, there exist graphs G with metric dimension k, edge metric dimension 3k(1−o(1)), and order 3k(1+o(1)).
Article
In a graph G, the cardinality of the smallest ordered set of vertices that distinguishes every element of V(G)∪E(G) is called the mixed metric dimension of G, and it is denoted by mdim(G). In [12] it was conjectured that every graph G with cyclomatic number c(G) satisfies mdim(G)≤L1(G)+2c(G) where L1(G) is the number of leaves in G. It is already proven that the equality holds for all trees and more generally for graphs with edge-disjoint cycles in which every cycle has precisely one vertex of degree ≥3. In this paper we determine that for every Θ-graph G, the mixed metric dimension mdim(G) equals 3 or 4, with 4 being attained if and only if G is a balanced Θ-graph. Thus, for balanced Θ-graphs the above inequality is also tight. We conclude the paper by further conjecturing that there are no other graphs, besides the ones mentioned here, for which the equality mdim(G)=L1(G)+2c(G) holds.
Article
In a graph G, cardinality of the smallest ordered set of vertices that distinguishes every element of V(G) is the (vertex) metric dimension of G. Similarly, the cardinality of such a set is the edge metric dimension of G, if it distinguishes E(G). In this paper these invariants are considered first for unicyclic graphs, and it is shown that the vertex and edge metric dimensions obtain values from two particular consecutive integers, which can be determined from the structure of the graph. In particular, as a consequence, we obtain that these two invariants can differ by at most one for a same unicyclic graph. Next we extend the results to graphs with edge disjoint cycles (i.e. cactus graphs) showing that the two invariants can differ by at most c, where c is the number of cycles in such a graph. We conclude the paper with a conjecture that generalizes the previously mentioned consequences to graphs with prescribed cyclomatic number c by claiming that the difference of the invariant is still bounded by c.