Show / Hide Table of Contents

    Class WeightedGraphVertex<T, TW>

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

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

    Constructors

    WeightedGraphVertex(T)

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

    Properties

    Edges

    Declaration
    public Dictionary<WeightedGraphVertex<T, TW>, TW> Edges { get; }
    Property Value
    Type Description
    Dictionary<WeightedGraphVertex<T, TW>, TW>

    Value

    Declaration
    public T Value { get; }
    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

    IEnumerable<>
    Back to top Generated by DocFX