A Sandcastle Documented Class Library
A Sandcastle Documented Class Library
GraphLibrary
Centrality Class
Centrality Methods
DegreeCentrality Method
DegreeCentrality Method (BaseGraph)
DegreeCentrality Method (BaseGraph, Int32)
Centrality
DegreeCentrality Method (BaseGraph)
Computes degree centrality for all nodes.
Namespace:
GraphLibrary
Assembly:
GraphLibrary (in GraphLibrary.dll) Version: 1.0.1
Syntax
C#
Copy
public
Dictionary
<
int
,
int
>
DegreeCentrality
(
BaseGraph
graph
)
Parameters
graph
Type:
GraphLibrary.Graphs
BaseGraph
BaseGraph graph.
Return Value
Type:
Dictionary
Int32
,
Int32
Dictionary of node and its degree centrality.
See Also
Reference
Centrality Class
DegreeCentrality Overload
GraphLibrary Namespace