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.3.3.0 (1.3.18.0209)
Syntax public bool ContainsEdge(
TVertex startVertex,
TVertex endVertex
)
Public Function ContainsEdge (
startVertex As TVertex,
endVertex As TVertex
) As Boolean
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