Click or drag to resize

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.4.0.0 (1.4.19.0711)
Syntax
protected virtual void OnVisiting(
	TVertex vertexVisited,
	HashSet<TEdge> edges
)

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