| EdgeWeightedGraph Constructor | 
| Name | Description | |
|---|---|---|
| EdgeWeightedGraph(Int32) | 
             Initializes an empty edge-weighted graph with V vertices and 0 edges.  | |
| EdgeWeightedGraph(TextInput) | 
             Initializes an edge-weighted graph from an 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.  | |
| EdgeWeightedGraph(Int32, Int32) | 
             Initializes a random edge-weighted graph with V vertices and E edges.  |