|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
DegreeCentrality
DegreeCentrality[g]
gives a list of vertex degrees for the vertices in the underlying simple graph of g.
DegreeCentrality[g, "In"]
gives a list of vertex in-degrees.
DegreeCentrality[g, "Out"]
gives a list of vertex out-degrees.
DetailsDetails
- DegreeCentrality will give high centralities to vertices that have high vertex degrees.
- The vertex degree for a vertex
is the number of edges incident to
. - For a directed graph, the in-degree is the number of incoming edges and the out-degree is the number of outgoing edges.
- For an undirected graph, in-degree and out-degree coincide.
New in 8
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »

