DisconnectedGraphsFinderTVertex, TEdge Class |
Namespace: SD.Tools.Algorithmia.Graphs.Algorithms
public class DisconnectedGraphsFinder<TVertex, TEdge> : RootDetector<TVertex, TEdge> where TEdge : class, Object, IEdge<TVertex>
The DisconnectedGraphsFinderTVertex, TEdge type exposes the following members.
Name | Description | |
---|---|---|
DisconnectedGraphsFinderTVertex, TEdge |
Initializes a new instance of the DisconnectedGraphsFinderTVertex, TEdge class.
|
Name | Description | |
---|---|---|
AbortCrawl |
Sets the abortCrawl flag which will abort the crawl of the graph.
(Inherited from DepthFirstSearchCrawlerTVertex, TEdge.) | |
FoundDisconnectedGraphs |
Gets the disconnected graphs found;
| |
RootsFound |
Gets the roots found.
(Inherited from RootDetectorTVertex, TEdge.) |
Name | Description | |
---|---|---|
Crawl |
Crawls the graph set as the graphToCrawl in the constructor. It picks the first vertex in the graph to start.
(Inherited from DepthFirstSearchCrawlerTVertex, TEdge.) | |
Crawl(TVertex) |
Crawls the graph set as the graphToCrawl in the constructor, starting with the vertex specified. If the vertex isn't in the graph, the routine is a no-op
(Inherited from DepthFirstSearchCrawlerTVertex, TEdge.) | |
CycleDetected |
A cycle has been detected in a directed graph. This method is called to signal derived classes that the cycle has been detected, as the derived class
ordered this class to signal it if cycles were detected. Cycle checks are only performed on directed graphs.
(Inherited from DepthFirstSearchCrawlerTVertex, TEdge.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FindDisconnectedGraphs |
Finds the disconnected graphs.
| |
FindDisconnectedGraphs(TVertex, Boolean) |
Finds the disconnected graphs.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnVisited |
Called when the vertexVisited was visited over the edges specified. This method is called right after all vertices related to vertexVisited were visited.
(Inherited from DepthFirstSearchCrawlerTVertex, TEdge.) | |
OnVisiting |
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.
(Overrides DepthFirstSearchCrawlerTVertex, TEdgeOnVisiting(TVertex, HashSetTEdge).) | |
RootDetected |
Signal the detection of a root vertex that has been visited by the crawler.
(Overrides RootDetectorTVertex, TEdgeRootDetected(TVertex).) | |
SearchForRoots |
Searches for roots within the graph
(Inherited from RootDetectorTVertex, TEdge.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |