DepthFirstSearchCrawlerTVertex, TEdgeOnVisiting Method |
Called when the vertexToVisit is about to be visited over the edges specified. This method is called right before all vertices related to vertexToVisit
are visited.
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 void OnVisiting(
TVertex vertexVisited,
HashSet<TEdge> edges
)
Protected Overridable Sub OnVisiting (
vertexVisited As TVertex,
edges As HashSet(Of TEdge)
)
Parameters
- vertexVisited
- Type: TVertex
The vertex currently visited - edges
- Type: System.Collections.GenericHashSetTEdge
The edges usable to visit vertexToVisit. Can be null, in which case the vertex was visited without using an edge (which would mean
the vertex is a tree root, or the start vertex.)
See Also