FlowNetwork Constructor (Int32, Int32) |
Initializes a random flow network with V vertices and E edges.
The capacities are integers between 0 and 99 and the flow values are zero.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public FlowNetwork(
int V,
int E
)
Parameters
- V
- Type: SystemInt32
the number of vertices - E
- Type: SystemInt32
the number of edges
Exceptions See Also