Next Article in Journal
The Solvability of a Class of Convolution Equations Associated with 2D FRFT
Previous Article in Journal
Cure Models with Exponentiated Weibull Exponential Distribution for the Analysis of Melanoma Patients
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

The G-Convexity and the G-Centroids of Composite Graphs

by
Prakash Veeraraghavan
Department of Computer Science and Information Technology, La Trobe University, Bundoora, VIC 3086, Australia
Mathematics 2020, 8(11), 1927; https://doi.org/10.3390/math8111927
Submission received: 28 September 2020 / Revised: 27 October 2020 / Accepted: 30 October 2020 / Published: 2 November 2020

Abstract

:
The graph centroids defined through a topological property of a graph called g-convexity found its application in various fields. They have classified under the “facility location” problem. However, the g-centroid location for an arbitrary graph is NP -hard. Thus, it is necessary to devise an approximation algorithm for general graphs and polynomial-time algorithms for some special classes of graphs. In this paper, we study the relationship between the g-centroids of composite graphs and their factors under various well-known graph operations such as graph Joins, Cartesian products, Prism, and the Corona. For the join of two graphs G 1 and G 2 , the weight sequence of the composite graph does not depend on the weight sequences of its factors; rather it depends on the incident pattern of the maximum cliques of G 1 and G 2 . We also characterize the structure of the g-centroid under various cases. For the Cartesian product of G 1 and G 2 and the prism of a graph, we establish the relationship between the g-centroid of a composite graph and its factors. Our results will facilitate the academic community to focus on the factor graphs while designing an approximate algorithm for a composite graph.
MSC:
05C05; 05C25; 05C75

1. Introduction

Graph theory is a branch of mathematics that has applications in every other field including Arts, Humanities, Sociology, Anthropology, and Engineering. Whenever there is a pairwise relation existing among any entities, graphs are then used to model the system. This paper deals with finding a central structure. The problem of finding a central structure is an active research area. They are classified under facility location problems. Using discrete mathematical models, centrality can be defined in several different ways. One of them is using the eccentricity of vertices. This concept uses the traditional Euclidean distance metric applied to the underlying graph. Centrality can also be defined through the topological properties of graphs. This paper deals with geodesic-convexity (g-convexity for short). g-convexity in graphs have been studied by several different authors. A good review is presented in our earlier paper [1]. In [1], we define the g-convex weight sequences for graphs based on g-convexity and provided characterization for certain classes of graphs including trees.
A central structure called the g-centroid is defined through g-convexity. In another paper [2], the author demonstrated an application of g-convexity and g-centroids in Mobile Ad hoc Networks (MANET). They also find applications in other areas, including measuring dissimilarities in dynamical systems and dynamic search in graphs. In [3], Prakash constituted a first to a systematic study on the size of convex sets in graphs. Due to its application, the location of g-centroid for any arbitrary graphs as well as its characterization had gained importance. In [4], we have demonstrated that the g-centroid location problem is NP -hard for disconnected graphs. In a later paper [2], Prakash closed the gap by proving NP -hardness for connected graphs.
As there are no tractable solutions available to locate the g-centroid for arbitrary graphs, it is essential to design an approximate solution for the location problem. A graph is defined as a composite graph if it can be obtained from two or more graphs through well-defined graph operations. Currently, there is no work available in the literature that analyze the relation between the structure of the g-centroid of a graph and its factors. In this paper, we study the structure of g-centroid and the g-convex weight sequences (gcws) of composite graphs through some popular graph operations such as graph-joins, cartesian products, and corona. Through the derived properties, we may able to design efficient approximate algorithms to locate the g-centroid for composite graphs in the future.
In this paper, we make the following contributions.
  • We present an application of g-convexity and g-centroids in MANET. This forms a strong motivation. We then present an overview of the NP -hardness proof for the g-centroid location for arbitrary graphs.
  • For the join of two graphs G 1 and G 2 , the weight sequence of the composite graph does not depend on the weight sequences of its factors; rather it depends on the incident pattern of the maximum cliques of G 1 and G 2 . We also characterize the structure of the g-centroid under various cases.
  • For the Cartesian product of G 1 and G 2 and the prism of a graph, we establish the relationship between the composite graph and its factors.
  • For Corona operations, we characterize the g-centroid based on its factors.
The rest of the paper is organized as follows.
In Section 2, we present preliminary definitions that are necessary for this paper. We also outline the NP -hardness algorithm for the g-centroid location problem. In Section 3, we present our main results. We consider three important types of graph operations in this paper. They are Graph Joins, Cartesian Products, and Corona. As a special case of Cartesian products, we considered the prism of a graph. Section 4 deals with the Conclusion and Future direction. In this section, we present two important open problems.

2. Definitions and Preliminary Results

