Click or drag to resize

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

Parameters

vertexVisited
Type: TVertex
The vertex currently visited
edges
Type: System.Collections.Generic.HashSet<TEdge>
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