Click or drag to resize

GraphBaseTVertex, TEdgeValidateEdgeForRemoval Method

Validates if the edge passed in is removable from this graph structure. The start vertex and the end vertex for the are given as well. The same edge is present between startVertex and endVertex and also between endVertex and startVertex if the graph is a nondirected graph, hence the necessity of these two vertices in this routine

Namespace:  SD.Tools.Algorithmia.Graphs
Assembly:  SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.4.0.0 (1.4.19.0711)
Syntax
protected virtual bool ValidateEdgeForRemoval(
	TEdge edgeToRemove,
	TVertex startVertex,
	TVertex endVertex
)

Parameters

edgeToRemove
Type: TEdge
The edge to remove.
startVertex
Type: TVertex
The start vertex the edge is starting from.
endVertex
Type: TVertex
The end vertex the edge is leading to.

Return Value

Type: Boolean
true if the edge can be removed, false otherwise. Returning false results in the edge not being removed
See Also