Click or drag to resize
FlowNetwork Constructor (TextInput)
Initializes a flow network from an input stream. The format is the number of vertices V, followed by the number of edges E, followed by E pairs of vertices and edge capacities, with each entry separated by whitespace.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public FlowNetwork(
	TextInput input
)

Parameters

input
Type: Algs4NetTextInput
in the input stream
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionif the endpoints of any edge are not in prescribed range
ArgumentExceptionif the number of vertices or edges is negative
See Also