Click or drag to resize
FlowNetwork Methods

The FlowNetwork type exposes the following members.

Methods
  NameDescription
Public methodAddEdge
Adds the edge e to the network.
Public methodAdj
Returns the edges incident on vertex v (includes both edges pointing to and from v).
Public methodEdges
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()).
Public methodStatic memberMainTest
Demo test the FlowNetwork data type.
Public methodToString
Returns a string representation of the flow network. This method takes time proportional to E + V.
(Overrides ObjectToString.)
Top
See Also