FlowEdgeResidualCapacityTo Method |
Returns the residual capacity of the edge in the direction
to the given vertex.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic double ResidualCapacityTo(
int vertex
)
Parameters
- vertex
- Type: SystemInt32
one endpoint of the edge
Return Value
Type:
Doublethe 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
See Also