Show / Hide Table of Contents

    Interface IFlowOperators<W>

    Operators to deal with generic Add, Substract etc on edge weights for flow algorithms such as ford-fulkerson algorithm.

    Namespace: Advanced.Algorithms.Graph
    Assembly: Advanced.Algorithms.dll
    Syntax
    public interface IFlowOperators<W>
        where W : IComparable
    Type Parameters
    Name Description
    W

    Properties

    defaultWeight

    default value for this type W.

    Declaration
    W defaultWeight { get; }
    Property Value
    Type Description
    W

    MaxWeight

    returns the max for this type W.

    Declaration
    W MaxWeight { get; }
    Property Value
    Type Description
    W

    Methods

    AddWeights(W, W)

    add two weights.

    Declaration
    W AddWeights(W a, W b)
    Parameters
    Type Name Description
    W a
    W b
    Returns
    Type Description
    W

    SubstractWeights(W, W)

    substract b from a.

    Declaration
    W SubstractWeights(W a, W b)
    Parameters
    Type Name Description
    W a
    W b
    Returns
    Type Description
    W
    Back to top Generated by DocFX