Click or drag to resize

ClusteringGeneralizedDegree Method

Compute the generalized degree for nodes. For each node, the generalized degree shows how many edges of given triangle multiplicity the node is connected to.The triangle multiplicity of an edge is the number of triangles an edge participates in.

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

Parameters

graph
Type: GraphLibrary.GraphsBaseGraph
BaseGraph graph.
nodes (Optional)
Type: System.Collections.GenericListInt32
List of nodes.

Return Value

Type: DictionaryInt32, ListInt32
Generalized degree of specified nodes. The Counter is keyed by edge triangle multiplicity.
See Also