DepthFirstSearchCrawlerTVertex, TEdge Constructor |
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 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