documentationfor yFiles for HTML 2.6

NetworkFlowAlgorithm

This class provides sophisticated algorithms for solving classical network flow problems.

Inheritance Hierarchy
NetworkFlowAlgorithm

Remarks

Note: Methods of this class work with instances of Graph. To solve flow problems on IGraph instances use MaximumFlow or MinimumCostFlow instead.

Definitions

  • Maximum flow problem: – Given a directed graph in which each edge has a capacity and given a source node s and a sink node t, find a flow of maximum value from s to t.
  • Minimum cut problem: – Given a directed graph in which each edge has a capacity and given a source node s and a sink node t, find an s-t cut of minimum capacity (i.e., a set of edges of minimum capacity whose removal would disconnect t from s).
  • Minimum cost flow problem: – Given a directed graph in which each edge has a cost and a capacity and each node has a supply or demand, find a flow of minimum total cost that satisfies the edge capacities and the node balances.
  • Minimum cost maximum flow problem: – Given a directed graph in which each edge has a cost and a capacity and given a source node s and a sink node t, find a flow of maximum value from s to t that has the minimum total cost.

Type Details

yfiles module
algorithms
yfiles-umd modules
All layout modules, view-layout-bridge
Legacy UMD name
yfiles.algorithms.NetworkFlows

Static Methods