DepthFirstSearchCrawlerTVertex, TEdge Constructor |
Namespace: SD.Tools.Algorithmia.GraphsAssembly: SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.2.0.0 (1.2.14.1118)
Syntax protected DepthFirstSearchCrawler(
GraphBase<TVertex, TEdge> graphToCrawl,
bool detectCycles
)
Protected Sub New (
graphToCrawl As GraphBase(Of TVertex, TEdge),
detectCycles As Boolean
)
Parameters
- graphToCrawl
- Type: SD.Tools.Algorithmia.GraphsGraphBaseTVertex, TEdge
The graph to crawl. - detectCycles
- Type: SystemBoolean
if set to true, the crawler will notify derived classes that a cycle has been detected if the graph to crawl is a
directed graph, as cycles in directed graphs influence algorithms which work with directed graphs.
See Also