Algs4Net Class Library Documentation
Algs4Net Class Library Documentation
Algs4Net
EdgeWeightedDigraph Class
EdgeWeightedDigraph Constructor
EdgeWeightedDigraph Constructor (Int32)
EdgeWeightedDigraph Constructor (EdgeWeightedDigraph)
EdgeWeightedDigraph Constructor (TextInput)
EdgeWeightedDigraph Constructor (Int32, Int32)
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#
Copy
public
EdgeWeightedDigraph
(
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
EdgeWeightedDigraph Class
EdgeWeightedDigraph Overload
Algs4Net Namespace