1. Introduction
One class of frequently studied central problems in the application of graphs is facility location problems. A cluster of emergency facilities, such as a hospital, a fire station or, a police station, has to locate to a new habitation. We aim to minimize the response time between the facility and the location of a possible emergency. Thus, these facilities are separated as much as possible to minimize the interference [
1,
2,
3]. The simple model of location facilities with those two conditions is an
F-graph. The central vertices of
F-graphs are as separated as much as possible to minimize the interference between corresponding facilities.
Our terminology and notation are based on [
4,
5] excluding those given here. Here, we consider nonempty, finite, connected, and undirected graphs without loops and multiple edges. Let
denote the distance between the vertices
u and
v of a graph
. The eccentricity is the maximum distance between
v and any other vertex
u of
G; that is,
. The minimum eccentricity among the vertices of
G is the radius
, and the set of vertices of
G with eccentricity
is the center. The distance between a vertex
and a nonempty subset
S of
is the minimum of the distance
for every
.
Buckley and Lewinter define a graph G as an
F-graph (the ‘
F’ denotes ‘far’) if its center
and for all
is
; see, e.g., [
6]. They also show the existence of such graphs with a prescribed radius and diameter. Kyš gives a necessary and sufficient condition for a graph to be an
F-graph [
7].
Figure 1 shows an example of an
F-graph
G, whose radius is
, and the center is the set
.
2. Construction of F-Graph
The purpose of this note is to propose a construction for connecting two F-graphs, and such that the resulting graph G will also be an F-graph. Let G be a graph with and a center and k be a natural number . We denote by the set of all vertices v, where .
Lemma 1. Let G be an F-graph with and k be a natural number . Then, the F-graph G contains a nonempty set as a subset of .
Proof. Following from the definition of an F-graph, for every , , and the center contains at least two vertices. Thus, there is at least one shortest path of length r between two different central vertices. There is at least one vertex on this path such that the distance between this vertex and at least one of these two central vertices is k. Thus, is nonempty. □
Lemma 2. Let G be an F-graph with an even radius . Then, for every vertex v where there exists a vertex u in such that .
Proof. Suppose . Assume to the contrary that there exists , where such that for every , there is . Suppose that v lies on the shortest path P between two central vertices. Clearly, there is a vertex x from in the middle of P. Thus, leads to a contradiction. On the other hand, suppose that v does not lie on the shortest path between central vertices. There is just one such vertex where . For every , is and . Every shortest path from to v contains a vertex y from the ; thus, leads to a contradiction.
Suppose is a central vertex; thus, . On shortest path P between and other central vertex lies vertex y from the and . Therefore, the proof holds for this case.
Now, suppose . There is a vertex such that . The shortest path from v to c contains a vertex such that (Lemma 1); thus, . □
Lemma 3. Let G be an F-graph with an odd radius . Then, for every vertex v such that and , there exists a vertex u in such that .
Proof. Suppose . Assume to the contrary that there exists where and such that for every vertex, is . Suppose that v lies on a shortest path P between two central vertices . Clearly, there are vertices from such that . Thus, or leads to a contradiction. On the other hand, suppose that v does not lie on the shortest path between the central vertices. There is just one such vertex that . For every , is and . Every shortest path from to v contains a vertex y from ; thus, leads to a contradiction.
Suppose is a central vertex; thus, . On the shortest path P between other central vertices lies vertex y from such that . Thus, the proof holds for this case.
Suppose . There is a vertex such that . The shortest path from v to c contains a vertex , where or (Lemma 1); thus, . □
Theorem 1. Let and be two F-graphs with centers and , respectively, and . Then, there exists an F-graph G with and , containing and as induced subgraphs.
Proof. We constructed the graph for even radius as illustrated in
Figure 2. The construction is based directly on the definition of the
F-graph, and, as such, the center contains at least two vertices, and the distance between any two central vertices is equal to the radius. First, it is necessary to ensure that the distance between the central vertices of both graphs is
. Following from Lemma 1, the
F-graph
contains nonempty sets
and
, and
contains nonempty sets
and
. We constructed a complete bipartite graph such that the set
is the first partition and
is the second partition, as well as a complete bipartite graph with sets
and
as partitions. Then, for the set of vertices
, it holds that
for every
. It is then necessary to ensure that for every vertex
, it holds that
. For every vertex,
and
; thus, it holds that
(Lemma 2). We added four nodes,
, to
. Each vertex
is connected by a path with a length of
to nodes
and
. Finally, we added two disjoint paths,
and
, with a length of
. Following from the construction, graph
G is an
F-graph.
Suppose the radius is odd, as shown in
Figure 3. It is necessary to ensure that the distance between the central vertices of both graphs is
and, at the same time, that the distance of the vertex from the center
to the non-central vertex of the graph
is
(
). The existence of sets
and
is a continuation of Lemma 1. We constructed a complete bipartite graph with those sets as partitions. If there existed the set
, then we constructed a complete bipartite graph with
and
as partitions. Similarly, if there existed the set
, then we constructed a complete bipartite graph with
and
as partitions. Thus, for the set of vertices
, it holds that
for every
. Following this, it is necessary to ensure that for every vertex
, it holds that
. For every vertex,
and
; thus, it holds that
(Lemma 3). We added four nodes,
, to
. Each vertex from the
is connected by a path with a length of
with to
and by a path with a length of
to vertex
. Each vertex from the
is connected by a path with a length of
to vertex
and by a path with a length of
to vertex
. Finally, we added two disjoint paths,
and
, with a length of
. Following from the construction, the graph
G is an
F-graph. □
F-graphs represent an ideal model for the relocation of emergency facilities to housing estates, towns, etc. Such a model is difficult to apply directly in practice. F-graphs can serve as stepping stones to real applications.