Click or drag to resize

ClusteringClusteringCoefficient Method

Compute the clustering coefficient for nodes. Implemented only for unweighted and undirected graphs.

Namespace:  GraphLibrary
Assembly:  GraphLibrary (in GraphLibrary.dll) Version: 1.0.1
Syntax
C#
public Dictionary<int, double> ClusteringCoefficient(
	BaseGraph graph,
	List<int> nodes = null
)

Parameters

graph
Type: GraphLibrary.GraphsBaseGraph
Basegraph graph.
nodes (Optional)
Type: System.Collections.GenericListInt32
List of nodes - optional.

Return Value

Type: DictionaryInt32, Double
Dictionary of clustering coefficients at specified nodes.
See Also