GraphBaseTVertex, TEdgeValidateVertexForAddition Method |
Validates if the vertex passed in is addable to this graph structure.
Namespace:
SD.Tools.Algorithmia.Graphs
Assembly:
SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.3.0.0 (1.3.17.0314)
Syntax protected virtual bool ValidateVertexForAddition(
TVertex vertexToAdd
)
Protected Overridable Function ValidateVertexForAddition (
vertexToAdd As TVertex
) As Boolean
Parameters
- vertexToAdd
- Type: TVertex
The vertex to validate.
Return Value
Type:
Booleantrue if the vertex can be added, false otherwise. Returning false results in the vertex not being added
See Also