EdgeWeightedGraphEdges Method |
Returns all edges in this edge-weighted graph.
To iterate over the edges in this edge-weighted graph, use foreach notation:
foreach (Edge e in G.Edges()).
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic IEnumerable<Edge> Edges()
Return Value
Type:
IEnumerableEdgeall edges in this edge-weighted graph, as an iterable
See Also