| FlowNetwork Methods |
The FlowNetwork type exposes the following members.
| Name | Description | |
|---|---|---|
| AddEdge |
Adds the edge e to the network. | |
| Adj |
Returns the edges incident on vertex v (includes both edges pointing to
and from v). | |
| Edges |
Returns all edges in this edge-weighted graph, excludeing self loops.
To iterate over the edges in this edge-weighted graph, use foreach notation:
foreach (Edge e in G.Edges()). | |
| MainTest |
Demo test the FlowNetwork data type. | |
| ToString |
Returns a string representation of the flow network.
This method takes time proportional to E + V. (Overrides ObjectToString.) |