Show / Hide Table of Contents

    Class PushRelabelMaxFlow<T, W>

    A Push-Relabel algorithm implementation.

    Inheritance
    Object
    PushRelabelMaxFlow<T, W>
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Advanced.Algorithms.Graph
    Assembly: Advanced.Algorithms.dll
    Syntax
    public class PushRelabelMaxFlow<T, W>
        where W : IComparable
    Type Parameters
    Name Description
    T
    W

    Constructors

    PushRelabelMaxFlow(IFlowOperators<W>)

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

    Methods

    ComputeMaxFlow(WeightedDiGraph<T, W>, T, T)

    Computes Max Flow using Push-Relabel algorithm.

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