OptimumFlowData

OptimumFlowData[...]
represents flow data such as generated by FindMaximumFlow, FindMinimumCostFlow, etc.

DetailsDetails

  • An OptimumFlowData[...] object ofd can be used to retrieve additional data and reports through ofd["property"].
  • A list of available properties is given by ofd["Properties"]. Additional information about the properties is listed on the pages for functions such as FindMaximumFlow and FindMinimumCostFlow.
  • Typical properties include:
  • "EdgeList"list of edges contributing to the flow
    "FlowGraph"graph of vertices and edges contributing to the flow
    "FlowMatrix"matrix of edge flows between pair of vertices
    "FlowTable"formatted table of edge flows
    "FlowValue"value of the flow
    "VertexList"list of vertices contributing to the flow

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

Create an OptimumFlowData object using FindMaximumFlow:

In[1]:=
Click for copyable input
Out[1]=

Obtain a list of properties:

In[2]:=
Click for copyable input
Out[2]=

Extract a property:

In[3]:=
Click for copyable input
Out[3]=
New in 9
New to Mathematica? Find your learning path »
Have a question? Ask support »