GraphTheory
GlobalClusteringCoefficient
compute the global clustering coefficient
Calling Sequence
Parameters
Description
Examples
Compatibility
GlobalClusteringCoefficient(G)
G
-
graph
GlobalClusteringCoefficient returns the global clustering coefficient for the given graph G.
The global clustering coefficient is a number between 0 and 1 measuring how close the graph G is to a complete graph.
with⁡GraphTheory:
Compute the global clustering coefficient for a specified graph.
G≔Graph⁡1,2,3,4,5,6,1,3,1,6,2,4,2,6,3,6,4,5,4,6,5,6
G≔Graph 1: an undirected graph with 6 vertices and 8 edge(s)
DrawGraph⁡G
GlobalClusteringCoefficient⁡G
917
The GraphTheory[GlobalClusteringCoefficient] command was introduced in Maple 2016.
For more information on Maple 2016 changes, see Updates in Maple 2016.
See Also
LocalClusteringCoefficient
Download Help Document