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: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public FlowNetwork(
TextInput input
)
Parameters
- input
- Type: Algs4NetTextInput
in the input stream
Exceptions See Also