between them. For an edge eof G, we denote by G´ethe graph obtained by deleting efrom G. An edge e
in a graph Gis a bridge if G´ehas more connected components than G. The open neighborhood of a vertex
vPVpGqis NGpvq“tuPV|uv PEpGqu and its closed neighborhood is the set NGrvs “ NGpvqYtvu.
Monitoring edge-geodetic sets. We now formally define our main concept.
Definition 1.1. Two vertices x, y monitor an edge ein graph Gif ebelongs to all shortest paths between
xand y. A set Sof vertices of Gis called a monitoring edge-geodetic set of G(MEG-set for short) if,
for every edge eof G, there is a pair x, y of vertices of Sthat monitors e.
We denote by megpGqthe size of a smallest MEG-set of G. We note that VpGqis always an MEG-set
of G, thus megpGqis always well-defined.
Related notions. A set Sof vertices of a graph Gis a geodetic set if every vertex of Glies on some
shortest path between two vertices of S[12]. An edge-geodetic set of Gis a set SĎVpGqsuch that every
edge of Gis contained in a geodesic joining some pair of vertices in S[19]. A strong edge-geodetic set of
Gis a set Sof vertices of Gsuch that for each pair u, v of vertices of S, one can select a shortest u´v
path, in a way that the union of all these `|S|
2˘paths contains EpGq[16]. It follows from these definitions
that any strong edge-geodetic set is an edge-geodetic set, and any edge-geodetic set is a geodetic set (if
the graph has no isolated vertices). In fact, every MEG-set is a strong edge-geodetic set. Indeed, given
an MEG-set S, one can choose any shortest path between each pair of vertices of S, and the set of these
paths covers EpGq. Indeed, every edge of Gis contained in all shortest paths between some pair of S.
Hence, MEG-sets can be seen as an especially strong form of strong edge-geodetic sets.
A set Sof vertices of a graph Gis a distance-edge monitoring set if, for every edge e, there is a vertex
xof Sand a vertex yof Gsuch that elies on all shortest paths between xand y[9, 10]. Thus, it follows
immediately that any MEG-set of a graph Gis also a distance-edge monitoring set of G.
Our results. We start by presenting some basic lemmas about the concept of MEG-sets in Section 2,
that are helpful for understanding this concept. We then study in Section 3 the optimal value of megpGq
when Gis a tree, cycle, unicyclic graph, complete (multipartite) graph, hypercubes, grids and corona
products. In Section 4, we show that megpGqis bounded above by a linear function of the feedback edge
set number of G(the smallest number of edges of Gneeded to cover all cycles of G, also called cyclomatic
number ) and the number of leaves of G. This implies that megpGqis bounded above by a function of the
max leaf number of G(the maximum number of leaves in a spanning tree of G). These two parameters
are popular in structural graph theory and in the design of algorithms. We refer to Figure 1 for the
relations between parameter meg and other graph parameters. We show that determining megpGqis an
NP-complete problem, even in graphs of maximum degree at most 9, in Section 5. Finally, we conclude
in Section 6.
Further related work on MEG-sets. This paper is the full version of a paper presented at the
CALDAM 2023 conference [11], where the notion of MEG-sets was presented for the first time. It
contains the full proofs of the results in the conference version (with a corrected version of Theorem 3.5),
as well as the new result on corona products, and the new NP-completeness proof. In the meantime,
Haslegrave [14] proved that the MEG-set problem is NP-complete on general graphs, and also studied
MEG-sets for other graph products.
2 Preliminary lemmas
We now give some useful lemmas about the basic properties of MEG-sets.
A vertex is simplicial if its neighborhood forms a clique.
Lemma 2.1. In a graph Gwith at least one edge, any simplicial vertex belongs to any edge-geodetic set
and thus, to any MEG-set of G.
2