Click or drag to resize

CentralityDegreeCentrality Method (BaseGraph, Int32)

Computes degree centrality for one node.

Namespace:  GraphLibrary
Assembly:  GraphLibrary (in GraphLibrary.dll) Version: 1.0.1
Syntax
C#
public float DegreeCentrality(
	BaseGraph graph,
	int node
)

Parameters

graph
Type: GraphLibrary.GraphsBaseGraph
BaseGraph graph.
node
Type: SystemInt32

Return Value

Type: Single
Returns node's degree centrality.
See Also