In this section, we present some of the important definitions that are needed to understand the rest of this paper. Standard graph-theoretic definitions that are not given here; the reader may refer to the work in [5]. We now present a recent application of the g-convexity. A Mobile Ad hoc Network (MANET) is a decentralized type of wireless network. It is ad hoc in nature because it does not rely on any preexisting infrastructure such as an Access Point (AP) or a router to route packets from a source to a destination node. The network is formed in fly and mobile nodes may join and leave the network as they wish. Thus, there is no admission or access control mechanism in a MANET. Due to this nature, MANETs are deployed during emergency response operations. Wireless nodes that are within each other’s radio range communicate directly like a point-to-point network. There is no switch to facilitate communication as a wired network. Nodes that are not within the radio range of each other can still communicate, provided that intermediate nodes act as a router to rely on their packets. Thus, the network is formed through cooperation from all other nodes in the network. Due to this cooperative process, nodes lose their energy on forwarding packets on behalf of other nodes. This is in addition to their transmission and reception. A mobile node spends more than 60% of its power on transmission and reception compared with its internal processing. Thus, energy conservation is one of the important problems in MANET. Therefore, every node needs to know how many pairs of nodes that require its help in forwarding a data packet. Several routing protocols designed for MANET uses some form of the shortest path algorithm to forward packets between a pair of nodes. Thus, if a mobile node z lies in the shortest path between two other nodes u and v, then z is expected to route packets for u and v.
The following is one of the important problems in MANETs.
For a mobile node u, locating the maximum set S of nodes that can communicate with each other without the help of u.
WiFi interface is known to be a primary energy consumption in mobile devices. The “idle listening” consumes more energy compared with transmission or reception. It is estimated that about 60% of the energy is wasted in idle listening. The only solution for reducing idle listening is to implement a sleep schedule. Thus, intuitively whenever the nodes in S are communicating, u can go to sleep mode to conserve its battery power from idle listening.
MANET can be modeled as a simple undirected graph. An edge between the mobile hosts u and v indicates that both u and v are within their radio ranges. To simplify our discussion, we assume that if u is within the transmission range of v, then v will be in the transmission range of u (i.e., the relation between the nodes are symmetric. This may not be true in general due to different factors like the transmission power of a node, geographical conditions, etc.; thus, the resulting graph is a directed graph). Thus, the resulting graph is undirected.
We formally define the g-convexity and various parameters that are defined through the g-convexity.
Definition 1.
A set S V is geodetic convex (g-convex for short) if for every pair of vertices u , v S , all vertices on any u v shortest path (also called a geodesic path) belong to S.
From the above definition, it easily follows that a singleton set, vertex pair of an edge, and the whole vertex set V ( G ) are g-convex sets of G. We call them as trivial g-convex sets. Moreover, if S is a clique (S induces a complete subgraph of G), then S is a g-convex set of G.
A convex set is a set of vertices which is “closed” for the flow of information (routing, control, or data packets). This is in line with Mulder’s treatment of Interval functions in a graph [6]. For a connected graph G and two vertices u and v of G, the interval function I ( u , v ) is defined as follows; I ( u , v ) = {z:z lies on any u v geodesic path in G}. In our application terminology, I ( u , v ) contains the set of all vertices that may be involved in communication between u and v. Based on his definition, a set S V ( G ) is g-convex if and only if I ( u , v ) S for every pair u , v S .
We define the cardinality of the maximum g-convex set not containing u as the g-weight of u, denoted by w ( u ) . We then turn our attention to the set of nodes having the least weight. Intuitively, these nodes participate in more routes than others. We now formally define these parameters:
Definition 2.
Let G = (V,E) be any connected graph. For v V , the g-weight w ( v ) = max{ S : S is a g-convex set of G not containing v}. Let g c ( G ) = min{ w ( v ) : v V }. Then g c ( G ) is called the g-centroidal number of G and the vertices v for which w ( v ) = g c ( G ) are called the g-centroidal vertices. The g-centroid C g ( G ) is the set of all g-centroidal vertices of G (i.e., g-centroid is a set of vertices which satisfies the min-max relation).
For v V ( G ) , we denote by S v = S v ( G ) , any maximum g-convex set of G not containing v.
If the context is clear, we may call g-convexity and g-centroid by simply convexity and centroid.
Let G = (V, E) be a connected graph and u V ( G ) . Then, the eccentricity e ( u ) is defined as e ( u ) = max { d ( u , v ) : v V ( G ) } .

2.1. The G-Centroid Location Problem for Arbirtary Connected Graphs

The g-centroid location has several practical applications. One such application domain is MANET. It also has an application in measuring dissimilarities and information retrieval [5]. Due to its practical applications, it is thus necessary to devise an efficient algorithm to locate the g-centroid for an arbitrary graph. In this subsection, we outline the NP -hardness of the g-centroid location algorithm. For the detailed proof, the readers may refer to our original paper [2].
If the context is clear, in what follows, by the term graph we always mean a connected graph.
The following proposition specifies the structure of a g-centroid and its convexity.
Proposition 1.
For any connected graph G, C g ( G ) is a g-convex set of G and < C g ( G ) > is connected.
Based on this proposition, we have the following results.
Proposition 2.
For a connected graph G, C g ( G ) lies in a block of G.
We now define the k-th neighborhood of a vertex u.
Let G = (V,E) be a connected graph and u V ( G ) . The k-th neighborhood of u, denoted by N k ( u ) consists of all vertices in G that are at a distance k from u, i.e., N k ( u ) = { v V : d ( u , v ) = k }.
The next result is obvious from the definition of the k-th neighborhood of a vertex and its maximal g-convex set realizing its weight.
Proposition 3.
Let G be a connected graph and u be a vertex of G. If x , y N k ( u ) S u , then d ( x , y ) < 2 k .
The following corollary is immediate from Proposition 3.
Corollary 1.
Let G = ( V , E ) be a connected graph. For every vertex u in G, N 1 ( u ) S u is either empty or induces a complete subgraph of G.
Note that for a vertex u of G, N 1 ( u ) S u may be empty. As a nice open problem it will be interesting to classify all graphs for which N 1 ( u ) S u , for every vertex u and any arbitrary S u . One such class is a tree.
We now outline the NP -hardness of the g-centroid location algorithm. The proof is by polynomially reducing the “clique decision” problem to the g-centroid location problem. However, we could not establish the membership of the g-centroid location problem in NP -class to establish the NP -completeness. g-convexity is closely related to the clique incident pattern of the graph.
We recall the definition of the “clique decision problem”:
Given a connected graph G and an integer r with 2 r n = V ( G ) , does G has a clique of size r?
The clique decision problem is one of the classical NP -complete problem in graph theory. Several graph-theoretic and optimization problems were proved to be NP -complete or NP -hard by reducing to the clique decision problem [7].
Definition 3.
For a given connected graph G and an integer r with 2 r n , we construct the graph G r from a copy of G, K r 1 (the complete graph on r 1 vertices) and three new vertices a, b, and c as follows.
  • V ( G r ) = V ( G ) { a , b , c } V ( K r 1 )
  • The edge set of G r consists of all the edges of G, K r 1 , and the following new edges.
    -
    Join a and b to all the vertices of G.
    -
    Join c to a and b and to some arbitrary vertex d of K r 1 .
For a given graph G, the graph G r will look as in Figure 1. Furthermore, it is easy to see that for a given graph G and a r, 2 r n , G r can be constructed in polynomial time. We explain this polynomial-time construction now:
We may assume that the graph is stored as an “adjacency matrix”. To obtain V ( G r ) , we need to add r 1 vertices that corresponds to K r 1 and the three new vertices a, b, and c. This is done by adding r + 2 rows and columns to the “adjacency matrix”. Creating adjacency entries that represents K r 1 takes O ( r 2 ) time. Joining a to all the vertices of G is obtained by setting 1 for all columns that correspond to the vertices of G. This can be done in linear time. Similarly, joining b to all vertices of G can be done in linear time. Joining c to a and b and to some arbitrary vertex d of K r 1 can be done in a constant time. Thus, the entire construction of G r from G takes polynomial time.
For an arbitrary connected graph G, we now analyze the structure of the g-centroid of G r for various values of r.
In what follows in this section, if the context is clear, we assume that the graph under consideration is G r .
The following facts can easily be established.
Proposition 4.
Let G be a connected graph and G r be defined as in Definition 3. Let x be a vertex in the copy of K r 1 of G r , then w ( x ) = V ( G r ) 1 = r + V ( G ) + 1 .
The proof follows from the fact that N 1 ( x ) is complete and therefore S x = V ( G r ) { x } .
Proposition 5.
Let G be a connected graph and G r be defined as in Definition 3. w ( d ) = V ( G ) + 3 .
The next proposition specifies the weight of the two vertices a and b based on the maximum clique size of G.
Proposition 6.
Let G be a connected graph and G r be defined as in Definition 3. w ( a ) = w ( b ) = m a x { w + 1 , r + 1 } , where ω ( G ) = w is the maximum clique size of G.
The following proposition determines the weight of the vertex c based on the chosen r and the maximum clique size of G.
Proposition 7.
Let G be a connected graph and G r be defined as in Definition 3. w ( c ) = max { w + 1 , r 1 }, where w = ω ( G ) .
We now determine the weight of every vertex u V ( G ) . The weight of these vertices depends on the maximum clique incident pattern of G and the chosen r.
Proposition 8.
Let G be a connected graph and G r be defined as in Definition 3. Let M 1 , M 2 , , M s be the maximum cliques of G, M = i = 1 s M i , and w = ω ( G ) . Then, the following hold.
  • If M = , then for every u V ( G ) , w ( u ) = max { w + 1 , r + 1 }.
  • If M , then for every u M , w ( u ) = max {w, r + 1 }. For every v V ( G ) M , w ( v ) = max { w + 1 , r + 1 }.
From the above propositions, for a given connected graph G and an integer r with 2 r V ( G ) , we can find the weight of every vertex of G r .
The following proposition analyze the structure of C g ( G r ) for various values of r.
Proposition 9.
Let G be an arbitrary graph with the maximum clique size ω ( G ) = w. Let r be an integer such that 2 r w 1 . Let G r be defined as in Definition 3. Then, the g-centroid of G r , C g ( G r ) = V ( G ) { a , b , c } or M, depending upon whether the intersection of all the maximum cliques of G denoted by M is empty or not.
The following two propositions relate the chosen r and the maximum clique size of G.
Proposition 10.
Let G be a connected graph with the maximum clique size ω ( G ) = w and G r be defined as in Definition 3. Let r w + 1 . Then, C g ( G r ) = {c}.
Proposition 11.
Let G be a connected graph with the maximum clique size ω ( G ) = w and G r be defined as in Definition 3. Let r = w . Then, C g ( G r ) = V ( G ) { a , b , c } , irrespective of whether M is empty or not.
Combining all the results for G r , we have the following theorem.
Theorem 1.
Let G be any connected graph and r be an integer such that 2 r n = V ( G ) . Let G r be defined as in Definition 3. Let ω ( G ) = w be the maximum clique size of G. If r < w , then C g ( G r ) = M or V ( G ) { a , b , c } depending upon whether the intersection of all the maximum cliques of G denoted by M is non-empty or not. If r = w , C g ( G r ) = V ( G ) { a , b , c } , r w + 1 , C g ( G r ) = {c} irrespective of whether M is empty or not.
Based on Theorem 1, we can address the clique decision problem in polynomial time.
If k ω ( G ) 1 , then the g-centroid of G k is either V ( G ) { a , b , c } or M depending upon whether the intersection of all the maximum clique of G is empty of not. For k = ω ( G ) , the g-centroid C g ( G k ) = V ( G ) { a , b , c } . For k ω ( G ) + 1 , C g ( G k ) = { c } . Thus, G has a clique of size k if and only if C g ( G k ) = V ( G ) { a , b , c } or M.

3. Graph Compositions

