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, Int32)
Computes degree centrality for one node.
Namespace:
GraphLibrary
Assembly:
GraphLibrary (in GraphLibrary.dll) Version: 1.0.1
Syntax
C#
Copy
public
float
DegreeCentrality
(
BaseGraph
graph
,
int
node
)
Parameters
graph
Type:
GraphLibrary.Graphs
BaseGraph
BaseGraph graph.
node
Type:
System
Int32
Return Value
Type:
Single
Returns node's degree centrality.
See Also
Reference
Centrality Class
DegreeCentrality Overload
GraphLibrary Namespace