Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSCommon > GGraph > Classes > TGCustomGraph > Methods

TGCustomGraph.DepthFirstSearch(TGGraphNode) Method

Scroll Prev Top Next More

Searches the graph for all nodes reachable from ANode. The method marks every node reachable with    Visited = True. The method searches the graph using a depth first search.

The    InitializeNodes method must be called to initialize the graph before performing your search. The method    TraverseFrom combines calls to these two methods.
 

Namespace: GGraph

Parameters

ANode

Type: TGGraphNode

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb