Show / Hide Table of Contents

    Class PushRelabelMaxFlow<T, W>

    A Push-Relabel algorithm implementation.

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

    Constructors

    PushRelabelMaxFlow(IFlowOperators<W>)

    Declaration
    public PushRelabelMaxFlow(IFlowOperators<W> operator)
    Parameters
    Type Name Description
    IFlowOperators<W> operator

    Methods

    ComputeMaxFlow(IDiGraph<T>, T, T)

    Computes Max Flow using Push-Relabel algorithm.

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