AdjMatrixEdgeWeightedDigraph Constructor |
Name | Description | |
---|---|---|
![]() | AdjMatrixEdgeWeightedDigraph(Int32) |
Initializes an empty edge-weighted digraph with V vertices and 0 edges. |
![]() | AdjMatrixEdgeWeightedDigraph(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. |
![]() | AdjMatrixEdgeWeightedDigraph(Int32, Int32) |
Initializes a random edge-weighted digraph with V vertices and E edges. |