Digraph Constructor |
Name | Description | |
---|---|---|
![]() | Digraph(Int32) | Initializes an empty digraph with V vertices. |
![]() | Digraph(Digraph) |
Initializes a new digraph that is a deep copy of the specified digraph. |
![]() | Digraph(TextInput) |
Initializes a digraph from the text input stream.
The format is the number of vertices V,
followed by the number of edges E,
followed by E pairs of vertices, with each entry separated by whitespace. |