| EdgeWeightedDigraph Constructor |
| Name | Description | |
|---|---|---|
| EdgeWeightedDigraph(Int32) |
Initializes an empty edge-weighted digraph with V vertices and 0 edges. | |
| EdgeWeightedDigraph(EdgeWeightedDigraph) |
Initializes a new edge-weighted digraph that is a deep copy of G. | |
| EdgeWeightedDigraph(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. | |
| EdgeWeightedDigraph(Int32, Int32) |
Initializes a random edge-weighted digraph with V vertices and E edges. |