Click or drag to resize
EdgeWeightedDigraph Methods

The EdgeWeightedDigraph type exposes the following members.

Methods
  NameDescription
Public methodAddEdge
Adds the directed edge e to this edge-weighted digraph.
Public methodAdj
Returns the directed edges incident from vertex v.
Public methodEdges
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()).
Public methodIndegree
Returns the number of directed edges incident to vertex v. This is known as the Indegree of vertex v.
Public methodStatic memberMainTest
Demo test the EdgeWeightedDigraph data type.
Public methodOutdegree
Returns the number of directed edges incident from vertex v. This is known as the Outdegree of vertex v.
Public methodToString
Returns a string representation of this edge-weighted digraph.
(Overrides ObjectToString.)
Top
See Also