OptimumFlowData

OptimumFlowData[]

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

Details

  • 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

Examples

open allclose all

Basic Examples  (1)

Create an OptimumFlowData object using FindMaximumFlow:

Obtain a list of properties:

Extract a property:

Scope  (5)

Extract a single property:

Build up a table of edge flows:

Build the flow matrix:

Highlight a flow:

Determine the flow value:

Extract any number of properties simultaneously:

Wolfram Research (2012), OptimumFlowData, Wolfram Language function, https://reference.wolfram.com/language/ref/OptimumFlowData.html.

Text

Wolfram Research (2012), OptimumFlowData, Wolfram Language function, https://reference.wolfram.com/language/ref/OptimumFlowData.html.

CMS

Wolfram Language. 2012. "OptimumFlowData." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/OptimumFlowData.html.

APA

Wolfram Language. (2012). OptimumFlowData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/OptimumFlowData.html

BibTeX

@misc{reference.wolfram_2024_optimumflowdata, author="Wolfram Research", title="{OptimumFlowData}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/OptimumFlowData.html}", note=[Accessed: 22-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_optimumflowdata, organization={Wolfram Research}, title={OptimumFlowData}, year={2012}, url={https://reference.wolfram.com/language/ref/OptimumFlowData.html}, note=[Accessed: 22-December-2024 ]}