| EdgeWeightedDigraph Methods |
The EdgeWeightedDigraph type exposes the following members.
| Name | Description | |
|---|---|---|
| AddEdge |
Adds the directed edge e to this edge-weighted digraph. | |
| Adj |
Returns the directed edges incident from vertex v. | |
| Edges |
Returns all directed edges in this edge-weighted digraph.
To iterate over the edges in this edge-weighted digraph, use foreach notation:
foreach (DirectedEdge e in G.Edges()). | |
| Indegree |
Returns the number of directed edges incident to vertex v.
This is known as the Indegree of vertex v. | |
| MainTest |
Demo test the EdgeWeightedDigraph data type. | |
| Outdegree |
Returns the number of directed edges incident from vertex v.
This is known as the Outdegree of vertex v. | |
| ToString |
Returns a string representation of this edge-weighted digraph. (Overrides ObjectToString.) |