In Section 2.1 we outlined the NP -hardness for a g-centroid location algorithm. It will be worth focusing on designing efficient approximation algorithms for the g-centroid location for a general graph or provide a polynomial-time algorithm for the g-centroid location for graphs with some special structure (such as chordal, interval, or unit disc graph). In this section, we analyze the structure of the g-centroid of composite graphs under some well-known graph operations. We now formally present some of the definitions of well-known graph operations:
Definition 4.
Let G 1 = ( V 1 , E 1 ) and G 2 = ( V 2 , E 2 ) be two graphs. Their join denoted by G = G 1 G 2 has the vertex set V = V 1 V 2 and the edge set E = E 1 E 2 { u v : u V 1 , v V 2 }.
The Cartesian product G = G 1 G 2 has the vertex set V = V 1 × V 2 and the edge set E is defined as follows; ( u 1 , u 2 ) and ( v 1 , v 2 ) are adjacent in G if and only if either u 1 = v 1 and u 2 v 2 E ( G 2 ) or u 1 v 1 E ( G 1 ) and u 2 = v 2 .
As a special case of the cartesian product, we have the prism of a graph. The prism of a graph G 1 is G = G 1 K 2 , where K 2 is a complete graph on two vertices.
The corona of two graphs G 1 and G 2 of order n 1 and n 2 (where n 1 = V ( G 1 ) and n 2 = V ( G 2 ) ), denoted by G = G 1 G 2 is the graph obtained by taking one copy of G 1 and n 1 copies of G 2 and joining the i-th copy of G 2 to the i-th vertex of G 1 , 1 i n 1 .
Remark 1.
If G is a composition of G 1 , G 2 , ⋯, G r , then we say that G is a composite graph and G 1 , G 2 , ⋯, G r are its factors.
We now analyze the g-centroids and gcws for composite graphs under the above-defined graph operations.

3.1. The Join of Graphs

In this subsection, we show that the weight sequence of G = G 1 G 2 does not depend on the weight sequence of G 1 and G 2 , rather it depends on the incident pattern of the maximum cliques of G 1 and G 2 .
If G 1 and G 2 are either complete or if both are incomplete, we give the weight sequence of G explicitly. If G 1 is complete and G 2 is incomplete, it is shown that for each u V ( G 2 ) , S u ( G ) = K V ( G 1 ) , where K is a maximum g-convex set of G 2 not containing u.
The following Proposition is immediate from the definition of join of graphs.
Proposition 12.
Let G 1 and G 2 be two graphs and G = G 1 G 2 . Then, the following holds.
  • G has an induced subgraph isomorphic to G 1 as well as to G 2 .
  • G is complete if and only if both G 1 and G 2 are complete.
If both G 1 and G 2 are complete, then G is a complete graph on n = V ( G 1 ) + V ( G 2 ) vertices and the weight sequence of G is { ( n 1 ) n } and C g ( G ) = V ( G ) .
Now consider the case when G 1 and G 2 are incomplete. The following proposition determines the structure of a g-convex sets when both G 1 and G 2 are incomplete.
Proposition 13.
Let G 1 and G 2 be two incomplete graphs and G = G 1 G 2 . Then a proper subset S of V ( G ) is a g-convex set of G if and only if < S > is a complete subgraph of G.
Proof. 
Let S be a proper g-convex set of V. If possible, let u and v be two non adjacent vertices of G in S. From the construction of G, both u and v belong to either G 1 or G 2 . Let u and v belong to G 1 . Let z be any vertex of G 2 . Then u,z,v is a geodesic joining u and v in G. As S is convex, z S . Thus V ( G 2 ) S as z is arbitrary. As G 2 is incomplete, G 2 has a pair of non-adjacent vertices. Therefore by a similar argument, V ( G 1 ) S . Hence S = V ( G ) , which is a contradiction.
Proof of the sufficiency part follows trivially as cliques are always g-convex sets of G. □
Remark 2.
If M and N are the maximum cliques of G 1 and G 2 , respectively, then M N is a maximum clique of G.
We now characterize the g-convex sequences of graph joins based on the incident pattern of the maximum cliques of their factor graphs.
Proposition 14.
Let G 1 and G 2 be two incomplete graphs and G = G 1 G 2 . Let M 1 , M 2 , , M r and N 1 , N 2 , , N s be the maximum cliques of G 1 and G 2 , respectively, of sizes ω 1 and ω 2 . Let M = j = 1 r M j , N = j = 1 s N j , n = V ( G ) , m 1 = M and m 2 = N .
  • If M and N , then the gcws of G is { ( ω 1 + ω 2 1 ) m 1 + m 2 , ( ω 1 + ω 2 ) n ( m 1 + m 2 ) }
  • If M and N = , then the gcws of G is { ( ω 1 + ω 2 1 ) m 1 , ( ω 1 + ω 2 ) n m 1 }
  • If M and N are empty, then the gcws of G is { ( ω 1 + ω 2 ) n }.
