Algs4Net Class Library Documentation
Algs4Net Class Library Documentation
Algs4Net
AdjMatrixEdgeWeightedDigraph Class
AdjMatrixEdgeWeightedDigraph Constructor
AdjMatrixEdgeWeightedDigraph Constructor (Int32)
AdjMatrixEdgeWeightedDigraph Constructor (TextInput)
AdjMatrixEdgeWeightedDigraph Constructor (Int32, Int32)
AdjMatrixEdgeWeightedDigraph 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#
Copy
public
AdjMatrixEdgeWeightedDigraph
(
int
V
,
int
E
)
Parameters
V
Type:
System
Int32
the number of vertices
E
Type:
System
Int32
the number of edges
Exceptions
Exception
Condition
ArgumentException
if
V
< 0
ArgumentException
if
E
< 0
See Also
Reference
AdjMatrixEdgeWeightedDigraph Class
AdjMatrixEdgeWeightedDigraph Overload
Algs4Net Namespace