EdgeWeightedDigraphEdges Method |
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()).
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic IEnumerable<DirectedEdge> Edges()
Return Value
Type:
IEnumerableDirectedEdgeall edges in this edge-weighted digraph, as an iterable
See Also