Show / Hide Table of Contents

    Class BellmanFordShortestPath<T, W>

    A Bellman Ford algorithm implementation.

    Inheritance
    Object
    BellmanFordShortestPath<T, W>
    Namespace: Advanced.Algorithms.Graph
    Assembly: Advanced.Algorithms.dll
    Syntax
    public class BellmanFordShortestPath<T, W> : object where W : IComparable
    Type Parameters
    Name Description
    T
    W

    Constructors

    BellmanFordShortestPath(IShortestPathOperators<W>)

    Declaration
    public BellmanFordShortestPath(IShortestPathOperators<W> operator)
    Parameters
    Type Name Description
    IShortestPathOperators<W> operator

    Methods

    FindShortestPath(IDiGraph<T>, T, T)

    Find shortest distance to target.

    Declaration
    public ShortestPathResult<T, W> FindShortestPath(IDiGraph<T> graph, T source, T destination)
    Parameters
    Type Name Description
    IDiGraph<T> graph
    T source
    T destination
    Returns
    Type Description
    ShortestPathResult<T, W>
    Back to top Generated by DocFX