Class PushRelabelMaxFlow<T, W>
A Push-Relabel algorithm implementation.
Inheritance
PushRelabelMaxFlow<T, W>
Assembly: Advanced.Algorithms.dll
Syntax
public class PushRelabelMaxFlow<T, W>
where W : IComparable
Type Parameters
Constructors
PushRelabelMaxFlow(IFlowOperators<W>)
Declaration
public PushRelabelMaxFlow(IFlowOperators<W> operators)
Parameters
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
Returns