Show / Hide Table of Contents

    Interface ITraversal<T>

    A graph traversal algorithm.

    Namespace: Virtlink.Utilib.Collections.Graphs
    Assembly: Virtlink.Utilib.dll
    Syntax
    public interface ITraversal<T>
    Type Parameters
    Name Description
    T

    Methods

    | Improve this Doc View Source

    Traverse(T)

    Traverses the graph, starting at the specified root.

    Declaration
    IEnumerable<T> Traverse(T root)
    Parameters
    Type Name Description
    T root

    The root at which to start the traversal.

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<T>

    An enumerable sequence of nodes.

    • Improve this Doc
    • View Source
    Back to top Copyright - Daniel Pelsmaeker