Let u be a vertex of G. Then, by Proposition 13, S u induces a complete subgraph of G.
(1) Let M, N . Let x V ( G 1 ) and x M . Then there exists an i, 1 i r such that x M i . Therefore M i N j ( 1 j s ) are maximum g-convex sets of G not containing x (as they are complete). Thus, w ( x ) = ω 1 + ω 2 . Similarly, w ( x ) = ω 1 + ω 2 also if x V ( G 2 ) and x N . If x M , then ( M i x ) N j , 1 i r and 1 j s are maximum g-convex sets of G not containing x, of cardinality ω 1 + ω 2 1 . Similarly if x N , then w ( x ) = ω 1 + ω 2 1 . Therefore, the gcws of G is { ( ω 1 + ω 2 1 ) m 1 + m 2 , ( ω 1 + ω 2 ) n ( m 1 + m 2 ) }.
Proofs of (2) and (3) are similar to the proof given above.
We now give the structure of C g ( G ) under the above cases. If the first case of Proposition 14 is arises, then C g ( G ) = M N and hence C g ( G ) is a clique of G. In the second case, C g ( G ) is either M or N depending upon whether N or M is empty. Thus in this case also C g ( G ) is a clique. In the third case, G is self centroidal. Thus, the following corollary is obvious.
Corollary 2.
If G 1 and G 2 are incomplete graphs and G = G 1 G 2 , then C g ( G ) is either a clique of G or the entire vertex set of G.
We now discuss the case when G 1 is complete and G 2 is incomplete. Here, we show that S u ( G ) = K V ( G 1 ) , where K is a maximum g-convex set in G 2 not containing u.
Proposition 15.
Let G 1 be a complete graph and G 2 be an incomplete graph and G = G 1 G 2 . Let u V ( G 1 ) . Then S u ( G ) induces a complete subgraph of G.
The proof follows as in Proposition 13.
Proposition 16.
Let G 1 be a complete graph and G 2 be an incomplete graph and G = G 1 G 2 . Let u V ( G 2 ) . Then S u ( G ) = K V ( G 1 ) , where K is a maximum g-convex set in G 2 not containing u.
Proof. 
Let K be a maximum g-convex set of G 2 not containing u. We show that S = V ( G 1 ) K is a g-convex set of G not containing u. Let x,y be a pair of non-adjacent vertices in S. Then, by our definition of G, x, y K . If d G 2 ( x , y ) 3 , then for any z V ( G 1 ) , x,z,y is a geodesic joining x and y in G. Thus, in this case all x y geodesics lie in < S > as V ( G 1 ) S . Suppose that d G 2 ( x , y ) = 2. Let x,z,y be any x y geodesic in G. If z V ( G 1 ) , then z S as V ( G 1 ) S otherwise z K , as K is a g-convex set in G 2 . Thus, in this case also, all x y geodesics lie in < S > . Therefore, S is a g-convex set of G. From the definition of g-weight, it follows that w ( u G ) S . To prove the equality, it is enough to show that for any S u ( G ) , S u ( G ) V ( G 2 ) is a g-convex set of G 2 not containing u. Let K = S u ( G ) V ( G 2 ) .
First, we show that K is non-empty. If K is empty, then S u ( G ) V ( G 1 ) . As G 2 is incomplete, V ( G 2 ) 3 . Let v be a vertex of G 2 different from u. Then S = V ( G 1 ) { v } is a g-convex set of G, not containing u, properly containing S u ( G ) . This is a contradiction.
Next we show that K is a g-convex set of G 2 . If K is a clique, then K is trivially a g-convex set. Let x , y K such that d G 2 ( x , y ) = 2. Let x,z,y be a geodesic joining x and y in G 2 . From the definition of G, d G ( x , y ) = 2 and x,z,y is a geodesic joining x and y in G. By the convexity of S u ( G ) , z S u ( G ) , and thus z K . Thus K is a g-convex set of G 2 . □
Next we describe the structure of C g ( G ) when G 1 is complete and G 2 is incomplete.
Proposition 17.
Let G 1 be a complete graph and G 2 be an incomplete graph and G = G 1 G 2 . V ( G 1 ) C g ( G ) .
Proof. 
Let x V ( G 1 ) . Then, by Proposition 15, S x induces a complete subgraph of G. Thus, w ( x ) = n 1 1 ω ( G 2 ) , where n 1 = V ( G 1 ) . Let y be any vertex of G 2 and M be a maximum clique of G 2 , not containing y. Then, M V ( G 1 ) is a g-convex set of G not containing y and M V ( G 1 ) ω ( G 2 ) 1 + n 1 = w ( x ) . Thus, w ( y ) w ( x ) . Since y is arbitrary, we have V ( G 1 ) C g ( G ) . □
Corollary 3.
Let G 1 be a complete graph and G 2 be an incomplete graph and G = G 1 G 2 . Let N 1 , N 2 , ⋯, N s be the maximum cliques of G 2 and N = j = 1 s N j . If N = , then C g ( G ) = V ( G 1 ) .
Proof. 
If x V ( G 1 ) , then by the proof of the above Proposition, w ( x ) = n 1 + ω ( G 2 ) 1 . Let y V ( G 2 ) . Since N = , there exists an i, 1 i s such that y N i . Then, N i V ( G 1 ) is a g-convex set of G not containing y with cardinality ω ( G 2 ) + n 1 . Thus, w ( y ) > w ( x ) , and therefore C g ( G ) = V ( G 1 ) . □
Next, we describe the structure of C g ( G ) under this case.
Proposition 18.
Let G = G 1 G 2 with G 1 complete and G 2 incomplete. Then C g ( G ) induces a complete subgraph of G.
Proof. 
From Proposition 17, V ( G 1 ) C g ( G ) . If V ( G 1 ) = C g ( G ) , then < C g ( G ) > is complete. If C g ( G ) V ( G 2 ) = 1, then also < C g ( G ) > is complete. Let A = C g ( G ) V ( G 2 ) 2 . Let u , v A . We now show that u v E ( G ) . As w ( x ) = ω ( G 2 ) + n 1 1 , for each vertex x of G 1 , we have w ( u ) = w ( v ) = ω ( G 2 ) + n 1 1 (as V ( G 1 ) C g ( G ) ). If M is any maximum clique of G 2 , then u , v M (otherwise, M V ( G 1 ) is a g-convex set of G not containing them of cardinality ω ( G 2 ) + n 1 ). As M is a clique, u v E ( G 2 ) , and hence u and v are adjacent in G also. This proves that < C g ( G ) > is complete. □
The proof for the following corollary is immediate from Proposition 18.
Corollary 4.
Let G 1 be a complete graph and G 2 be an incomplete graph and G = G 1 G 2 . Let N 1 , N 2 , ⋯, N s be the maximum cliques of G 2 . If C g ( G ) V ( G 2 ) , then C g ( G ) V ( G 2 ) i = 1 s N i .
The containment can be proper. This is demonstrated in Figure 2.
Proposition 19.
Let G 1 be a complete graph and G 2 be an incomplete graph and G = G 1 G 2 . If u C g ( G ) V ( G 2 ) , then e G 2 ( u ) 3 .
Proof. 
From the above corollary, u i = 1 s N i . Thus all the maximum cliques of G 2 are contained in N G 2 [ u ] . Suppose that e G 2 ( u ) 4 . Let x N 4 ( u : G 2 ) . Then ( N i u ) { x } V ( G 1 ) is a convex set of G (as any x y geodesic path passes through only vertices from V ( G 1 ) y ( N i x ) ), x y geodesic contains vertices only from V ( G 1 ) with cardinality ω ( G 2 ) + n 1 . This is a contradiction. This proves that e G 2 ( u ) 3 . □

