compute degree centrality
(optional) a vertex of G
DegreeCentrality returns the degree centrality for a specified vertex in the given graph G, or if no vertex is specified, returns a list of the degree centralities for each vertex in G.
The degree centrality of a vertex v is simply the normalized degree of v; that is, the degree of v divided by NumberOfVertices(G)-1.
Compute the degree centrality for a specified graph.
G≔Graph 1: an undirected unweighted graph with 6 vertices and 8 edge(s)
The GraphTheory[DegreeCentrality] command was introduced in Maple 2020.
For more information on Maple 2020 changes, see Updates in Maple 2020.
Download Help Document
What kind of issue would you like to report? (Optional)