Click or drag to resize
FlowEdgeAddResidualFlowTo Method
Increases the flow on the edge in the direction to the given vertex. If vertex is the tail vertex, this increases the flow on the edge by delta; if vertex is the head vertex, this decreases the flow on the edge by delta.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void AddResidualFlowTo(
	int vertex,
	double delta
)

Parameters

vertex
Type: SystemInt32
one endpoint of the edge
delta
Type: SystemDouble
the residual flow
Exceptions
ExceptionCondition
ArgumentExceptionif vertex is not one of the endpoints of the edge
ArgumentExceptionif delta makes the flow on on the edge either negative or larger than its capacity
ArgumentExceptionif delta is NaN
See Also