Click or drag to resize
EdgeWeightedDigraph Constructor
Overload List
  NameDescription
Public methodEdgeWeightedDigraph(Int32)
Initializes an empty edge-weighted digraph with V vertices and 0 edges.
Public methodEdgeWeightedDigraph(EdgeWeightedDigraph)
Initializes a new edge-weighted digraph that is a deep copy of G.
Public methodEdgeWeightedDigraph(TextInput)
Initializes an edge-weighted digraph from a text input stream. The format is the number of vertices V, followed by the number of edges E, followed by E pairs of vertices and edge weights, with each entry separated by whitespace.
Public methodEdgeWeightedDigraph(Int32, Int32)
Initializes a random edge-weighted digraph with V vertices and E edges.
Top
See Also