Click or drag to resize
FlowEdgeResidualCapacityTo Method
Returns the residual capacity of the edge in the direction to the given vertex.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public double ResidualCapacityTo(
	int vertex
)

Parameters

vertex
Type: SystemInt32
one endpoint of the edge

Return Value

Type: Double
the residual capacity of the edge in the direction to the given vertex; If vertex is the tail vertex, the residual capacity equals Capacity - Flow; if vertex is the head vertex, the residual capacity equals Flow.
Exceptions
ExceptionCondition
ArgumentExceptionif vertex is not one of the endpoints of the edge
See Also