Submitted:
10 May 2024
Posted:
10 May 2024
You are already at the latest version
Abstract
Clustering coefficient measures are key complex network analysis tools. We examine local and global clustering coefficient measures with respect to the lexicographic graph product. As a preliminary condition, we analyze the \(K_3\) subgraph structure focused on vertex inclusion with respect to the product graph. From this structure, we determine both the clustering coefficient for the product graph vertices and the average clustering coefficient for the product graph.
Keywords:
lexicographic graph product
; clustering coefficient
; average clustering coefficient
MSC: primary 05C82; secondary 05C75
1. Introduction
Clustering coefficient is a widely used tool in complex network analysis, particularly in social and neural networks. Introduced by Holland and Leinhardt (1971) [7], it is Strogatz and Watts (1998) who are credited with popularizing the average clustering coefficient of a graph as the small world property of a network [14]. Network analysis is a key area of study in applied graph theory that includes lexicographic networks (an example paper is [11].)
As mentioned, the various clustering coefficients are utilized in aspects of network structure analysis, especially with respect to community structure and information flow. A network vertex group with high local clustering coefficients indicates an area of high connectivity thus wide information exchange, while low clustering reflects structural holes. In information networks, the holes can indicate the presence of “gatekeepers" who control the information flow. Mark Newman’s Networks,Newman covers the various clustering coefficient measures in some detail. Although the number of triangles in a graph can be determined in polynomial time, this calculation relays little information about the relationship of the clustering in the lexicographic product as it relates to factor graph structure. In this note, we take a mathematical approach to the clustering coefficient so analysis of network structure is beyond the scope of this note. However, the information given here aids in network model construction and clustering investigation.
In this paper, the clustering coefficient calculations, and surrounding discussion, convey how the resulting community structure in the product graph is formed from the factor graph clustering. Theorem 1 gives the number of triangles in which a lexicographic product graph vertex can be found provided that the factor graphs are finite and simple. Theorem 2 provides the clustering coefficient of a lexicographic product graph vertex, while Corollary 3 presents the average clustering coefficient for this product graph.
As far as we know, there are only two other papers, [3,4], addressing clustering coefficient measures with respect to product graphs; and neither paper considers the lexicographic product. Calculating the clustering coefficient of any vertex, and the average clustering coefficient of the graph containing that vertex, provides little information regarding vertex subgraph inclusion structure for the chosen graph. Several papers have been written regarding the minimum cycle basis structure of the lexicographic product graph ([1,8,9,10] as stated in [9]); but none of these papers address vertex subgraph inclusion that is given in this note.
In Section 2 we provide notation and background information regarding the lexicographic graph product and regarding clustering coefficient measures. Section 3 contains the equation for the number of subgraphs in which a product graph vertex can be found. The determination of the clustering coefficient for vertices, and the more global average clustering coefficient, are found in Section 4.
2. Background
Define a finite graph G by its vertex set and its edge set ; and let and denote the number of elements in these two sets respectively. We assume general graph knowledge as found in [2]. Here, all graphs are finite and simple, thus disallowing both multiedges or loops. We give all graphs the same vertex labeling of where graph order is . Graph size is denoted with . When reference is given concerning a specific graph G, then order and size are given by and , respectively. The open neighborhood of vertex x is while the closed neighborhood is . For graph order n, path graphs are , complete graphs are and empty graphs with n isolated vertices are denoted by .
2.1. Lexicographic Graph Product
Graph product operations act on two graphs G and H referred to as the factor graphs. In graph theory, a homomorphism is a vertex set mapping such that implies that edge is in where ; thus preserving adjacency. A weak homomorphism is vertex map where an edge in G implies either or in H. For additional general information regarding graph products see [5].
The lexicographic graph product has vertex set of ordered pairs produced by the Cartesian product , where . Pair is an edge in if either or and . Note that the operator and is a weak homomorphism. is the unit for this product.
We sometimes indicate vertices in by instead of as shown in Figure 1 displaying and . In this figure, operator is in dashed edges and operator and is in solid. As with other product graphs, has projections from the product graph to its factors (see [5] for more information.) This results in the existence of “copies" of the two factors in the product graph. In Figure 1, note that the solid edges in the product are copies of H referred to as H layers; and some of the dashed lines are copies of G, analogously called G layers.
We refer to the edges generated by operator as “spider edges". Notice that the spider edges join two adjacent H layers. Based on the definition for this product, has order of and size . When referencing a vertex in G, we use ; and similarly, a vertex in H is unless otherwise noted. The degree of a vertex in one of the factors is indicated by (or ) where (or ) is the specifric vertex in G (or in H).
For a specific vertex , denote the H layers that contain x as , and let indicate the H layers that do not contain x but do contain the vertices in .
The lexicographic product is associative but, with a few exceptions, it is not commutative. Displaying both and , Figure 1 shows this product aspect. Although the graph order for both of these product graphs is the same, has 13 edges while the size of is 11.
When G is connected, then is connected. But when G is disconnected the product is disconnected with the number of connected components dependent on the number of components in G and in H.
2.2. Clustering Coefficient and Average Clustering Coefficient
The phrase “clustering coefficient" needs clarification as its usage varies in the literature. In this note, clustering coefficient refers specifically to the commonly utilized ratio focused on each vertex as calculated in Sage. To emphasize a vertex focus, we sometimes refer to the clustering coefficient as the vertex clustering coefficient. Given a specific vertex x, the clustering coefficient of x is:
The average clustering coefficient of a graph G, , is a global measure for G that can be compared to the density of subgraphs in G. Utilizing the vertex clustering coefficient over all , average clustering coefficient is:
Based on vertex degree, the denominator of is . As a ratio, clustering coefficient has a maximum of 1 and a minimum of 0. Bipartite graphs have as they are triangle free; while with have . Since is the unit for the lexicographic product, . In this note, we interchange the use of “ subgraph" with “triangle". For additional information regarding clustering coefficient measures, see Newman [12].
3. Preliminaries
This section covers two topics: vertex degree and subgraph inclusion structure of the product graph vertices. Both of these topics are essential to the next section that discusses the two product graph clustering coefficient measures.
3.1. Vertex Degree
The denominator of depends on the degree of a particular in where for any .
3.2. Vertex Inclusion in Triangle Subgraph Structure
This note has much focus on determining the triangle inclusion structure with respect to any vertex in a lexicographic product graph. Let be the inclusion number of a vertex where is defined as the total number of subgraphs in G that include x.
Let and be two graph orders that may, or may not, be equal. Given two complete graphs , we know that produces the complete graph where the triangle structure is already known. As empty graph has no edges, then it follows that also has no subgraphs.
Figure 2 displays, on the left, the incident edges for only vertex 11 in where G is in gray and disconnected H is in solid. As shown in this figure, the concept of the four subgraph partitions is utilized in the proof of Theorem 1. Dotted edges represent spider edges in while dashed edges are spider edges for vertex 11.
In Figure 2, there are four edge partitions. The partition in the upper right reflects subgraphs formed from a single edge and two of 11’s spider edges. The lower left partition shows the triangle in formed from two edges and one edge from . This is not included in any of the other partitions. The bottom middle partition shows subgraphs formed from one edge, one 11 spider edge and one spider edge from . For greater clarity, this partition only displays two vertices in . Notice that as H is disconnected, spider edges from vertices 03 and 33 map to 10; but an edge from 11 to 10 does not exist so there is no triangle here. Lastly, the bottom right partition displays triangles that contain a single 11 spider edge and two spider edges for . As mentioned in the previous paragraph, the proof of Theorem 1 refers to this figure; thus providing additional explanation.
Theorem 1.
Let G and H be connected simple graphs. Then the number of subgraphs in that include specific vertex is:
Proof.
Suppose has finite and simple factor graphs G and H. Let be any vertex in . There exist three types of edges with respect to : the set of H layer edges ( edges plus edges incident to ), the set of spider edges incident to and the spider edges of vertices in that are not incident to but are incident to other members of . After addressing disconnected factor graphs, we divide this proof into sections based on subgraph partitions determined by the three edge types as shown in Figure 2.
Given a disconnected , is exclusive to any particular , whether is connected or not. In other words, is relative to each vertex in each connected component. If H is disconnected, then the number of possible triangles in which is located is reduced by the absence of an edge, or edges, in each H layer. This is similar for a disconnected G that generates a disconnected .
(1) One edge, and two spider edges:
As operator generates edges between adjacent H layers for any , follow a spider edge s of to a neighbor incident to an edge e in . Then there exists another neighbor of incident to e that is incident to another spider edge of . Denote this path by these edges. There are number of ’s neighbors; and for these neighbors, one can find number of distinct paths in this partition. This gives of this triangle type that contain .
(2) Two edges and one edge from :
For in the product graph, let be the vertex in H that is in ; and suppose that shares a triangle in H with vertices y and z. Then shares a triangle in with and . In other words, and are all in the same layer; and they are contained in a subgraph in that layer. The vertex set triangle consists of two edges incident to and the edge . Thus this triangle is not counted by the first set of partitions. This holds for any number of triangles in H that contain , and counts all of them by its definition.
(3) One edge, one spider edge, one spider edge:
For , let y be a neighbor of in . For all vertices z in that are also adjacent to y due to operator , there exist paths. As these paths involve one edge, then the number of these paths for each such neighbor depends on and on . The total number of these triangles is determined by resulting in of these subgraphs that distinctly include .
(4) Two spider edges and one spider edge:
Now let and z be vertices in G where set forms a triangle in G and is in . Then there exists a subgraph in that contains vertices and . Thus, vertex has spider edges to not only and but also to all vertices in layers and . For any spider edge to a neighbor in , that neighbor has a spider edge to a vertex in that is adjacent to . Hence, a path exists for each vertex in . Each path traces a subgraph formed from two spider edges plus one spider edge to so all H layer edges are excluded. There are number of vertices, each of which has number of spider edges to the vertices in , and each is distinct from the others and distinct from the to spider edge. As all previous counts contained at least one H layer edge, these number of triangles are not previously counted by the other terms in equation 3. For a specific vertex in G, if is in more than one triangle in G, then in equation (3) counts the additional triangles in the product graph.
Concerning any vertex , there are number of edges in triangles with that are counted in partition (1). Vertex has incident spider edges, all of which are counted in partitions (1), (3) and (4). There are neighbors of , all of whose spider edges to other vertices in are counted. The number of factor graph triangles that include and are counted. If an edge e has been missed, then e must be in a G layer but not in a triangle in that layer, all of which are counted by equation (3). Therefore, . □
4. Clustering Coefficient for Lexicographic Product
We now address the clustering measures for . Equation (4) gives the clustering coefficient for while equation (5) presents the utilizing vertex partitions.
Consider that has average clustering coefficient of zero. As is the unit for the lexicographic product, then for any , product (or due to commutativity of ) results in . This produces the vertex clustering coefficient and average clustering coefficient of . When , which has . Thus .
For , allowing both equality and inequality of and , it is a fact that all result in . Thus when . However, take note that produces . Although , this product results in with . In fact, for any where , even though , .
Now contemplate , the graph of isolated vertices, and its lexicographic product with , where equality of the orders is permitted. As no edges exist, the definition of lexicographic product fails to generate edges in . Hence, . Also note that .
The proof of the following theorem is found in the definition of clustering coefficient given by equation (1) and the proof of equation (3), plus the fact that the maximum inclusion number is .
Theorem 2.
Suppose G and H are both simple graphs. Then the vertex clustering coefficient of any vertex in is:
▪
Based on the definition of the average clustering coefficient, we give Theorem 3 without proof.
Theorem 3.
For finite and simple graphs G and H, the average clustering coefficient of with order over all vertices is:
▪
References
- F. Berger (2004) Minimum Cycle Bases of Graphs. Dissertation, Technische Universität München.
- G. Chartrand, L. Lesniak, P. Zhang (2016) Graphs & Digraphs, 6th Ed.. DCRC Press, Boca Raton, FL.
- R. J. M. Demalerio, R. G. Eballe (2022) Global clustering coefficient of the products of complete graphs. Asian Research Jrnl. of math. v.18(6). 62-69. [CrossRef]
- R. J. M. Demalerio, R. G. Eballe (2022) Clustering coefficient of the tensor product of graphs. Asian Research Jrnl. of math. v.18(6). 36-42. [CrossRef]
- R. Hammack, W. Imrich, S. Klavžar (2011) Handbook of Product Graphs, 2nd Ed.. CRC Press, Boca Raton, FL.
- F. Harary (1959) On the group of the composition of two graphs. Duke Math. Jrnl. v.26(1) March. 29-34.
- P.W. Holland, S. Leinhardt (1971) Transitivity in structural models of small groups. Comparative Group Studies v.2(2). p.107-124. [CrossRef]
- M. Hellmuth, P.J. Ostermeier, P.F. Stadler (2012) Minimum cycle bases of lexicographic products. ARS Math. Contemporanea. https://amc-journal.eu. 223-234.
- M. M. M. Jaradat (2008) Minimal cycle bases product of graphs. Discuss. Math., Graph Theory v.28. 229-247. [CrossRef]
- A. Kaveh, R. Mirzaie (2008) Minimal cycle bases of graph products for the forced method of frame analysis. Commun. Numer. Methods Eng. v.24. 653-669. [CrossRef]
- F. Li (2020) On forwarding indices of lexicographic product networks. Concurrency and computation 32(23). [CrossRef]
- M. Newman (2018) Networks, 2nd Ed.. Oxford Univ. Press, Oxford, United Kingdom.
- G. Sabidussi (1959) The composition of graphs. Duke Math. Jrnl. v.26(4) December. 693-696.
- S. Strogatz, D.J. Watts (1998) Collective dynamics of ’small-world’ networks. Nature 393(6684). 440–442. [CrossRef]
Figure 1.
and showing noncommutativity of lexicographic product.

Figure 2.
with four subgraph partition examples for only vertex 11.

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. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.