gives a list of k-mean degree connectivity for the graph g for successive k=0,1,2… .
MeanDegreeConnectivity[g,"In"]
gives a list of k-mean in-degree connectivity for the graph g.
MeanDegreeConnectivity[g,"Out"]
gives a list of k-mean out-degree connectivity for the graph g.
MeanDegreeConnectivity[{vw,…},…]
uses rules vw to specify the graph g.
MeanDegreeConnectivity
gives a list of k-mean degree connectivity for the graph g for successive k=0,1,2… .
MeanDegreeConnectivity[g,"In"]
gives a list of k-mean in-degree connectivity for the graph g.
MeanDegreeConnectivity[g,"Out"]
gives a list of k-mean out-degree connectivity for the graph g.
MeanDegreeConnectivity[{vw,…},…]
uses rules vw to specify the graph g.
Details
- The mean degree connectivity is also known as average degree connectivity and average nearest neighbor degree.
- The k-mean degree connectivity is the average of the mean neighbor degrees of vertices of degree k.
- MeanDegreeConnectivity[g] returns a list {m0,m1,…,md}, where mk is the k-mean degree connectivity and d is the maximum vertex degree in g.
- MeanDegreeConnectivity works with undirected graphs, directed graphs, weighted graphs, multigraphs, and mixed graphs.
Examples
open all close allBasic Examples (2)
Scope (8)
MeanDegreeConnectivity works with undirected graphs:
MeanDegreeConnectivity[[image]]MeanDegreeConnectivity[[image]]MeanDegreeConnectivity[[image]]MeanDegreeConnectivity[[image]]MeanDegreeConnectivity[[image]]Use rules to specify the graph:
MeanDegreeConnectivity[{1 -> 2, 3 -> 1, 3 -> 2, 2 -> 3, 2 -> 4, 3 -> 4}]Compute the mean in- and out-degree connectivity:
MeanDegreeConnectivity[[image], "In"]MeanDegreeConnectivity[[image], "Out"]MeanDegreeConnectivity works with large graphs:
g = RandomGraph[{10 ^ 4, 10 ^ 5}];MeanDegreeConnectivity[g]//Shallow//TimingProperties & Relations (1)
MeanDegreeConnectivity[g][[k+1]] gives the k-mean degree connectivity:
g = CompleteGraph[{2, 4, 3}, VertexShapeFunction -> "Name"]MeanDegreeConnectivity[g][[8]]It is a mean of MeanNeighborDegree:
Mean[MeanNeighborDegree[g][[Table[VertexIndex[g, v], {v, {1, 2}}]]]]Related Guides
Text
Wolfram Research (2012), MeanDegreeConnectivity, Wolfram Language function, https://reference.wolfram.com/language/ref/MeanDegreeConnectivity.html (updated 2015).
CMS
Wolfram Language. 2012. "MeanDegreeConnectivity." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2015. https://reference.wolfram.com/language/ref/MeanDegreeConnectivity.html.
APA
Wolfram Language. (2012). MeanDegreeConnectivity. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MeanDegreeConnectivity.html
BibTeX
@misc{reference.wolfram_2026_meandegreeconnectivity, author="Wolfram Research", title="{MeanDegreeConnectivity}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/MeanDegreeConnectivity.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_meandegreeconnectivity, organization={Wolfram Research}, title={MeanDegreeConnectivity}, year={2015}, url={https://reference.wolfram.com/language/ref/MeanDegreeConnectivity.html}, note=[Accessed: 13-June-2026]}