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.2.0.0 (1.2.16.0406)
Syntax protected virtual bool ValidateEdgeForRemoval(
TEdge edgeToRemove,
TVertex startVertex,
TVertex endVertex
)
Protected Overridable Function ValidateEdgeForRemoval (
edgeToRemove As TEdge,
startVertex As TVertex,
endVertex As TVertex
) As Boolean
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:
Booleantrue if the edge can be removed, false otherwise. Returning false results in the edge not being removed
See Also