Click or drag to resize
EdgeWeightedDigraph Constructor (Int32, Int32)
Initializes a random edge-weighted digraph with V vertices and E edges.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public EdgeWeightedDigraph(
	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