Show / Hide Table of Contents

    Class GraphVertex<T>

    Graph vertex for adjacency list Graph implementation. IEnumerable enumerates all the outgoing edge destination vertices.

    Inheritance
    Object
    GraphVertex<T>
    Implements
    IGraphVertex<T>
    Namespace: Advanced.Algorithms.DataStructures.Graph.AdjacencyList
    Assembly: Advanced.Algorithms.dll
    Syntax
    public class GraphVertex<T> : IEnumerable<T>, IGraphVertex<T>
    Type Parameters
    Name Description
    T

    Constructors

    GraphVertex(T)

    Declaration
    public GraphVertex(T value)
    Parameters
    Type Name Description
    T value

    Properties

    Edges

    Declaration
    public HashSet<GraphVertex<T>> Edges { get; set; }
    Property Value
    Type Description
    HashSet<GraphVertex<T>>

    Key

    Declaration
    public T Key { get; set; }
    Property Value
    Type Description
    T

    Methods

    GetEdge(IGraphVertex<T>)

    Declaration
    public IEdge<T> GetEdge(IGraphVertex<T> targetVertex)
    Parameters
    Type Name Description
    IGraphVertex<T> targetVertex
    Returns
    Type Description
    IEdge<T>

    GetEnumerator()

    Declaration
    public IEnumerator<T> GetEnumerator()
    Returns
    Type Description
    IEnumerator<T>

    Implements

    IGraphVertex<>
    Back to top Generated by DocFX