3.2. Cartesian Product

In this section, we deal with the gcws of the cartesian product of two graphs. First, we prove that S V is a g-convex set in G = G 1 G 2 if and only if S = S 1 × S 2 , where S 1 and S 2 are g-convex sets of G 1 and G 2 , respectively.
Proposition 20.
Let G 1 and G 2 be two connected graphs. Let G = G 1 G 2 . Then, S V ( G ) is a g-convex set of G iff S = S 1 × S 2 , where S 1 and S 2 are g-convex sets of G 1 and G 2 , respectively.
Proof. 
Let S be any g-convex set of G. Let S 1 = {u: (u,v) S } and S 2 = {v:(u,v) S } (i.e., the projection of S on G 1 and G 2 ). Then, clearly S S 1 × S 2 . First, we show that S = S 1 × S 2 . Suppose (u,v) S 1 × S 2 and (u,v) S . As u S 1 and v S 2 , by the definition of S 1 and S 2 , there exist x,y such that (u,x), (y,v) S . Let u = u 1 , u 2 , ⋯, u r = y be a u y geodesic in G 1 and x = x 1 , x 2 , ⋯, x s = v be a x v geodesic in G 2 . Then ( u , x 1 ) , ( u , x 2 ) , ⋯, ( u , v = x s ) , ( u 2 , v ) , ⋯, ( u r = y , v ) is a geodesic joining ( u , x ) and ( y , v ) in G. Since S is convex, ( u , v ) S , a contradiction. This proves that S = S 1 × S 2 .
Our next task is to show that S 1 and S 2 are convex sets of G 1 and G 2 , respectively. Let u , y S 1 and u = u 1 , u 2 , ⋯, u r = y be any u y geodesic in G 1 . Let x be any arbitrary vertex in S 2 . Then ( u , x ) , ( v , x ) S . Now, ( u 1 , x ) , ( u 2 , x ) , ⋯, ( u r , x ) is a geodesic joining ( u , x ) and ( y , x ) in G. Since S is convex, ( u i , x ) S for 1 i r , and therefore u i S 1 . Thus, S 1 is a g-convex set of G 1 . Similarly S 2 is a g-convex set of G 2 .
The proof of the sufficiency part follows trivially. □
Corollary 5.
Let G 1 and G 2 be two connected graphs. Let G = G 1 G 2 . Let S 1 and S 2 be g-convex sets of G 1 and G 2 respectively, then S 1 × V ( G 2 ) and V ( G 1 ) × S 2 are g-convex sets of G.
The proof follows from the above proposition and the fact that V ( G 1 ) and V ( G 2 ) are g-convex sets of G 1 and G 2 .
Proposition 21.
Let G 1 and G 2 be two connected graphs. Let G = G 1 G 2 . Let ( u , v ) V ( G ) . Then the weight of ( u , v ) is
w ( u , v ) = m a x { w ( u : G 1 ) × V ( G 2 ) , w ( v : G 2 ) × V ( G 1 ) }
Proof. 
Let S be a maximum g-convex set of G not containing ( u , v ) . Then, by Proposition 20, S = S 1 × S 2 , where S 1 and S 2 are g-convex sets of G 1 and G 2 , respectively. Since ( u , v ) S , one of the following holds good.
  • u S 1 and v S 2
  • u S 1 and v S 2
  • u S 1 and v S 2
