Click or drag to resize
AdjacencyListWeightedDirectedGraphTHasEdge Method
Checks if there is an edge between two vertices of this graph in O(n), where n is the number of adjacent vertices of the first one.

Namespace: Slash.Collections.Graphs
Assembly: Slash.Collections (in Slash.Collections.dll) Version: 1.0.6018.40177
Syntax
public bool HasEdge(
	T firstNode,
	T secondNode
)

Parameters

firstNode
Type: T
First vertex to check.
secondNode
Type: T
Second vertex to check.

Return Value

Type: Boolean
True if there is an edge, and false otherwise.

Implements

IWeightedGraphTHasEdge(T, T)
See Also