Click or drag to resize
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: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public FlowNetwork(
	int V,
	int E
)

Parameters

V
Type: SystemInt32
the number of vertices
E
Type: SystemInt32
the number of edges
Exceptions
ExceptionCondition
ArgumentExceptionif V < 0
ArgumentExceptionif E < 0
See Also