Click or drag to resize

GraphBaseTVertex, TEdgeContainsEdge Method

Returns whether an edge exists in this graph between the start vertex and the end vertex specified.

Namespace:  SD.Tools.Algorithmia.Graphs
Assembly:  SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.4.0.0 (1.4.19.0711)
Syntax
public bool ContainsEdge(
	TVertex startVertex,
	TVertex endVertex
)

Parameters

startVertex
Type: TVertex
The start vertex.
endVertex
Type: TVertex
The end vertex.

Return Value

Type: Boolean
True if there is an edge in this graph from startVertex to endVertex. False otherwise.
Remarks
If this graph is a directed graph, it will return false if there is an edge between endVertex and startVertex but not between startVertex and endVertex
See Also