'Declaration
Public Overridable Function CreateDepthFirstSpanningTree( _ ByVal graphType As ENGraphType, _ ByVal startVertex As NGraphVertex _ ) As NTreeGraph
'Usage
Dim instance As NGraph Dim graphType As ENGraphType Dim startVertex As NGraphVertex Dim value As NTreeGraph value = instance.CreateDepthFirstSpanningTree(graphType, startVertex)
public virtual NTreeGraph CreateDepthFirstSpanningTree( ENGraphType graphType, NGraphVertex startVertex )
Parameters
- graphType
- graph type
- startVertex
- vertex from which to start the traversal
Return Value
depth first spanning tree