Interface IFlowOperators<W>
Operators to deal with generic Add, Substract etc on edge weights for flow algorithms such as ford-fulkerson algorithm.
Assembly: Advanced.Algorithms.dll
Syntax
public interface IFlowOperators<W>
where W : IComparable
Type Parameters
Properties
defaultWeight
default value for this type W.
Declaration
Property Value
MaxWeight
returns the max for this type W.
Declaration
Property Value
Methods
AddWeights(W, W)
Declaration
Parameters
Type |
Name |
Description |
W |
a |
|
W |
b |
|
Returns
SubstractWeights(W, W)
Declaration
W SubstractWeights(W a, W b)
Parameters
Type |
Name |
Description |
W |
a |
|
W |
b |
|
Returns