Nevron .NET Vision
Nevron.Diagram.DataStructures Namespace / NGraph Class / CreateBreadthFirstSpanningTree Method
graph type
vertex from which to start the traversal


In This Topic
    CreateBreadthFirstSpanningTree Method
    In This Topic
    Creates a breadth first spanning tree, by starting the traversal from the specified vertex
    Syntax
    'Declaration
     
    
    Public Overridable Function CreateBreadthFirstSpanningTree( _
       ByVal graphType As GraphType, _
       ByVal startVertex As NGraphVertex _
    ) As NTree
    'Usage
     
    
    Dim instance As NGraph
    Dim graphType As GraphType
    Dim startVertex As NGraphVertex
    Dim value As NTree
     
    value = instance.CreateBreadthFirstSpanningTree(graphType, startVertex)
    public virtual NTree CreateBreadthFirstSpanningTree( 
       GraphType graphType,
       NGraphVertex startVertex
    )

    Parameters

    graphType
    graph type
    startVertex
    vertex from which to start the traversal

    Return Value

    breadth first spanning tree
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also