Nevron Open Vision Documentation
Nevron.Nov.DataStructures Namespace / NGraph Class / BreadthFirstTraversal Method
specifies the graph type
visitor to use
vertex from which to start the traversal


In This Topic
    BreadthFirstTraversal Method (NGraph)
    In This Topic
    Performs a breath first traversal visiting of the graph parts in this graph, starting from the specified vertex
    Syntax
    'Declaration
     
    
    Public Overridable Sub BreadthFirstTraversal( _
       ByVal graphType As ENGraphType, _
       ByVal visitor As NGraphPartVisitor, _
       ByVal startVertex As NGraphVertex _
    ) 
    'Usage
     
    
    Dim instance As NGraph
    Dim graphType As ENGraphType
    Dim visitor As NGraphPartVisitor
    Dim startVertex As NGraphVertex
     
    instance.BreadthFirstTraversal(graphType, visitor, startVertex)
    public virtual void BreadthFirstTraversal( 
       ENGraphType graphType,
       NGraphPartVisitor visitor,
       NGraphVertex startVertex
    )

    Parameters

    graphType
    specifies the graph type
    visitor
    visitor to use
    startVertex
    vertex from which to start the traversal
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also