Algs4Net Class Library Documentation
Algs4Net Class Library Documentation
Algs4Net
EdgeWeightedGraph Class
EdgeWeightedGraph Constructor
EdgeWeightedGraph Constructor (Int32)
EdgeWeightedGraph Constructor (TextInput)
EdgeWeightedGraph Constructor (Int32, Int32)
EdgeWeightedGraph Constructor (Int32, Int32)
Initializes a random edge-weighted graph 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
EdgeWeightedGraph
(
int
V
,
int
E
)
Parameters
V
Type:
System
Int32
V the number of vertices
E
Type:
System
Int32
E the number of edges
Exceptions
Exception
Condition
ArgumentException
if
V
< 0
ArgumentException
if
E
< 0
See Also
Reference
EdgeWeightedGraph Class
EdgeWeightedGraph Overload
Algs4Net Namespace