By the maximality of S, if u S 1 , then S 1 is a maximum g-convex set of G 1 not containing u and similarly, if v S 2 , then S 2 is a maximum g-convex set of G 2 not containing v. Thus case (1) cannot happen (as S u ( G 1 ) × V ( G 2 ) > S 1 × S 2 . In case (2), S ( u , v ) = V ( G 1 ) × S v and in case (3), S ( u , v ) = S u × V ( G 2 ) . Thus, we have
w ( u , v ) = m a x { w ( u : G 1 ) × V ( G 2 ) , w ( v : G 2 ) × V ( G 1 ) }
 □
From the Proposition 21, we see that if w ( u : G 1 ) and w ( v : G 2 ) are known, then w ( u , v ) can be computed.
We now relate the centroid of G to those of G 1 and G 2 . We show that C g ( G 1 ) × C g ( G 2 ) C g ( G ) and the equality holds if g 1 n 2 = g 2 n 1 .
Proposition 22.
Let G 1 and G 2 be two connected graphs. Let G = G 1 G 2 . Let g 1 = g c ( G 1 ) ; g 2 = g c ( G 2 ) ; n 1 = V ( G 1 ) and n 2 = V ( G 2 ) . If g 1 n 2 = g 2 n 1 , then C g ( G ) = C g ( G 1 ) × C g ( G 2 ) .
Proof. 
Let ( u , v ) C g ( G 1 ) x C g ( G 2 ) . From Proposition 21, w ( u , v ) = max { g 1 n 2 , g 2 n 1 }. Let ( x , y ) V ( G ) C g ( G 1 ) × C g ( G 2 ) . Then, either x C g ( G 1 ) or y C g ( G 2 ) or both. In the first case w ( x , y ) S x × V ( G 2 ) > g 1 n 2 . (as S x > g 1 ). Similarly, in all the other cases, we can show that w ( x , y ) > w ( u , v ) . Therefore, C g ( G ) = C g ( G 1 ) × C g ( G 2 ) . □
Remark 3.
The converse of this proposition is not true. For, consider G = K 2 P 3 . Here, g 1 = 1, n 1 = 2, g 2 = 1, and n 2 = 3. Clearly g 1 n 2 g 2 n 1 but C g ( G ) = C g ( K 2 ) × C g ( P 3 ) .
Proposition 23.
Let G 1 and G 2 be two connected graphs. Let G = G 1 G 2 . Let g 1 = g c ( G 1 ) ; g 2 = g c ( G 2 ) ; n 1 = V ( G 1 ) and n 2 = V ( G 2 ) .
If g 1 n 2 g 2 n 1 , then C g ( G 1 ) × C g ( G 2 ) C g ( G ) .
Proof. 
Let ( u , v ) C g ( G 1 ) x C g ( G 2 ) . From Proposition 10, w ( u , v ) = max{ g 1 n 2 , g 2 n 1 }. Without loss of generality, assume that w ( u , v ) = g 1 n 2 . Let ( x , y ) V ( G ) . if x C g ( G 1 ) and y C g ( G 2 ) , then w ( x , y ) > g 1 n 2 (as S x > g 1 and S x x V ( G 2 ) is a g-convex set of G not containing ( x , y ) ). If x C g ( G 1 ) and y C g ( G 2 ) , then w ( x , y ) S x x V ( G 2 ) > g 1 n 2 (as g 1 < S x ). Therefore in this case ( x , y ) C g ( G ) . If x C g ( G 1 ) , then w ( x , y ) = max{ g 1 n 2 , w ( y ) x n 1 } g 1 n 2 = w ( u , v ) . Thus for all ( x , y ) , w ( x , y ) w ( u , v ) for every u C g ( G 1 ) and v C g ( G 2 ) . This proves that C g ( G 1 ) x C g ( G 2 ) C g ( G ) . □
Remark 4.
It can easily be seen that the containment can be proper. This is illustrated in Figure 3.

3.3. Prism of a Graph

As a special case of the cartesian product, we consider the prism of a graph. Let G be any connected graph. Take two copies of G, say G ( 1 ) and G ( 2 ) . Label the vertices of the first copy with u 11 , u 12 ,⋯, u 1 n and the second copy with u 21 , u 22 ,⋯, u 2 n in the same order. Then, the prism of G denoted by P ( G ) has the vertex set V ( G ( 1 ) ) V ( G ( 2 ) ) and the edge set defined as follows:
E ( P ( G ) ) = E ( G ( 1 ) ) E ( G ( 2 ) ) { u 1 i u 2 i : 1 i n }
Remark 5.
It is easy to see that the prism of a graph is the cartesican product of itself with K 2 . That is, P ( G ) = G K 2 .
Proposition 24.
Let G be a connected graph and u V ( P ( G ) ) . Then, w ( u ) = max { V ( G ) , 2 × w ( u : G ) }.
The proof follows from the above remark and Proposition 21.
Proposition 25.
Let G be a connected graph and g = g c ( G ) . If g n / 2 , then C g ( P ( G ) ) = { u i j , i = 1,2: w ( u j : g ) n / 2 }; otherwise C g ( P ( G ) ) = C g ( G ) K 2 .
Proof. 
Let g n / 2 . Let u 1 C g ( G ) . Then, w ( u i : G ) n / 2 . Therefore, from Proposition 24, w ( u 1 i ) = w ( u 2 i ) = n. Similarly if u j is any vertex of G with w ( u j : g ) n / 2 , then also w ( u 1 j ) = w ( u 2 j ) = n. If u k is any vertex of G with w ( u k : G ) > n / 2 , then w ( u i k ) = 2 × w ( u k ) > n . Thus, in this case, C g ( P ( G ) ) = { u i j , i = 1 , 2 : w ( u j ) n / 2 }.
Proof of the other part follows similarly. □

3.4. The Corona

In this section, we deal with the corona of two graphs. Let G be the corona of G 1 with G 2 . Then, we prove that C g ( G ) = C g ( G 1 ) .
Proposition 26.
Let G = G 1 G 2 . Let u V ( G 1 ) and v V ( i , G 2 ) . Then,
  • S u ( G ) = S u ( G 1 ) { V ( i , G 2 ) : i S u ( G 1 ) } and
  • S v ( G ) = S ( V ( G ) V ( i , G 2 ) ) , where S is a maximum g-convex set in V ( i , G 2 ) not containing v.
Proof. 
(1) Let S be any maximum g-convex set of G 1 not containing u. i.e, S = S u ( G 1 ) . We now show that S = S { V ( i , G 2 ) : i S } is a g-convex set of G.
If x , y V ( G 1 ) S , then x , y S and all x y geodesics will lie in < S > (as S S ).
Let x , y V ( i , G 2 ) . In this case, if d G 2 ( x , y ) 3 , then x , i , y is the only geodesic joining x and y in G, and by our definition of S, i S . If d G 2 ( x , y ) = 2 , then as before i S and if x , z , y is any other geodesic joining x , y in G, then clearly z V ( i , G 2 ) S . Therefore, in all these cases, all x y geodesics lie in < S > .
Let x V ( i , G 2 ) and y V ( j , G 2 ) with i , j S . In this case it is easy to see that if P is a geodesic joining i and j in G 1 , then x V ( P ) y is a geodesic joining x and y in G and conversely. Since i , j S , all i j geodesics lie in < S > . Thus all x y geodesics lie in < S > .
Proof of the case when x V ( i , G 2 ) and y V ( G 1 ) is similar to that of the above case.
Thus the convexity of S is established. Obviously, S does not contain u. The reason that every such g-convex set S of G arises this way follows from the fact that S = S V ( G 1 ) is a g-convex set of G 1 not containing u and every V ( i , G 2 ) is a g-convex set of G. A maximum g-convex set of G not containing u is obtained by taking for S a maximum g-convex set of G 1 not containing u; that is an S u ( G 1 ) . This establishes (1).
(2) Let v V ( i , G 2 ) . Let K be a maximum g 2 -convex set in G 2 not containing v. Then as before by considering various cases, we can prove that K ( V V ( i , G 2 ) ) is a g-convex set of G not containing v. If S is a maximum g-convex set of G not containing v, then trivially S V ( i , G 2 ) is a g 2 -convex set in G 2 not containing v. Therefore S v ( G ) = S ( V ( G ) V ( i , G 2 ) ) . □
In the case of the corona, we prove that the g-centroid of G and G 1 are the same.
Proposition 27.
Let G 1 , G 2 be two connected graphs. Let G = G 1 G 2 . Then, C g ( G ) = C g ( G 1 ) .
Proof. 
Let x V ( G 1 ) . Then w ( x : G 1 ) + n 2 x w ( x : G 1 ) = w ( x : G ) ( 1 + n 2 ) (by (1) of the above proposition). If y is any vertex not in C g ( G 1 ) , then w ( y : G ) > w ( x : G ) (as w ( y : G 1 ) > w ( x : G 1 ) ). If z V ( i , G 2 ) , then V ( G ) V ( i , G 2 ) is a convex set of G not containing z with cardinality n 1 n 2 + n 1 n 2 . Therefore w ( z : G ) n 1 n 2 + n 1 n 2 . For any x C g ( G 1 ) , w ( x : G ) = w ( x : G 1 ) ( 1 + n 2 ) ( n 1 1 ) ( 1 + n 2 ) = n 1 n 2 n 2 + n 1 1 < w ( z ) . Thus w ( z ) > w ( x ) . Therefore C g ( G ) = C g ( G 1 ) . □

4. Conclusions and Future Directions

In this paper, we have considered the join of graphs and have shown that the gcws of G = G 1 G 2 depends on the intersection pattern of the maximum cliques of G 1 and G 2 .
For cartesican products, we have proved that S V ( G ) is a convex set of G iff S = S 1 × S 2 , where S 1 and S 2 are convex sets of G 1 and G 2 , respectively, and deduced that C g ( G 1 ) × C g ( G 2 ) C g ( G ) . As a special case of this, we have considered the prism of a graph.
Finally, we have dealt with the corona of a graph with another and shown that the centroid of the corona is that of the farmer graph.
There are several other important graph compositions such as wreath products, normal products (see [8]. Cf. 3), etc. Establishing the relation between the gcws and the g-centroid of the composite graph and its factor graphs under these graph operations is an interesting open problem in this area. It is also interesting to classify all classes of graphs such that for any arbitrary member graph G, S u N ( u ) for all u V ( G ) . One such member class is trees.
The concept of convexity may be extended to directed graphs. It will be interesting to study the algorithmic complexity of g-centroid location algorithm for certain classes of directed graphs such as “strongly connected graphs”.

Funding

This research received no external funding.

Conflicts of Interest

The author declares no conflict of interest.

References

  1. Veeraraghavan, P. g-Convex Weight Sequences. Mathematics 2018, 6, 54. [Google Scholar] [CrossRef] [Green Version]
  2. Veeraraghavan, P. Application of g-Convexity in mobile ad hoc networks. In Proceedings of the 6th IEEE International Conference on Information Technology in Asia 2009 (CITA’09), Kuching, Malaysia, 6–9 July 2009; pp. 33–38. [Google Scholar]
  3. Prakash, V. Convexity Studies in Graphs. Ph.D. Dissertation, Indian Institute of Technology, Madras, India, 1995. [Google Scholar]
  4. Rangan, C.P.; Parthasarathy, K.R.; Prakash, V. On the g-centroidal problem in special classes of perfect graphs. Ars Comb. 1998, 50, 267–278. [Google Scholar]
  5. Bukley, F.; Harary, F. Distance in Graphs; Addison-Wesley: New York, NY, USA, 1991. [Google Scholar]
  6. Mulder, H.M. The Interval Function of a Graph; Mathematisch Centrum: Amsterdam, The Netherland, 1980; Volume 132. [Google Scholar]
  7. Garey, M.R.; Johnson, D.S.; Klee, V. (Eds.) Computers and Intractability: A Guide to the Theory of NP-Completeness; A Series of Books in the Mathematical Sciences; W. H. Freeman and Co.: San Francisco, CA, USA, 1979. [Google Scholar]
  8. Parthasarathy, K.R. Basic Graph Theory; Tata McGraw-Hill: New Delhi, India, 1994. [Google Scholar]
Figure 1. G r for a given graph G.
Figure 1. G r for a given graph G.
Mathematics 08 01927 g001
Figure 2. The proper containment: C g ( G ) V ( G 2 ) i = 1 s N i .
Figure 2. The proper containment: C g ( G ) V ( G 2 ) i = 1 s N i .
Mathematics 08 01927 g002
Figure 3. The proper containment of Proposition 23.
Figure 3. The proper containment of Proposition 23.
Mathematics 08 01927 g003
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Veeraraghavan, P. The G-Convexity and the G-Centroids of Composite Graphs. Mathematics 2020, 8, 1927. https://doi.org/10.3390/math8111927

AMA Style

Veeraraghavan P. The G-Convexity and the G-Centroids of Composite Graphs. Mathematics. 2020; 8(11):1927. https://doi.org/10.3390/math8111927

Chicago/Turabian Style

Veeraraghavan, Prakash. 2020. "The G-Convexity and the G-Centroids of Composite Graphs" Mathematics 8, no. 11: 1927. https://doi.org/10.3390/math8111927

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop