GraphTheory
RichClubCoefficients
compute rich club coefficients
Calling Sequence
Parameters
Options
Description
Definition
Examples
References
Compatibility
RichClubCoefficients(G,opts)
G
-
graph
opts
(optional) one or more options; see below
datatype = one of double, float[4], float[8], rational
Specifies the datatype of the generated Array. The default is rational.
mixingmultiplier = posint
When normalized is true, mixingmultiplier*numedges edge swaps are performed to generate a random graph for purposes of normalization, where numedges is the number of edges of G, as described in McAuley (see References). If normalized is false, this parameter is ignored. The default is 100.
normalized = truefalse
If the option normalized is specified, then the computed coefficients are normalized against a random graph with the same degree sequence as the input graph G. The default is true.
seed = integer or none
Seed for the random number generator. If an integer is specified, this is equivalent to calling randomize(seed) immediately before invoking this function. If normalized is false this parameter is ignored. The default is none.
RichClubCoefficients(G,opts) computes an Array of rich club coefficients for the given graph G. By default, the coefficients are normalized using a random graph with the same degree sequence as G.
The random number generator used can be seeded using the randomize function or the seed option.
For each non-negative integer k, the (non-normalized) rich club coefficient φ⁡k is defined to be φ⁡k=2⁢EkNk⁢Nk−1 where Nk is the number of vertices with degree greater than k and Ek is the number of edges between these vertices.
The quantity φ⁡k is intended to measure the extent to which well-connected vertices also connect to each other.
with⁡GraphTheory:
Compute the rich club coefficients for a cycle graph
G≔CycleGraph⁡10
G≔Graph 1: an undirected graph with 10 vertices and 10 edge(s)
RichClubCoefficients⁡G
Compute the rich club coefficients for a complete graph
G≔CompleteGraph⁡10
G≔Graph 2: an undirected graph with 10 vertices and 45 edge(s)
Compute the rich club coefficients for a random Barabasi-Albert graph
G≔RandomGraphs:-BarabasiAlbertGraph⁡25,10,seed=1024
G≔Graph 3: an undirected graph with 25 vertices and 150 edge(s)
J. J. McAuley, L. da Fontoura Costa, and T. S. Caetano, “The rich-club phenomenon across complex network hierarchies”, Applied Physics Letters Vol 91 Issue 8, August 2007. https://arxiv.org/abs/physics/0701290, doi:10.1063/1.2773951 R. Milo, N. Kashtan, S. Itzkovitz, M. E. J. Newman, and U. Alon (2006), cond-mat/0312028
The GraphTheory[RichClubCoefficients] command was introduced in Maple 2022.
For more information on Maple 2022 changes, see Updates in Maple 2022.
See Also
DegreeSequence
RandomGraph
Download Help Document