Click or drag to resize
AdjacencyListWeightedDirectedGraphTDegree Method
Returns the degree of the given vertex, in other words the number of adjacent vertices, in O(1).

Namespace: Slash.Collections.Graphs
Assembly: Slash.Collections (in Slash.Collections.dll) Version: 1.0.6018.40177
Syntax
public int Degree(
	T node
)

Parameters

node
Type: T
Vertex to get the degree of.

Return Value

Type: Int32
Degree of the vertex.

Implements

IWeightedGraphTDegree(T)
See Also